7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iam/model/Tag.h>
58 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
78 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
105 inline void SetAssumeRolePolicyDocument(
const char* value) { m_assumeRolePolicyDocumentHasBeenSet =
true; m_assumeRolePolicyDocument.assign(value); }
119 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
145 inline void SetMaxSessionDuration(
int value) { m_maxSessionDurationHasBeenSet =
true; m_maxSessionDuration = value; }
166 inline void SetPermissionsBoundary(
const char* value) { m_permissionsBoundaryHasBeenSet =
true; m_permissionsBoundary.assign(value); }
193 bool m_pathHasBeenSet =
false;
196 bool m_roleNameHasBeenSet =
false;
199 bool m_assumeRolePolicyDocumentHasBeenSet =
false;
202 bool m_descriptionHasBeenSet =
false;
204 int m_maxSessionDuration;
205 bool m_maxSessionDurationHasBeenSet =
false;
208 bool m_permissionsBoundaryHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
CreateRoleRequest & WithRoleName(const Aws::String &value)
CreateRoleRequest & WithRoleName(Aws::String &&value)
CreateRoleRequest & WithPath(const Aws::String &value)
CreateRoleRequest & WithDescription(Aws::String &&value)
CreateRoleRequest & WithPermissionsBoundary(Aws::String &&value)
void SetPath(Aws::String &&value)
bool PathHasBeenSet() const
int GetMaxSessionDuration() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetPath() const
CreateRoleRequest & AddTags(Tag &&value)
void SetDescription(const char *value)
CreateRoleRequest & WithRoleName(const char *value)
const Aws::String & GetAssumeRolePolicyDocument() const
CreateRoleRequest & WithPath(const char *value)
CreateRoleRequest & WithTags(const Aws::Vector< Tag > &value)
CreateRoleRequest & WithDescription(const char *value)
bool AssumeRolePolicyDocumentHasBeenSet() const
CreateRoleRequest & WithMaxSessionDuration(int value)
void SetTags(const Aws::Vector< Tag > &value)
void SetPath(const char *value)
const Aws::Vector< Tag > & GetTags() const
bool DescriptionHasBeenSet() const
CreateRoleRequest & WithAssumeRolePolicyDocument(Aws::String &&value)
void SetRoleName(const Aws::String &value)
void SetPermissionsBoundary(Aws::String &&value)
CreateRoleRequest & WithAssumeRolePolicyDocument(const char *value)
virtual const char * GetServiceRequestName() const override
CreateRoleRequest & WithPermissionsBoundary(const Aws::String &value)
CreateRoleRequest & WithPermissionsBoundary(const char *value)
CreateRoleRequest & WithAssumeRolePolicyDocument(const Aws::String &value)
bool MaxSessionDurationHasBeenSet() const
void SetPath(const Aws::String &value)
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
AWS_IAM_API Aws::String SerializePayload() const override
void SetPermissionsBoundary(const char *value)
void SetMaxSessionDuration(int value)
bool PermissionsBoundaryHasBeenSet() const
CreateRoleRequest & WithTags(Aws::Vector< Tag > &&value)
CreateRoleRequest & AddTags(const Tag &value)
AWS_IAM_API CreateRoleRequest()
bool RoleNameHasBeenSet() const
void SetRoleName(const char *value)
const Aws::String & GetRoleName() const
void SetAssumeRolePolicyDocument(const char *value)
void SetAssumeRolePolicyDocument(Aws::String &&value)
CreateRoleRequest & WithDescription(const Aws::String &value)
const Aws::String & GetPermissionsBoundary() const
CreateRoleRequest & WithPath(Aws::String &&value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(const Aws::String &value)
void SetRoleName(Aws::String &&value)
void SetAssumeRolePolicyDocument(const Aws::String &value)
void SetPermissionsBoundary(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector