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>
13#include <aws/mpa/model/UpdateAction.h>
42 template <
typename ApprovalStrategyT = ApprovalStrategy>
44 m_approvalStrategyHasBeenSet =
true;
45 m_approvalStrategy = std::forward<ApprovalStrategyT>(value);
47 template <
typename ApprovalStrategyT = ApprovalStrategy>
61 template <
typename ApproversT = Aws::Vector<ApprovalTeamRequestApprover>>
63 m_approversHasBeenSet =
true;
64 m_approvers = std::forward<ApproversT>(value);
66 template <
typename ApproversT = Aws::Vector<ApprovalTeamRequestApprover>>
71 template <
typename ApproversT = ApprovalTeamRequestApprover>
73 m_approversHasBeenSet =
true;
74 m_approvers.emplace_back(std::forward<ApproversT>(value));
85 template <
typename DescriptionT = Aws::String>
87 m_descriptionHasBeenSet =
true;
88 m_description = std::forward<DescriptionT>(value);
90 template <
typename DescriptionT = Aws::String>
103 template <
typename ArnT = Aws::String>
105 m_arnHasBeenSet =
true;
106 m_arn = std::forward<ArnT>(value);
108 template <
typename ArnT = Aws::String>
110 SetArn(std::forward<ArnT>(value));
121 template <
typename UpdateActionsT = Aws::Vector<UpdateAction>>
123 m_updateActionsHasBeenSet =
true;
124 m_updateActions = std::forward<UpdateActionsT>(value);
126 template <
typename UpdateActionsT = Aws::Vector<UpdateAction>>
132 m_updateActionsHasBeenSet =
true;
133 m_updateActions.push_back(value);
147 bool m_approvalStrategyHasBeenSet =
false;
148 bool m_approversHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_arnHasBeenSet =
false;
151 bool m_updateActionsHasBeenSet =
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
const Aws::Vector< UpdateAction > & GetUpdateActions() const
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 SetUpdateActions(UpdateActionsT &&value)
void SetDescription(DescriptionT &&value)
AWS_MPA_API UpdateApprovalTeamRequest()=default
void SetApprovers(ApproversT &&value)
virtual const char * GetServiceRequestName() const override
UpdateApprovalTeamRequest & AddUpdateActions(UpdateAction value)
UpdateApprovalTeamRequest & WithDescription(DescriptionT &&value)
UpdateApprovalTeamRequest & WithUpdateActions(UpdateActionsT &&value)
bool UpdateActionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector