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