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 SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
68 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
93 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
101 bool m_userNameHasBeenSet =
false;
104 bool m_policyNameHasBeenSet =
false;
107 bool m_policyDocumentHasBeenSet =
false;
bool PolicyNameHasBeenSet() const
void SetPolicyName(const Aws::String &value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetPolicyName() const
void SetUserName(const char *value)
void SetPolicyDocument(const Aws::String &value)
void SetPolicyDocument(Aws::String &&value)
void SetUserName(Aws::String &&value)
PutUserPolicyRequest & WithPolicyName(const char *value)
AWS_IAM_API PutUserPolicyRequest()
void SetUserName(const Aws::String &value)
PutUserPolicyRequest & WithPolicyDocument(const char *value)
void SetPolicyDocument(const char *value)
PutUserPolicyRequest & WithPolicyName(Aws::String &&value)
const Aws::String & GetUserName() const
bool PolicyDocumentHasBeenSet() const
PutUserPolicyRequest & WithUserName(const Aws::String &value)
PutUserPolicyRequest & WithPolicyName(const Aws::String &value)
PutUserPolicyRequest & WithUserName(const char *value)
PutUserPolicyRequest & WithPolicyDocument(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPolicyDocument() const
void SetPolicyName(Aws::String &&value)
PutUserPolicyRequest & WithUserName(Aws::String &&value)
PutUserPolicyRequest & WithPolicyDocument(Aws::String &&value)
bool UserNameHasBeenSet() const
AWS_IAM_API Aws::String SerializePayload() const override
void SetPolicyName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String