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/PolicyIdentifier.h>
56 template <
typename PolicySourceArnT = Aws::String>
58 m_policySourceArnHasBeenSet =
true;
59 m_policySourceArn = std::forward<PolicySourceArnT>(value);
61 template <
typename PolicySourceArnT = Aws::String>
83 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
85 m_policyInputListHasBeenSet =
true;
86 m_policyInputList = std::forward<PolicyInputListT>(value);
88 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
93 template <
typename PolicyInputListT = Aws::String>
95 m_policyInputListHasBeenSet =
true;
96 m_policyInputList.emplace_back(std::forward<PolicyInputListT>(value));
131 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
133 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
134 m_permissionsBoundaryPolicyInputList = std::forward<PermissionsBoundaryPolicyInputListT>(value);
136 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
141 template <
typename PermissionsBoundaryPolicyInputListT = Aws::String>
143 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
144 m_permissionsBoundaryPolicyInputList.emplace_back(std::forward<PermissionsBoundaryPolicyInputListT>(value));
166 template <
typename PolicyExclusionListT = Aws::Vector<PolicyIdentifier>>
168 m_policyExclusionListHasBeenSet =
true;
169 m_policyExclusionList = std::forward<PolicyExclusionListT>(value);
171 template <
typename PolicyExclusionListT = Aws::Vector<PolicyIdentifier>>
176 template <
typename PolicyExclusionListT = PolicyIdentifier>
178 m_policyExclusionListHasBeenSet =
true;
179 m_policyExclusionList.emplace_back(std::forward<PolicyExclusionListT>(value));
192 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
194 m_actionNamesHasBeenSet =
true;
195 m_actionNames = std::forward<ActionNamesT>(value);
197 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
202 template <
typename ActionNamesT = Aws::String>
204 m_actionNamesHasBeenSet =
true;
205 m_actionNames.emplace_back(std::forward<ActionNamesT>(value));
229 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
231 m_resourceArnsHasBeenSet =
true;
232 m_resourceArns = std::forward<ResourceArnsT>(value);
234 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
239 template <
typename ResourceArnsT = Aws::String>
241 m_resourceArnsHasBeenSet =
true;
242 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
269 template <
typename ResourcePolicyT = Aws::String>
271 m_resourcePolicyHasBeenSet =
true;
272 m_resourcePolicy = std::forward<ResourcePolicyT>(value);
274 template <
typename ResourcePolicyT = Aws::String>
297 template <
typename ResourceOwnerT = Aws::String>
299 m_resourceOwnerHasBeenSet =
true;
300 m_resourceOwner = std::forward<ResourceOwnerT>(value);
302 template <
typename ResourceOwnerT = Aws::String>
332 template <
typename CallerArnT = Aws::String>
334 m_callerArnHasBeenSet =
true;
335 m_callerArn = std::forward<CallerArnT>(value);
337 template <
typename CallerArnT = Aws::String>
352 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
354 m_contextEntriesHasBeenSet =
true;
355 m_contextEntries = std::forward<ContextEntriesT>(value);
357 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
362 template <
typename ContextEntriesT = ContextEntry>
364 m_contextEntriesHasBeenSet =
true;
365 m_contextEntries.emplace_back(std::forward<ContextEntriesT>(value));
396 template <
typename ResourceHandlingOptionT = Aws::String>
398 m_resourceHandlingOptionHasBeenSet =
true;
399 m_resourceHandlingOption = std::forward<ResourceHandlingOptionT>(value);
401 template <
typename ResourceHandlingOptionT = Aws::String>
422 m_maxItemsHasBeenSet =
true;
440 template <
typename MarkerT = Aws::String>
442 m_markerHasBeenSet =
true;
443 m_marker = std::forward<MarkerT>(value);
445 template <
typename MarkerT = Aws::String>
477 bool m_policySourceArnHasBeenSet =
false;
478 bool m_policyInputListHasBeenSet =
false;
479 bool m_permissionsBoundaryPolicyInputListHasBeenSet =
false;
480 bool m_policyExclusionListHasBeenSet =
false;
481 bool m_actionNamesHasBeenSet =
false;
482 bool m_resourceArnsHasBeenSet =
false;
483 bool m_resourcePolicyHasBeenSet =
false;
484 bool m_resourceOwnerHasBeenSet =
false;
485 bool m_callerArnHasBeenSet =
false;
486 bool m_contextEntriesHasBeenSet =
false;
487 bool m_resourceHandlingOptionHasBeenSet =
false;
488 bool m_maxItemsHasBeenSet =
false;
489 bool m_markerHasBeenSet =
false;
SimulatePrincipalPolicyRequest & AddResourceArns(ResourceArnsT &&value)
const Aws::Vector< Aws::String > & GetPermissionsBoundaryPolicyInputList() const
bool ResourceOwnerHasBeenSet() const
const Aws::String & GetCallerArn() const
SimulatePrincipalPolicyRequest & WithPolicyExclusionList(PolicyExclusionListT &&value)
SimulatePrincipalPolicyRequest & WithMaxItems(int value)
AWS_IAM_API SimulatePrincipalPolicyRequest()=default
SimulatePrincipalPolicyRequest & AddPolicyExclusionList(PolicyExclusionListT &&value)
void SetResourceOwner(ResourceOwnerT &&value)
const Aws::Vector< Aws::String > & GetResourceArns() const
bool ResourceHandlingOptionHasBeenSet() const
SimulatePrincipalPolicyRequest & WithPolicyInputList(PolicyInputListT &&value)
bool ResourceArnsHasBeenSet() const
SimulatePrincipalPolicyRequest & WithCallerArn(CallerArnT &&value)
void SetMaxItems(int value)
bool PolicyExclusionListHasBeenSet() const
void SetPolicySourceArn(PolicySourceArnT &&value)
void SetPolicyInputList(PolicyInputListT &&value)
const Aws::String & GetResourcePolicy() const
bool PermissionsBoundaryPolicyInputListHasBeenSet() const
SimulatePrincipalPolicyRequest & WithResourceHandlingOption(ResourceHandlingOptionT &&value)
bool ContextEntriesHasBeenSet() const
void SetResourceArns(ResourceArnsT &&value)
SimulatePrincipalPolicyRequest & WithContextEntries(ContextEntriesT &&value)
void SetResourcePolicy(ResourcePolicyT &&value)
SimulatePrincipalPolicyRequest & WithPolicySourceArn(PolicySourceArnT &&value)
virtual const char * GetServiceRequestName() const override
SimulatePrincipalPolicyRequest & AddActionNames(ActionNamesT &&value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT &&value)
const Aws::String & GetPolicySourceArn() const
bool MaxItemsHasBeenSet() const
const Aws::Vector< ContextEntry > & GetContextEntries() const
SimulatePrincipalPolicyRequest & AddPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT &&value)
void SetCallerArn(CallerArnT &&value)
SimulatePrincipalPolicyRequest & AddContextEntries(ContextEntriesT &&value)
const Aws::String & GetResourceHandlingOption() const
bool ActionNamesHasBeenSet() const
SimulatePrincipalPolicyRequest & WithPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT &&value)
SimulatePrincipalPolicyRequest & WithResourcePolicy(ResourcePolicyT &&value)
const Aws::String & GetResourceOwner() const
const Aws::Vector< Aws::String > & GetActionNames() const
void SetResourceHandlingOption(ResourceHandlingOptionT &&value)
SimulatePrincipalPolicyRequest & WithResourceOwner(ResourceOwnerT &&value)
SimulatePrincipalPolicyRequest & WithActionNames(ActionNamesT &&value)
void SetActionNames(ActionNamesT &&value)
const Aws::Vector< Aws::String > & GetPolicyInputList() const
bool CallerArnHasBeenSet() const
void SetMarker(MarkerT &&value)
SimulatePrincipalPolicyRequest & WithResourceArns(ResourceArnsT &&value)
bool ResourcePolicyHasBeenSet() const
bool PolicySourceArnHasBeenSet() const
bool MarkerHasBeenSet() const
const Aws::String & GetMarker() const
void SetContextEntries(ContextEntriesT &&value)
const Aws::Vector< PolicyIdentifier > & GetPolicyExclusionList() const
SimulatePrincipalPolicyRequest & WithMarker(MarkerT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
void SetPolicyExclusionList(PolicyExclusionListT &&value)
SimulatePrincipalPolicyRequest & AddPolicyInputList(PolicyInputListT &&value)
bool PolicyInputListHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector