Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <aws/core/client/AWSClient.h>
#include <aws/core/client/AWSClientAsyncCRTP.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/crt/cbor/Cbor.h>
#include <aws/core/utils/json/JsonSerializer.h>

namespace Aws {
namespace BCMPricingCalculator {
Expand All @@ -24,12 +24,12 @@ namespace BCMPricingCalculator {
* <code>https://bcm-pricing-calculator.us-east-1.api.aws</code> </p> </li> </ul>
*/
class AWS_BCMPRICINGCALCULATOR_API BCMPricingCalculatorClient
: public Aws::Client::AWSRpcV2CborClient,
: public Aws::Client::AWSJsonClient,
public Aws::Client::ClientWithAsyncTemplateMethods<BCMPricingCalculatorClient>,
public BCMPricingCalculatorPaginationBase<BCMPricingCalculatorClient>,
public BCMPricingCalculatorWaiter<BCMPricingCalculatorClient> {
public:
typedef Aws::Client::AWSRpcV2CborClient BASECLASS;
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* GetServiceName();
static const char* GetAllocationTag();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Aws {
namespace Client {

class AWS_BCMPRICINGCALCULATOR_API BCMPricingCalculatorErrorMarshaller : public Aws::Client::RpcV2ErrorMarshaller {
class AWS_BCMPRICINGCALCULATOR_API BCMPricingCalculatorErrorMarshaller : public Aws::Client::JsonErrorMarshaller {
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class AWS_BCMPRICINGCALCULATOR_API BCMPricingCalculatorRequest : public Aws::Ama
auto headers = GetRequestSpecificHeaders();

if (headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0)) {
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_JSON_CONTENT_TYPE_1_0));
}
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2024-06-19"));
return headers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
#pragma once
#include <aws/bcm-pricing-calculator/BCMPricingCalculator_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -28,9 +28,9 @@ namespace Model {
class AddReservedInstanceAction {
public:
AWS_BCMPRICINGCALCULATOR_API AddReservedInstanceAction() = default;
AWS_BCMPRICINGCALCULATOR_API AddReservedInstanceAction(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API AddReservedInstanceAction& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API AddReservedInstanceAction(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API AddReservedInstanceAction& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand All @@ -57,21 +57,21 @@ class AddReservedInstanceAction {
/**
* <p> The number of instances to add for this Reserved Instance offering. </p>
*/
inline int64_t GetInstanceCount() const { return m_instanceCount; }
inline int GetInstanceCount() const { return m_instanceCount; }
inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
inline void SetInstanceCount(int64_t value) {
inline void SetInstanceCount(int value) {
m_instanceCountHasBeenSet = true;
m_instanceCount = value;
}
inline AddReservedInstanceAction& WithInstanceCount(int64_t value) {
inline AddReservedInstanceAction& WithInstanceCount(int value) {
SetInstanceCount(value);
return *this;
}
///@}
private:
Aws::String m_reservedInstancesOfferingId;

int64_t m_instanceCount{0};
int m_instanceCount{0};
bool m_reservedInstancesOfferingIdHasBeenSet = false;
bool m_instanceCountHasBeenSet = false;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
#pragma once
#include <aws/bcm-pricing-calculator/BCMPricingCalculator_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -28,9 +28,9 @@ namespace Model {
class AddSavingsPlanAction {
public:
AWS_BCMPRICINGCALCULATOR_API AddSavingsPlanAction() = default;
AWS_BCMPRICINGCALCULATOR_API AddSavingsPlanAction(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API AddSavingsPlanAction& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API AddSavingsPlanAction(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API AddSavingsPlanAction& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
#include <aws/bcm-pricing-calculator/BCMPricingCalculator_EXPORTS.h>
#include <aws/bcm-pricing-calculator/model/BillScenarioCommitmentModificationAction.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -29,11 +29,9 @@ namespace Model {
class BatchCreateBillScenarioCommitmentModificationEntry {
public:
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationEntry() = default;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationEntry(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationEntry& operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationEntry(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
#include <aws/bcm-pricing-calculator/BCMPricingCalculator_EXPORTS.h>
#include <aws/bcm-pricing-calculator/model/BatchCreateBillScenarioCommitmentModificationErrorCode.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -29,11 +29,9 @@ namespace Model {
class BatchCreateBillScenarioCommitmentModificationError {
public:
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationError() = default;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationError(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationError& operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationError(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationError& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
#include <aws/bcm-pricing-calculator/BCMPricingCalculator_EXPORTS.h>
#include <aws/bcm-pricing-calculator/model/BillScenarioCommitmentModificationAction.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -29,11 +29,9 @@ namespace Model {
class BatchCreateBillScenarioCommitmentModificationItem {
public:
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationItem() = default;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationItem(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationItem& operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationItem(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationItem& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
#include <aws/core/http/HttpResponse.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
class BatchCreateBillScenarioCommitmentModificationResult {
public:
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationResult() = default;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationResult(
const Aws::AmazonWebServiceResult<Aws::Utils::Cbor::CborValue>& result);
const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioCommitmentModificationResult& operator=(
const Aws::AmazonWebServiceResult<Aws::Utils::Cbor::CborValue>& result);
const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);

///@{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
#include <aws/bcm-pricing-calculator/model/UsageAmount.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -31,10 +31,9 @@ namespace Model {
class BatchCreateBillScenarioUsageModificationEntry {
public:
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationEntry() = default;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationEntry(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationEntry& operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationEntry(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
#include <aws/bcm-pricing-calculator/BCMPricingCalculator_EXPORTS.h>
#include <aws/bcm-pricing-calculator/model/BatchCreateBillScenarioUsageModificationErrorCode.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -29,10 +29,9 @@ namespace Model {
class BatchCreateBillScenarioUsageModificationError {
public:
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationError() = default;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationError(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationError& operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationError(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationError& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
#include <aws/bcm-pricing-calculator/model/UsageQuantity.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/crt/cbor/Cbor.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Cbor {
class CborValue;
} // namespace Cbor
namespace Json {
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace BCMPricingCalculator {
namespace Model {
Expand All @@ -31,10 +31,9 @@ namespace Model {
class BatchCreateBillScenarioUsageModificationItem {
public:
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationItem() = default;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationItem(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationItem& operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
AWS_BCMPRICINGCALCULATOR_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationItem(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API BatchCreateBillScenarioUsageModificationItem& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_BCMPRICINGCALCULATOR_API Aws::Utils::Json::JsonValue Jsonize() const;

///@{
/**
Expand Down
Loading
Loading