7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ApplicableTo.h>
12#include <aws/quicksight/model/AssetType.h>
13#include <aws/quicksight/model/GovernedAction.h>
41 template <
typename PolicyIdT = Aws::String>
43 m_policyIdHasBeenSet =
true;
44 m_policyId = std::forward<PolicyIdT>(value);
46 template <
typename PolicyIdT = Aws::String>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
95 template <
typename ActionsT = Aws::Vector<GovernedAction>>
97 m_actionsHasBeenSet =
true;
98 m_actions = std::forward<ActionsT>(value);
100 template <
typename ActionsT = Aws::Vector<GovernedAction>>
106 m_actionsHasBeenSet =
true;
107 m_actions.push_back(value);
118 template <
typename AssetTypesT = Aws::Vector<AssetType>>
120 m_assetTypesHasBeenSet =
true;
121 m_assetTypes = std::forward<AssetTypesT>(value);
123 template <
typename AssetTypesT = Aws::Vector<AssetType>>
129 m_assetTypesHasBeenSet =
true;
130 m_assetTypes.push_back(value);
142 template <
typename ApplicableToT = ApplicableTo>
144 m_applicableToHasBeenSet =
true;
145 m_applicableTo = std::forward<ApplicableToT>(value);
147 template <
typename ApplicableToT = ApplicableTo>
160 template <
typename ApprovalGroupsT = Aws::Vector<Aws::String>>
162 m_approvalGroupsHasBeenSet =
true;
163 m_approvalGroups = std::forward<ApprovalGroupsT>(value);
165 template <
typename ApprovalGroupsT = Aws::Vector<Aws::String>>
170 template <
typename ApprovalGroupsT = Aws::String>
172 m_approvalGroupsHasBeenSet =
true;
173 m_approvalGroups.emplace_back(std::forward<ApprovalGroupsT>(value));
191 bool m_policyIdHasBeenSet =
false;
192 bool m_nameHasBeenSet =
false;
193 bool m_descriptionHasBeenSet =
false;
194 bool m_actionsHasBeenSet =
false;
195 bool m_assetTypesHasBeenSet =
false;
196 bool m_applicableToHasBeenSet =
false;
197 bool m_approvalGroupsHasBeenSet =
false;
void SetApprovalGroups(ApprovalGroupsT &&value)
UpdateApprovalPolicyRequest & AddActions(GovernedAction value)
UpdateApprovalPolicyRequest & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetActions(ActionsT &&value)
bool ApprovalGroupsHasBeenSet() const
void SetPolicyId(PolicyIdT &&value)
void SetAssetTypes(AssetTypesT &&value)
const ApplicableTo & GetApplicableTo() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetApprovalGroups() const
const Aws::Vector< GovernedAction > & GetActions() const
UpdateApprovalPolicyRequest & WithDescription(DescriptionT &&value)
bool ApplicableToHasBeenSet() const
AWS_QUICKSIGHT_API UpdateApprovalPolicyRequest()=default
bool PolicyIdHasBeenSet() const
void SetApplicableTo(ApplicableToT &&value)
UpdateApprovalPolicyRequest & WithApprovalGroups(ApprovalGroupsT &&value)
bool DescriptionHasBeenSet() const
UpdateApprovalPolicyRequest & WithAssetTypes(AssetTypesT &&value)
bool AssetTypesHasBeenSet() const
UpdateApprovalPolicyRequest & WithApplicableTo(ApplicableToT &&value)
const Aws::String & GetPolicyId() const
UpdateApprovalPolicyRequest & WithActions(ActionsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< AssetType > & GetAssetTypes() const
UpdateApprovalPolicyRequest & AddAssetTypes(AssetType value)
bool ActionsHasBeenSet() const
UpdateApprovalPolicyRequest & WithPolicyId(PolicyIdT &&value)
UpdateApprovalPolicyRequest & AddApprovalGroups(ApprovalGroupsT &&value)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector