7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iam/model/ContextEntry.h>
70 template<
typename PolicyInputListT = Aws::Vector<Aws::String>>
71 void SetPolicyInputList(PolicyInputListT&& value) { m_policyInputListHasBeenSet =
true; m_policyInputList = std::forward<PolicyInputListT>(value); }
72 template<
typename PolicyInputListT = Aws::Vector<Aws::String>>
74 template<
typename PolicyInputListT = Aws::String>
104 template<
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
105 void SetPermissionsBoundaryPolicyInputList(PermissionsBoundaryPolicyInputListT&& value) { m_permissionsBoundaryPolicyInputListHasBeenSet =
true; m_permissionsBoundaryPolicyInputList = std::forward<PermissionsBoundaryPolicyInputListT>(value); }
106 template<
typename PermissionsBoundaryPolicyInputListT = Aws::Vector<Aws::String>>
108 template<
typename PermissionsBoundaryPolicyInputListT = Aws::String>
121 template<
typename ActionNamesT = Aws::Vector<Aws::String>>
122 void SetActionNames(ActionNamesT&& value) { m_actionNamesHasBeenSet =
true; m_actionNames = std::forward<ActionNamesT>(value); }
123 template<
typename ActionNamesT = Aws::Vector<Aws::String>>
125 template<
typename ActionNamesT = Aws::String>
150 template<
typename ResourceArnsT = Aws::Vector<Aws::String>>
151 void SetResourceArns(ResourceArnsT&& value) { m_resourceArnsHasBeenSet =
true; m_resourceArns = std::forward<ResourceArnsT>(value); }
152 template<
typename ResourceArnsT = Aws::Vector<Aws::String>>
154 template<
typename ResourceArnsT = Aws::String>
180 template<
typename ResourcePolicyT = Aws::String>
181 void SetResourcePolicy(ResourcePolicyT&& value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy = std::forward<ResourcePolicyT>(value); }
182 template<
typename ResourcePolicyT = Aws::String>
205 template<
typename ResourceOwnerT = Aws::String>
206 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
207 template<
typename ResourceOwnerT = Aws::String>
222 template<
typename CallerArnT = Aws::String>
223 void SetCallerArn(CallerArnT&& value) { m_callerArnHasBeenSet =
true; m_callerArn = std::forward<CallerArnT>(value); }
224 template<
typename CallerArnT = Aws::String>
236 template<
typename ContextEntriesT = Aws::Vector<ContextEntry>>
237 void SetContextEntries(ContextEntriesT&& value) { m_contextEntriesHasBeenSet =
true; m_contextEntries = std::forward<ContextEntriesT>(value); }
238 template<
typename ContextEntriesT = Aws::Vector<ContextEntry>>
240 template<
typename ContextEntriesT = ContextEntry>
270 template<
typename ResourceHandlingOptionT = Aws::String>
271 void SetResourceHandlingOption(ResourceHandlingOptionT&& value) { m_resourceHandlingOptionHasBeenSet =
true; m_resourceHandlingOption = std::forward<ResourceHandlingOptionT>(value); }
272 template<
typename ResourceHandlingOptionT = Aws::String>
289 inline void SetMaxItems(
int value) { m_maxItemsHasBeenSet =
true; m_maxItems = value; }
302 template<
typename MarkerT = Aws::String>
303 void SetMarker(MarkerT&& value) { m_markerHasBeenSet =
true; m_marker = std::forward<MarkerT>(value); }
304 template<
typename MarkerT = Aws::String>
310 bool m_policyInputListHasBeenSet =
false;
313 bool m_permissionsBoundaryPolicyInputListHasBeenSet =
false;
316 bool m_actionNamesHasBeenSet =
false;
319 bool m_resourceArnsHasBeenSet =
false;
322 bool m_resourcePolicyHasBeenSet =
false;
325 bool m_resourceOwnerHasBeenSet =
false;
328 bool m_callerArnHasBeenSet =
false;
331 bool m_contextEntriesHasBeenSet =
false;
334 bool m_resourceHandlingOptionHasBeenSet =
false;
337 bool m_maxItemsHasBeenSet =
false;
340 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