7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
61 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
89 inline void SetMaxSessionDuration(
int value) { m_maxSessionDurationHasBeenSet =
true; m_maxSessionDuration = value; }
95 bool m_roleNameHasBeenSet =
false;
98 bool m_descriptionHasBeenSet =
false;
100 int m_maxSessionDuration;
101 bool m_maxSessionDurationHasBeenSet =
false;
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
void SetRoleName(const char *value)
AWS_IAM_API Aws::String SerializePayload() const override
AWS_IAM_API UpdateRoleRequest()
void SetRoleName(Aws::String &&value)
UpdateRoleRequest & WithDescription(Aws::String &&value)
UpdateRoleRequest & WithMaxSessionDuration(int value)
bool DescriptionHasBeenSet() const
int GetMaxSessionDuration() const
bool MaxSessionDurationHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateRoleRequest & WithDescription(const Aws::String &value)
const Aws::String & GetRoleName() const
UpdateRoleRequest & WithDescription(const char *value)
void SetMaxSessionDuration(int value)
void SetRoleName(const Aws::String &value)
UpdateRoleRequest & WithRoleName(Aws::String &&value)
UpdateRoleRequest & WithRoleName(const char *value)
bool RoleNameHasBeenSet() const
UpdateRoleRequest & WithRoleName(const Aws::String &value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(const char *value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String