7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/BillingConductorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
17namespace BillingConductor
47 template<
typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
49 template<
typename ClientTokenT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
74 template<
typename DescriptionT = Aws::String>
85 template<
typename PricingRuleArnsT = Aws::Vector<Aws::String>>
86 void SetPricingRuleArns(PricingRuleArnsT&& value) { m_pricingRuleArnsHasBeenSet =
true; m_pricingRuleArns = std::forward<PricingRuleArnsT>(value); }
87 template<
typename PricingRuleArnsT = Aws::Vector<Aws::String>>
89 template<
typename PricingRuleArnsT = Aws::String>
100 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
102 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
106 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
112 bool m_clientTokenHasBeenSet =
true;
115 bool m_nameHasBeenSet =
false;
118 bool m_descriptionHasBeenSet =
false;
121 bool m_pricingRuleArnsHasBeenSet =
false;
124 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
bool ClientTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetPricingRuleArns() const
CreatePricingPlanRequest & WithClientToken(ClientTokenT &&value)
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
AWS_BILLINGCONDUCTOR_API CreatePricingPlanRequest()=default
CreatePricingPlanRequest & WithTags(TagsT &&value)
CreatePricingPlanRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePricingPlanRequest & WithName(NameT &&value)
void SetClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
CreatePricingPlanRequest & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
void SetPricingRuleArns(PricingRuleArnsT &&value)
CreatePricingPlanRequest & WithPricingRuleArns(PricingRuleArnsT &&value)
AWS_BILLINGCONDUCTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
bool PricingRuleArnsHasBeenSet() const
const Aws::String & GetDescription() const
CreatePricingPlanRequest & AddPricingRuleArns(PricingRuleArnsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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
std::vector< T, Aws::Allocator< T > > Vector