7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename RoleNameT = Aws::String>
50 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
51 template<
typename RoleNameT = Aws::String>
64 template<
typename PolicyNameT = Aws::String>
65 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
66 template<
typename PolicyNameT = Aws::String>
87 template<
typename PolicyDocumentT = Aws::String>
88 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
89 template<
typename PolicyDocumentT = Aws::String>
95 bool m_roleNameHasBeenSet =
false;
98 bool m_policyNameHasBeenSet =
false;
101 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(PolicyNameT &&value)
const Aws::String & GetPolicyName() const
void SetRoleName(RoleNameT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
AWS_IAM_API PutRolePolicyRequest()=default
void SetPolicyDocument(PolicyDocumentT &&value)
const Aws::String & GetPolicyDocument() const
PutRolePolicyRequest & WithRoleName(RoleNameT &&value)
PutRolePolicyRequest & WithPolicyDocument(PolicyDocumentT &&value)
bool PolicyDocumentHasBeenSet() const
void SetPolicyName(PolicyNameT &&value)
bool RoleNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String