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); }
69 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
77 bool m_userNameHasBeenSet =
false;
80 bool m_policyArnHasBeenSet =
false;
void SetUserName(const char *value)
AttachUserPolicyRequest & WithUserName(const Aws::String &value)
bool PolicyArnHasBeenSet() const
AWS_IAM_API AttachUserPolicyRequest()
const Aws::String & GetPolicyArn() const
void SetPolicyArn(const char *value)
void SetUserName(Aws::String &&value)
void SetPolicyArn(Aws::String &&value)
bool UserNameHasBeenSet() const
AWS_IAM_API Aws::String SerializePayload() const override
void SetUserName(const Aws::String &value)
AttachUserPolicyRequest & WithPolicyArn(Aws::String &&value)
void SetPolicyArn(const Aws::String &value)
AttachUserPolicyRequest & WithUserName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AttachUserPolicyRequest & WithPolicyArn(const char *value)
AttachUserPolicyRequest & WithPolicyArn(const Aws::String &value)
const Aws::String & GetUserName() const
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AttachUserPolicyRequest & WithUserName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String