7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iam/model/Tag.h>
50 template<
typename PolicyNameT = Aws::String>
51 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
52 template<
typename PolicyNameT = Aws::String>
72 template<
typename PathT = Aws::String>
73 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
74 template<
typename PathT = Aws::String>
104 template<
typename PolicyDocumentT = Aws::String>
105 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
106 template<
typename PolicyDocumentT = Aws::String>
119 template<
typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
121 template<
typename DescriptionT = Aws::String>
137 template<
typename TagsT = Aws::Vector<Tag>>
138 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
139 template<
typename TagsT = Aws::Vector<Tag>>
141 template<
typename TagsT = Tag>
147 bool m_policyNameHasBeenSet =
false;
150 bool m_pathHasBeenSet =
false;
153 bool m_policyDocumentHasBeenSet =
false;
156 bool m_descriptionHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
CreatePolicyRequest & WithDescription(DescriptionT &&value)
CreatePolicyRequest & WithPolicyDocument(PolicyDocumentT &&value)
void SetPolicyName(PolicyNameT &&value)
virtual const char * GetServiceRequestName() const override
CreatePolicyRequest & WithPath(PathT &&value)
CreatePolicyRequest & WithPolicyName(PolicyNameT &&value)
void SetPath(PathT &&value)
const Aws::String & GetPolicyName() const
bool TagsHasBeenSet() const
CreatePolicyRequest & WithTags(TagsT &&value)
AWS_IAM_API CreatePolicyRequest()=default
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetPolicyDocument() const
bool PolicyNameHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetPath() const
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
bool PathHasBeenSet() const
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_IAM_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
CreatePolicyRequest & AddTags(TagsT &&value)
bool PolicyDocumentHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector