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/billingconductor/model/AccountGrouping.h>
11#include <aws/billingconductor/model/ComputationPreference.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
18namespace BillingConductor
48 template<
typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
50 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>
73 template<
typename AccountGroupingT = AccountGrouping>
74 void SetAccountGrouping(AccountGroupingT&& value) { m_accountGroupingHasBeenSet =
true; m_accountGrouping = std::forward<AccountGroupingT>(value); }
75 template<
typename AccountGroupingT = AccountGrouping>
86 template<
typename ComputationPreferenceT = ComputationPreference>
87 void SetComputationPreference(ComputationPreferenceT&& value) { m_computationPreferenceHasBeenSet =
true; m_computationPreference = std::forward<ComputationPreferenceT>(value); }
88 template<
typename ComputationPreferenceT = ComputationPreference>
98 template<
typename PrimaryAccountIdT = Aws::String>
99 void SetPrimaryAccountId(PrimaryAccountIdT&& value) { m_primaryAccountIdHasBeenSet =
true; m_primaryAccountId = std::forward<PrimaryAccountIdT>(value); }
100 template<
typename PrimaryAccountIdT = Aws::String>
110 template<
typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
112 template<
typename DescriptionT = Aws::String>
123 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
125 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
135 bool m_clientTokenHasBeenSet =
true;
138 bool m_nameHasBeenSet =
false;
140 AccountGrouping m_accountGrouping;
141 bool m_accountGroupingHasBeenSet =
false;
143 ComputationPreference m_computationPreference;
144 bool m_computationPreferenceHasBeenSet =
false;
147 bool m_primaryAccountIdHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
153 bool m_tagsHasBeenSet =
false;
CreateBillingGroupRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetComputationPreference(ComputationPreferenceT &&value)
bool DescriptionHasBeenSet() const
bool TagsHasBeenSet() const
CreateBillingGroupRequest & WithName(NameT &&value)
CreateBillingGroupRequest & WithComputationPreference(ComputationPreferenceT &&value)
bool ComputationPreferenceHasBeenSet() const
const ComputationPreference & GetComputationPreference() const
void SetName(NameT &&value)
CreateBillingGroupRequest & WithClientToken(ClientTokenT &&value)
AWS_BILLINGCONDUCTOR_API CreateBillingGroupRequest()=default
AWS_BILLINGCONDUCTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateBillingGroupRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetClientToken() const
CreateBillingGroupRequest & WithPrimaryAccountId(PrimaryAccountIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool ClientTokenHasBeenSet() const
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
CreateBillingGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const AccountGrouping & GetAccountGrouping() const
const Aws::String & GetPrimaryAccountId() const
void SetPrimaryAccountId(PrimaryAccountIdT &&value)
CreateBillingGroupRequest & WithAccountGrouping(AccountGroupingT &&value)
bool PrimaryAccountIdHasBeenSet() const
bool AccountGroupingHasBeenSet() const
const Aws::String & GetDescription() const
void SetAccountGrouping(AccountGroupingT &&value)
void SetClientToken(ClientTokenT &&value)
void SetTags(TagsT &&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