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>
55 template <
typename PolicySourceArnT = Aws::String>
57 m_policySourceArnHasBeenSet =
true;
58 m_policySourceArn = std::forward<PolicySourceArnT>(value);
60 template <
typename PolicySourceArnT = Aws::String>
82 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
84 m_policyInputListHasBeenSet =
true;
85 m_policyInputList = std::forward<PolicyInputListT>(value);
87 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
92 template <
typename PolicyInputListT = Aws::String>
94 m_policyInputListHasBeenSet =
true;
95 m_policyInputList.emplace_back(std::forward<PolicyInputListT>(value));
130 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
132 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
133 m_permissionsBoundaryPolicyInputList = std::forward<PermissionsBoundaryPolicyInputListT>(value);
135 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
140 template <
typename PermissionsBoundaryPolicyInputListT = Aws::String>
142 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
143 m_permissionsBoundaryPolicyInputList.emplace_back(std::forward<PermissionsBoundaryPolicyInputListT>(value));
156 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
158 m_actionNamesHasBeenSet =
true;
159 m_actionNames = std::forward<ActionNamesT>(value);
161 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
166 template <
typename ActionNamesT = Aws::String>
168 m_actionNamesHasBeenSet =
true;
169 m_actionNames.emplace_back(std::forward<ActionNamesT>(value));
193 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
195 m_resourceArnsHasBeenSet =
true;
196 m_resourceArns = std::forward<ResourceArnsT>(value);
198 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
203 template <
typename ResourceArnsT = Aws::String>
205 m_resourceArnsHasBeenSet =
true;
206 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
233 template <
typename ResourcePolicyT = Aws::String>
235 m_resourcePolicyHasBeenSet =
true;
236 m_resourcePolicy = std::forward<ResourcePolicyT>(value);
238 template <
typename ResourcePolicyT = Aws::String>
261 template <
typename ResourceOwnerT = Aws::String>
263 m_resourceOwnerHasBeenSet =
true;
264 m_resourceOwner = std::forward<ResourceOwnerT>(value);
266 template <
typename ResourceOwnerT = Aws::String>
296 template <
typename CallerArnT = Aws::String>
298 m_callerArnHasBeenSet =
true;
299 m_callerArn = std::forward<CallerArnT>(value);
301 template <
typename CallerArnT = Aws::String>
316 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
318 m_contextEntriesHasBeenSet =
true;
319 m_contextEntries = std::forward<ContextEntriesT>(value);
321 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
326 template <
typename ContextEntriesT = ContextEntry>
328 m_contextEntriesHasBeenSet =
true;
329 m_contextEntries.emplace_back(std::forward<ContextEntriesT>(value));
360 template <
typename ResourceHandlingOptionT = Aws::String>
362 m_resourceHandlingOptionHasBeenSet =
true;
363 m_resourceHandlingOption = std::forward<ResourceHandlingOptionT>(value);
365 template <
typename ResourceHandlingOptionT = Aws::String>
386 m_maxItemsHasBeenSet =
true;
404 template <
typename MarkerT = Aws::String>
406 m_markerHasBeenSet =
true;
407 m_marker = std::forward<MarkerT>(value);
409 template <
typename MarkerT = Aws::String>
439 bool m_policySourceArnHasBeenSet =
false;
440 bool m_policyInputListHasBeenSet =
false;
441 bool m_permissionsBoundaryPolicyInputListHasBeenSet =
false;
442 bool m_actionNamesHasBeenSet =
false;
443 bool m_resourceArnsHasBeenSet =
false;
444 bool m_resourcePolicyHasBeenSet =
false;
445 bool m_resourceOwnerHasBeenSet =
false;
446 bool m_callerArnHasBeenSet =
false;
447 bool m_contextEntriesHasBeenSet =
false;
448 bool m_resourceHandlingOptionHasBeenSet =
false;
449 bool m_maxItemsHasBeenSet =
false;
450 bool m_markerHasBeenSet =
false;
SimulatePrincipalPolicyRequest & AddResourceArns(ResourceArnsT &&value)
const Aws::Vector< Aws::String > & GetPermissionsBoundaryPolicyInputList() const
bool ResourceOwnerHasBeenSet() const
const Aws::String & GetCallerArn() const
SimulatePrincipalPolicyRequest & WithMaxItems(int value)
AWS_IAM_API SimulatePrincipalPolicyRequest()=default
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)
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)
SimulatePrincipalPolicyRequest & WithMarker(MarkerT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
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