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>
52 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
76 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
110 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
127 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
155 bool m_policyNameHasBeenSet =
false;
158 bool m_pathHasBeenSet =
false;
161 bool m_policyDocumentHasBeenSet =
false;
164 bool m_descriptionHasBeenSet =
false;
167 bool m_tagsHasBeenSet =
false;
CreatePolicyRequest & WithPolicyName(Aws::String &&value)
void SetPolicyName(Aws::String &&value)
CreatePolicyRequest & WithPolicyDocument(const char *value)
CreatePolicyRequest & WithPolicyName(const Aws::String &value)
void SetPolicyDocument(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetPolicyName(const char *value)
void SetPath(Aws::String &&value)
void SetDescription(const char *value)
virtual const char * GetServiceRequestName() const override
CreatePolicyRequest & WithDescription(const Aws::String &value)
void SetPolicyDocument(const Aws::String &value)
CreatePolicyRequest & WithPath(const Aws::String &value)
void SetPath(const Aws::String &value)
AWS_IAM_API CreatePolicyRequest()
const Aws::String & GetPolicyName() const
bool TagsHasBeenSet() const
CreatePolicyRequest & WithPath(const char *value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetPolicyDocument() const
CreatePolicyRequest & WithDescription(Aws::String &&value)
CreatePolicyRequest & WithTags(Aws::Vector< Tag > &&value)
CreatePolicyRequest & WithTags(const Aws::Vector< Tag > &value)
bool PolicyNameHasBeenSet() const
const Aws::String & GetPath() const
void SetPolicyName(const Aws::String &value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
bool PathHasBeenSet() const
CreatePolicyRequest & WithPolicyName(const char *value)
CreatePolicyRequest & AddTags(const Tag &value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_IAM_API Aws::String SerializePayload() const override
void SetPolicyDocument(const char *value)
CreatePolicyRequest & WithPolicyDocument(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreatePolicyRequest & WithPolicyDocument(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetPath(const char *value)
CreatePolicyRequest & AddTags(Tag &&value)
bool PolicyDocumentHasBeenSet() const
CreatePolicyRequest & WithPath(Aws::String &&value)
CreatePolicyRequest & WithDescription(const char *value)
void SetDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector