7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
82 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
100 inline void SetSetAsDefault(
bool value) { m_setAsDefaultHasBeenSet =
true; m_setAsDefault = value; }
106 bool m_policyArnHasBeenSet =
false;
109 bool m_policyDocumentHasBeenSet =
false;
112 bool m_setAsDefaultHasBeenSet =
false;
CreatePolicyVersionRequest & WithPolicyDocument(Aws::String &&value)
void SetSetAsDefault(bool value)
bool GetSetAsDefault() const
AWS_IAM_API Aws::String SerializePayload() const override
const Aws::String & GetPolicyArn() const
CreatePolicyVersionRequest & WithSetAsDefault(bool value)
CreatePolicyVersionRequest & WithPolicyDocument(const char *value)
void SetPolicyDocument(const Aws::String &value)
void SetPolicyDocument(Aws::String &&value)
void SetPolicyArn(const char *value)
CreatePolicyVersionRequest & WithPolicyArn(const char *value)
const Aws::String & GetPolicyDocument() const
CreatePolicyVersionRequest & WithPolicyArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool SetAsDefaultHasBeenSet() const
void SetPolicyArn(const Aws::String &value)
bool PolicyArnHasBeenSet() const
CreatePolicyVersionRequest & WithPolicyDocument(const Aws::String &value)
bool PolicyDocumentHasBeenSet() const
void SetPolicyDocument(const char *value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreatePolicyVersionRequest & WithPolicyArn(const Aws::String &value)
void SetPolicyArn(Aws::String &&value)
AWS_IAM_API CreatePolicyVersionRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String