7#include <aws/savingsplans/SavingsPlans_EXPORTS.h>
8#include <aws/savingsplans/SavingsPlansRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
46 inline void SetSavingsPlanOfferingId(
const char* value) { m_savingsPlanOfferingIdHasBeenSet =
true; m_savingsPlanOfferingId.assign(value); }
62 inline void SetCommitment(
const char* value) { m_commitmentHasBeenSet =
true; m_commitment.assign(value); }
78 inline void SetUpfrontPaymentAmount(
const char* value) { m_upfrontPaymentAmountHasBeenSet =
true; m_upfrontPaymentAmount.assign(value); }
106 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
133 bool m_savingsPlanOfferingIdHasBeenSet =
false;
136 bool m_commitmentHasBeenSet =
false;
139 bool m_upfrontPaymentAmountHasBeenSet =
false;
142 bool m_purchaseTimeHasBeenSet =
false;
145 bool m_clientTokenHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
CreateSavingsPlanRequest & WithPurchaseTime(Aws::Utils::DateTime &&value)
CreateSavingsPlanRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetPurchaseTime(Aws::Utils::DateTime &&value)
void SetClientToken(Aws::String &&value)
CreateSavingsPlanRequest & WithSavingsPlanOfferingId(Aws::String &&value)
bool TagsHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SAVINGSPLANS_API Aws::String SerializePayload() const override
bool CommitmentHasBeenSet() const
CreateSavingsPlanRequest & AddTags(Aws::String &&key, const char *value)
void SetSavingsPlanOfferingId(Aws::String &&value)
void SetCommitment(const char *value)
CreateSavingsPlanRequest & WithCommitment(const Aws::String &value)
const Aws::String & GetClientToken() const
CreateSavingsPlanRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_SAVINGSPLANS_API CreateSavingsPlanRequest()
void SetUpfrontPaymentAmount(const char *value)
void SetCommitment(const Aws::String &value)
CreateSavingsPlanRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
CreateSavingsPlanRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetCommitment() const
CreateSavingsPlanRequest & WithPurchaseTime(const Aws::Utils::DateTime &value)
void SetSavingsPlanOfferingId(const char *value)
virtual const char * GetServiceRequestName() const override
CreateSavingsPlanRequest & WithCommitment(Aws::String &&value)
void SetClientToken(const char *value)
CreateSavingsPlanRequest & WithClientToken(const char *value)
const Aws::Utils::DateTime & GetPurchaseTime() const
void SetCommitment(Aws::String &&value)
CreateSavingsPlanRequest & WithSavingsPlanOfferingId(const char *value)
CreateSavingsPlanRequest & WithCommitment(const char *value)
CreateSavingsPlanRequest & WithUpfrontPaymentAmount(const Aws::String &value)
bool PurchaseTimeHasBeenSet() const
void SetUpfrontPaymentAmount(const Aws::String &value)
void SetPurchaseTime(const Aws::Utils::DateTime &value)
CreateSavingsPlanRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetUpfrontPaymentAmount(Aws::String &&value)
CreateSavingsPlanRequest & WithUpfrontPaymentAmount(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSavingsPlanRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSavingsPlanRequest & WithSavingsPlanOfferingId(const Aws::String &value)
CreateSavingsPlanRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateSavingsPlanRequest & WithClientToken(Aws::String &&value)
bool SavingsPlanOfferingIdHasBeenSet() const
const Aws::String & GetUpfrontPaymentAmount() const
CreateSavingsPlanRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool UpfrontPaymentAmountHasBeenSet() const
const Aws::String & GetSavingsPlanOfferingId() const
CreateSavingsPlanRequest & WithUpfrontPaymentAmount(const char *value)
void SetSavingsPlanOfferingId(const Aws::String &value)
CreateSavingsPlanRequest & AddTags(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String