7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/iam/IAM_EXPORTS.h>
41 template <
typename RoleNameT = Aws::String>
43 m_roleNameHasBeenSet =
true;
44 m_roleName = std::forward<RoleNameT>(value);
46 template <
typename RoleNameT = Aws::String>
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
94 m_maxSessionDurationHasBeenSet =
true;
95 m_maxSessionDuration = value;
107 int m_maxSessionDuration{0};
108 bool m_roleNameHasBeenSet =
false;
109 bool m_descriptionHasBeenSet =
false;
110 bool m_maxSessionDurationHasBeenSet =
false;
const Aws::String & GetDescription() const
AWS_IAM_API Aws::String SerializePayload() const override
UpdateRoleRequest & WithDescription(DescriptionT &&value)
void SetRoleName(RoleNameT &&value)
UpdateRoleRequest & WithMaxSessionDuration(int value)
bool DescriptionHasBeenSet() const
int GetMaxSessionDuration() const
bool MaxSessionDurationHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRoleName() const
void SetMaxSessionDuration(int value)
UpdateRoleRequest & WithRoleName(RoleNameT &&value)
void SetDescription(DescriptionT &&value)
AWS_IAM_API UpdateRoleRequest()=default
bool RoleNameHasBeenSet() const
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String