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>
66 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
68 m_policyInputListHasBeenSet =
true;
69 m_policyInputList = std::forward<PolicyInputListT>(value);
71 template <
typename PolicyInputListT = Aws::Vector<Aws::String>>
76 template <
typename PolicyInputListT = Aws::String>
78 m_policyInputListHasBeenSet =
true;
79 m_policyInputList.emplace_back(std::forward<PolicyInputListT>(value));
110 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
112 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
113 m_permissionsBoundaryPolicyInputList = std::forward<PermissionsBoundaryPolicyInputListT>(value);
115 template <
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
120 template <
typename PermissionsBoundaryPolicyInputListT = Aws::String>
122 m_permissionsBoundaryPolicyInputListHasBeenSet =
true;
123 m_permissionsBoundaryPolicyInputList.emplace_back(std::forward<PermissionsBoundaryPolicyInputListT>(value));
137 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
139 m_actionNamesHasBeenSet =
true;
140 m_actionNames = std::forward<ActionNamesT>(value);
142 template <
typename ActionNamesT = Aws::Vector<Aws::String>>
147 template <
typename ActionNamesT = Aws::String>
149 m_actionNamesHasBeenSet =
true;
150 m_actionNames.emplace_back(std::forward<ActionNamesT>(value));
176 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
178 m_resourceArnsHasBeenSet =
true;
179 m_resourceArns = std::forward<ResourceArnsT>(value);
181 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
186 template <
typename ResourceArnsT = Aws::String>
188 m_resourceArnsHasBeenSet =
true;
189 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
216 template <
typename ResourcePolicyT = Aws::String>
218 m_resourcePolicyHasBeenSet =
true;
219 m_resourcePolicy = std::forward<ResourcePolicyT>(value);
221 template <
typename ResourcePolicyT = Aws::String>
247 template <
typename ResourceOwnerT = Aws::String>
249 m_resourceOwnerHasBeenSet =
true;
250 m_resourceOwner = std::forward<ResourceOwnerT>(value);
252 template <
typename ResourceOwnerT = Aws::String>
270 template <
typename CallerArnT = Aws::String>
272 m_callerArnHasBeenSet =
true;
273 m_callerArn = std::forward<CallerArnT>(value);
275 template <
typename CallerArnT = Aws::String>
290 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
292 m_contextEntriesHasBeenSet =
true;
293 m_contextEntries = std::forward<ContextEntriesT>(value);
295 template <
typename ContextEntriesT = Aws::Vector<ContextEntry>>
300 template <
typename ContextEntriesT = ContextEntry>
302 m_contextEntriesHasBeenSet =
true;
303 m_contextEntries.emplace_back(std::forward<ContextEntriesT>(value));
334 template <
typename ResourceHandlingOptionT = Aws::String>
336 m_resourceHandlingOptionHasBeenSet =
true;
337 m_resourceHandlingOption = std::forward<ResourceHandlingOptionT>(value);
339 template <
typename ResourceHandlingOptionT = Aws::String>
360 m_maxItemsHasBeenSet =
true;
378 template <
typename MarkerT = Aws::String>
380 m_markerHasBeenSet =
true;
381 m_marker = std::forward<MarkerT>(value);
383 template <
typename MarkerT = Aws::String>
411 bool m_policyInputListHasBeenSet =
false;
412 bool m_permissionsBoundaryPolicyInputListHasBeenSet =
false;
413 bool m_actionNamesHasBeenSet =
false;
414 bool m_resourceArnsHasBeenSet =
false;
415 bool m_resourcePolicyHasBeenSet =
false;
416 bool m_resourceOwnerHasBeenSet =
false;
417 bool m_callerArnHasBeenSet =
false;
418 bool m_contextEntriesHasBeenSet =
false;
419 bool m_resourceHandlingOptionHasBeenSet =
false;
420 bool m_maxItemsHasBeenSet =
false;
421 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 SetMaxItems(int value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
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 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)
void SetPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT &&value)
bool CallerArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ResourceOwnerHasBeenSet() const
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