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>
42 template <
typename PolicyIdT = Aws::String>
44 m_policyIdHasBeenSet =
true;
45 m_policyId = std::forward<PolicyIdT>(value);
47 template <
typename PolicyIdT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
96 template <
typename ActionsT = Aws::Vector<GovernedAction>>
98 m_actionsHasBeenSet =
true;
99 m_actions = std::forward<ActionsT>(value);
101 template <
typename ActionsT = Aws::Vector<GovernedAction>>
107 m_actionsHasBeenSet =
true;
108 m_actions.push_back(value);
119 template <
typename AssetTypesT = Aws::Vector<AssetType>>
121 m_assetTypesHasBeenSet =
true;
122 m_assetTypes = std::forward<AssetTypesT>(value);
124 template <
typename AssetTypesT = Aws::Vector<AssetType>>
130 m_assetTypesHasBeenSet =
true;
131 m_assetTypes.push_back(value);
143 template <
typename ApplicableToT = ApplicableTo>
145 m_applicableToHasBeenSet =
true;
146 m_applicableTo = std::forward<ApplicableToT>(value);
148 template <
typename ApplicableToT = ApplicableTo>
161 template <
typename ApprovalGroupsT = Aws::Vector<Aws::String>>
163 m_approvalGroupsHasBeenSet =
true;
164 m_approvalGroups = std::forward<ApprovalGroupsT>(value);
166 template <
typename ApprovalGroupsT = Aws::Vector<Aws::String>>
171 template <
typename ApprovalGroupsT = Aws::String>
173 m_approvalGroupsHasBeenSet =
true;
174 m_approvalGroups.emplace_back(std::forward<ApprovalGroupsT>(value));
192 bool m_policyIdHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
195 bool m_actionsHasBeenSet =
false;
196 bool m_assetTypesHasBeenSet =
false;
197 bool m_applicableToHasBeenSet =
false;
198 bool m_approvalGroupsHasBeenSet =
false;
CreateApprovalPolicyRequest & AddAssetTypes(AssetType value)
void SetAssetTypes(AssetTypesT &&value)
void SetName(NameT &&value)
bool AssetTypesHasBeenSet() const
const Aws::Vector< Aws::String > & GetApprovalGroups() const
const Aws::Vector< GovernedAction > & GetActions() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
void SetApplicableTo(ApplicableToT &&value)
void SetActions(ActionsT &&value)
AWS_QUICKSIGHT_API CreateApprovalPolicyRequest()=default
void SetPolicyId(PolicyIdT &&value)
const Aws::String & GetDescription() const
bool PolicyIdHasBeenSet() const
CreateApprovalPolicyRequest & WithAssetTypes(AssetTypesT &&value)
void SetApprovalGroups(ApprovalGroupsT &&value)
const ApplicableTo & GetApplicableTo() const
bool ActionsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ApprovalGroupsHasBeenSet() const
CreateApprovalPolicyRequest & WithName(NameT &&value)
CreateApprovalPolicyRequest & AddApprovalGroups(ApprovalGroupsT &&value)
const Aws::Vector< AssetType > & GetAssetTypes() const
CreateApprovalPolicyRequest & WithApprovalGroups(ApprovalGroupsT &&value)
const Aws::String & GetPolicyId() const
CreateApprovalPolicyRequest & WithPolicyId(PolicyIdT &&value)
bool ApplicableToHasBeenSet() const
CreateApprovalPolicyRequest & AddActions(GovernedAction value)
const Aws::String & GetName() const
CreateApprovalPolicyRequest & WithDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
CreateApprovalPolicyRequest & WithApplicableTo(ApplicableToT &&value)
CreateApprovalPolicyRequest & WithActions(ActionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector