7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mpa/MPARequest.h>
10#include <aws/mpa/MPA_EXPORTS.h>
11#include <aws/mpa/model/ApprovalStrategy.h>
12#include <aws/mpa/model/ApprovalTeamRequestApprover.h>
41 template <
typename ApprovalStrategyT = ApprovalStrategy>
43 m_approvalStrategyHasBeenSet =
true;
44 m_approvalStrategy = std::forward<ApprovalStrategyT>(value);
46 template <
typename ApprovalStrategyT = ApprovalStrategy>
60 template <
typename ApproversT = Aws::Vector<ApprovalTeamRequestApprover>>
62 m_approversHasBeenSet =
true;
63 m_approvers = std::forward<ApproversT>(value);
65 template <
typename ApproversT = Aws::Vector<ApprovalTeamRequestApprover>>
70 template <
typename ApproversT = ApprovalTeamRequestApprover>
72 m_approversHasBeenSet =
true;
73 m_approvers.emplace_back(std::forward<ApproversT>(value));
84 template <
typename DescriptionT = Aws::String>
86 m_descriptionHasBeenSet =
true;
87 m_description = std::forward<DescriptionT>(value);
89 template <
typename DescriptionT = Aws::String>
102 template <
typename ArnT = Aws::String>
104 m_arnHasBeenSet =
true;
105 m_arn = std::forward<ArnT>(value);
107 template <
typename ArnT = Aws::String>
109 SetArn(std::forward<ArnT>(value));
121 bool m_approvalStrategyHasBeenSet =
false;
122 bool m_approversHasBeenSet =
false;
123 bool m_descriptionHasBeenSet =
false;
124 bool m_arnHasBeenSet =
false;
bool ApprovalStrategyHasBeenSet() const
const Aws::Vector< ApprovalTeamRequestApprover > & GetApprovers() const
bool ApproversHasBeenSet() const
UpdateApprovalTeamRequest & WithApprovers(ApproversT &&value)
UpdateApprovalTeamRequest & WithArn(ArnT &&value)
const ApprovalStrategy & GetApprovalStrategy() const
UpdateApprovalTeamRequest & WithApprovalStrategy(ApprovalStrategyT &&value)
AWS_MPA_API Aws::String SerializePayload() const override
void SetApprovalStrategy(ApprovalStrategyT &&value)
UpdateApprovalTeamRequest & AddApprovers(ApproversT &&value)
bool ArnHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
void SetDescription(DescriptionT &&value)
AWS_MPA_API UpdateApprovalTeamRequest()=default
void SetApprovers(ApproversT &&value)
virtual const char * GetServiceRequestName() const override
UpdateApprovalTeamRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector