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); }
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_roleNameHasBeenSet =
false;
104 bool m_policyNameHasBeenSet =
false;
107 bool m_policyDocumentHasBeenSet =
false;
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRoleName() const
bool PolicyNameHasBeenSet() const
PutRolePolicyRequest & WithPolicyName(Aws::String &&value)
PutRolePolicyRequest & WithRoleName(const char *value)
const Aws::String & GetPolicyName() const
void SetPolicyName(Aws::String &&value)
PutRolePolicyRequest & WithRoleName(const Aws::String &value)
void SetPolicyDocument(const Aws::String &value)
PutRolePolicyRequest & WithPolicyName(const char *value)
void SetPolicyName(const char *value)
AWS_IAM_API Aws::String SerializePayload() const override
void SetRoleName(const char *value)
void SetPolicyDocument(const char *value)
void SetRoleName(const Aws::String &value)
PutRolePolicyRequest & WithPolicyDocument(const char *value)
const Aws::String & GetPolicyDocument() const
void SetPolicyName(const Aws::String &value)
PutRolePolicyRequest & WithPolicyName(const Aws::String &value)
void SetRoleName(Aws::String &&value)
PutRolePolicyRequest & WithPolicyDocument(Aws::String &&value)
bool PolicyDocumentHasBeenSet() const
PutRolePolicyRequest & WithRoleName(Aws::String &&value)
AWS_IAM_API PutRolePolicyRequest()
void SetPolicyDocument(Aws::String &&value)
PutRolePolicyRequest & WithPolicyDocument(const Aws::String &value)
bool RoleNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String