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;
const Aws::String & GetPolicyArn() const
virtual const char * GetServiceRequestName() const override
DetachUserPolicyRequest & WithPolicyArn(const Aws::String &value)
const Aws::String & GetUserName() const
DetachUserPolicyRequest & WithUserName(const char *value)
DetachUserPolicyRequest & WithUserName(Aws::String &&value)
AWS_IAM_API Aws::String SerializePayload() const override
DetachUserPolicyRequest & WithUserName(const Aws::String &value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DetachUserPolicyRequest & WithPolicyArn(const char *value)
void SetUserName(const char *value)
void SetPolicyArn(const Aws::String &value)
DetachUserPolicyRequest & WithPolicyArn(Aws::String &&value)
void SetPolicyArn(const char *value)
bool UserNameHasBeenSet() const
void SetPolicyArn(Aws::String &&value)
void SetUserName(Aws::String &&value)
AWS_IAM_API DetachUserPolicyRequest()
void SetUserName(const Aws::String &value)
bool PolicyArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String