7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iam/IAMRequest.h>
10#include <aws/iam/IAM_EXPORTS.h>
11#include <aws/iam/model/ContextEntry.h>
12#include <aws/iam/model/OrderedOrganizationPolicyType.h>
67 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
69 m_policyInputListHasBeenSet =
true;
70 m_policyInputList = std::forward<PolicyInputListT>(value);
72 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
77 template <
typename PolicyInputListT = Aws::String>
79 m_policyInputListHasBeenSet =
true;
80 m_policyInputList.emplace_back(std::forward<PolicyInputListT>(value));
111 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
113 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
114 m_permissionsBoundaryPolicyInputList = std::forward<PermissionsBoundaryPolicyInputListT>(value);
116 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
121 template <
typename PermissionsBoundaryPolicyInputListT = Aws::String>
123 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
124 m_permissionsBoundaryPolicyInputList.emplace_back(std::forward<PermissionsBoundaryPolicyInputListT>(value));
142 return m_orderedOrganizationPolicyInputList;
145 template <
typename OrderedOrganizationPolicyInputListT = Aws::Vector<OrderedOrganizationPolicyType>>
147 m_orderedOrganizationPolicyInputListHasBeenSet =
true;
148 m_orderedOrganizationPolicyInputList = std::forward<OrderedOrganizationPolicyInputListT>(value);
150 template <
typename OrderedOrganizationPolicyInputListT = Aws::Vector<OrderedOrganizationPolicyType>>
155 template <
typename OrderedOrganizationPolicyInputListT = OrderedOrganizationPolicyType>
157 m_orderedOrganizationPolicyInputListHasBeenSet =
true;
158 m_orderedOrganizationPolicyInputList.emplace_back(std::forward<OrderedOrganizationPolicyInputListT>(value));
172 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
174 m_actionNamesHasBeenSet =
true;
175 m_actionNames = std::forward<ActionNamesT>(value);
177 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
182 template <
typename ActionNamesT = Aws::String>
184 m_actionNamesHasBeenSet =
true;
185 m_actionNames.emplace_back(std::forward<ActionNamesT>(value));
211 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
213 m_resourceArnsHasBeenSet =
true;
214 m_resourceArns = std::forward<ResourceArnsT>(value);
216 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
221 template <
typename ResourceArnsT = Aws::String>
223 m_resourceArnsHasBeenSet =
true;
224 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
251 template <
typename ResourcePolicyT = Aws::String>
253 m_resourcePolicyHasBeenSet =
true;
254 m_resourcePolicy = std::forward<ResourcePolicyT>(value);
256 template <
typename ResourcePolicyT = Aws::String>
282 template <
typename ResourceOwnerT = Aws::String>
284 m_resourceOwnerHasBeenSet =
true;
285 m_resourceOwner = std::forward<ResourceOwnerT>(value);
287 template <
typename ResourceOwnerT = Aws::String>
304 template <
typename CallerArnT = Aws::String>
306 m_callerArnHasBeenSet =
true;
307 m_callerArn = std::forward<CallerArnT>(value);
309 template <
typename CallerArnT = Aws::String>
324 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
326 m_contextEntriesHasBeenSet =
true;
327 m_contextEntries = std::forward<ContextEntriesT>(value);
329 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
334 template <
typename ContextEntriesT = ContextEntry>
336 m_contextEntriesHasBeenSet =
true;
337 m_contextEntries.emplace_back(std::forward<ContextEntriesT>(value));
368 template <
typename ResourceHandlingOptionT = Aws::String>
370 m_resourceHandlingOptionHasBeenSet =
true;
371 m_resourceHandlingOption = std::forward<ResourceHandlingOptionT>(value);
373 template <
typename ResourceHandlingOptionT = Aws::String>
394 m_maxItemsHasBeenSet =
true;
412 template <
typename MarkerT = Aws::String>
414 m_markerHasBeenSet =
true;
415 m_marker = std::forward<MarkerT>(value);
417 template <
typename MarkerT = Aws::String>
447 bool m_policyInputListHasBeenSet =
false;
448 bool m_permissionsBoundaryPolicyInputListHasBeenSet =
false;
449 bool m_orderedOrganizationPolicyInputListHasBeenSet =
false;
450 bool m_actionNamesHasBeenSet =
false;
451 bool m_resourceArnsHasBeenSet =
false;
452 bool m_resourcePolicyHasBeenSet =
false;
453 bool m_resourceOwnerHasBeenSet =
false;
454 bool m_callerArnHasBeenSet =
false;
455 bool m_contextEntriesHasBeenSet =
false;
456 bool m_resourceHandlingOptionHasBeenSet =
false;
457 bool m_maxItemsHasBeenSet =
false;
458 bool m_markerHasBeenSet =
false;
SimulateCustomPolicyRequest & AddActionNames(ActionNamesT &&value)
const Aws::String & GetResourcePolicy() const
SimulateCustomPolicyRequest & AddResourceArns(ResourceArnsT &&value)
void SetResourceOwner(ResourceOwnerT &&value)
const Aws::String & GetResourceHandlingOption() const
void SetActionNames(ActionNamesT &&value)
void SetMarker(MarkerT &&value)
bool PolicyInputListHasBeenSet() const
const Aws::Vector< Aws::String > & GetPermissionsBoundaryPolicyInputList() const
SimulateCustomPolicyRequest & WithContextEntries(ContextEntriesT &&value)
SimulateCustomPolicyRequest & WithResourceHandlingOption(ResourceHandlingOptionT &&value)
SimulateCustomPolicyRequest & AddPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT &&value)
const Aws::String & GetMarker() const
void SetCallerArn(CallerArnT &&value)
void SetOrderedOrganizationPolicyInputList(OrderedOrganizationPolicyInputListT &&value)
void SetMaxItems(int value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SimulateCustomPolicyRequest & AddOrderedOrganizationPolicyInputList(OrderedOrganizationPolicyInputListT &&value)
AWS_IAM_API SimulateCustomPolicyRequest()=default
AWS_IAM_API Aws::String SerializePayload() const override
SimulateCustomPolicyRequest & WithResourcePolicy(ResourcePolicyT &&value)
void SetResourceHandlingOption(ResourceHandlingOptionT &&value)
SimulateCustomPolicyRequest & WithActionNames(ActionNamesT &&value)
SimulateCustomPolicyRequest & WithPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT &&value)
SimulateCustomPolicyRequest & AddContextEntries(ContextEntriesT &&value)
const Aws::Vector< Aws::String > & GetResourceArns() const
SimulateCustomPolicyRequest & WithPolicyInputList(PolicyInputListT &&value)
const Aws::Vector< Aws::String > & GetPolicyInputList() const
bool ContextEntriesHasBeenSet() const
SimulateCustomPolicyRequest & WithResourceArns(ResourceArnsT &&value)
bool OrderedOrganizationPolicyInputListHasBeenSet() const
bool MarkerHasBeenSet() const
SimulateCustomPolicyRequest & WithCallerArn(CallerArnT &&value)
const Aws::Vector< Aws::String > & GetActionNames() const
bool MaxItemsHasBeenSet() const
void SetResourcePolicy(ResourcePolicyT &&value)
SimulateCustomPolicyRequest & WithMaxItems(int value)
void SetResourceArns(ResourceArnsT &&value)
bool ResourceArnsHasBeenSet() const
bool ResourceHandlingOptionHasBeenSet() const
void SetContextEntries(ContextEntriesT &&value)
void SetPolicyInputList(PolicyInputListT &&value)
const Aws::Vector< OrderedOrganizationPolicyType > & GetOrderedOrganizationPolicyInputList() const
void SetPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT &&value)
bool CallerArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ResourceOwnerHasBeenSet() const
SimulateCustomPolicyRequest & WithOrderedOrganizationPolicyInputList(OrderedOrganizationPolicyInputListT &&value)
const Aws::Vector< ContextEntry > & GetContextEntries() const
const Aws::String & GetCallerArn() const
bool PermissionsBoundaryPolicyInputListHasBeenSet() const
bool ActionNamesHasBeenSet() const
SimulateCustomPolicyRequest & WithResourceOwner(ResourceOwnerT &&value)
const Aws::String & GetResourceOwner() const
bool ResourcePolicyHasBeenSet() const
SimulateCustomPolicyRequest & WithMarker(MarkerT &&value)
SimulateCustomPolicyRequest & AddPolicyInputList(PolicyInputListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector