7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mpa/MPARequest.h>
12#include <aws/mpa/MPA_EXPORTS.h>
13#include <aws/mpa/model/ApprovalStrategy.h>
14#include <aws/mpa/model/ApprovalTeamRequestApprover.h>
15#include <aws/mpa/model/PolicyReference.h>
57 template <
typename ClientTokenT = Aws::String>
59 m_clientTokenHasBeenSet =
true;
60 m_clientToken = std::forward<ClientTokenT>(value);
62 template <
typename ClientTokenT = Aws::String>
76 template <
typename ApprovalStrategyT = ApprovalStrategy>
78 m_approvalStrategyHasBeenSet =
true;
79 m_approvalStrategy = std::forward<ApprovalStrategyT>(value);
81 template <
typename ApprovalStrategyT = ApprovalStrategy>
95 template <
typename ApproversT = Aws::Vector<ApprovalTeamRequestApprover>>
97 m_approversHasBeenSet =
true;
98 m_approvers = std::forward<ApproversT>(value);
100 template <
typename ApproversT = Aws::Vector<ApprovalTeamRequestApprover>>
105 template <
typename ApproversT = ApprovalTeamRequestApprover>
107 m_approversHasBeenSet =
true;
108 m_approvers.emplace_back(std::forward<ApproversT>(value));
119 template <
typename DescriptionT = Aws::String>
121 m_descriptionHasBeenSet =
true;
122 m_description = std::forward<DescriptionT>(value);
124 template <
typename DescriptionT = Aws::String>
143 template <
typename PoliciesT = Aws::Vector<PolicyReference>>
145 m_policiesHasBeenSet =
true;
146 m_policies = std::forward<PoliciesT>(value);
148 template <
typename PoliciesT = Aws::Vector<PolicyReference>>
153 template <
typename PoliciesT = PolicyReference>
155 m_policiesHasBeenSet =
true;
156 m_policies.emplace_back(std::forward<PoliciesT>(value));
167 template <
typename NameT = Aws::String>
169 m_nameHasBeenSet =
true;
170 m_name = std::forward<NameT>(value);
172 template <
typename NameT = Aws::String>
174 SetName(std::forward<NameT>(value));
185 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
187 m_tagsHasBeenSet =
true;
188 m_tags = std::forward<TagsT>(value);
190 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 SetTags(std::forward<TagsT>(value));
195 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
197 m_tagsHasBeenSet =
true;
198 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
205 ApprovalStrategy m_approvalStrategy;
216 bool m_clientTokenHasBeenSet =
true;
217 bool m_approvalStrategyHasBeenSet =
false;
218 bool m_approversHasBeenSet =
false;
219 bool m_descriptionHasBeenSet =
false;
220 bool m_policiesHasBeenSet =
false;
221 bool m_nameHasBeenSet =
false;
222 bool m_tagsHasBeenSet =
false;
CreateApprovalTeamRequest & WithApprovalStrategy(ApprovalStrategyT &&value)
CreateApprovalTeamRequest & AddPolicies(PoliciesT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< PolicyReference > & GetPolicies() const
CreateApprovalTeamRequest & WithApprovers(ApproversT &&value)
AWS_MPA_API Aws::String SerializePayload() const override
CreateApprovalTeamRequest & WithPolicies(PoliciesT &&value)
bool PoliciesHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Vector< ApprovalTeamRequestApprover > & GetApprovers() const
CreateApprovalTeamRequest & AddApprovers(ApproversT &&value)
CreateApprovalTeamRequest & WithDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
CreateApprovalTeamRequest & WithClientToken(ClientTokenT &&value)
CreateApprovalTeamRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetName(NameT &&value)
void SetPolicies(PoliciesT &&value)
const ApprovalStrategy & GetApprovalStrategy() const
bool ApproversHasBeenSet() const
CreateApprovalTeamRequest & WithTags(TagsT &&value)
AWS_MPA_API CreateApprovalTeamRequest()=default
const Aws::String & GetName() const
void SetApprovers(ApproversT &&value)
CreateApprovalTeamRequest & WithName(NameT &&value)
void SetTags(TagsT &&value)
void SetApprovalStrategy(ApprovalStrategyT &&value)
virtual const char * GetServiceRequestName() const override
bool NameHasBeenSet() const
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
bool ApprovalStrategyHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
static Aws::Utils::UUID PseudoRandomUUID()
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