7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/RolesAnywhereRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace RolesAnywhere
43 inline void SetAcceptRoleSessionName(
bool value) { m_acceptRoleSessionNameHasBeenSet =
true; m_acceptRoleSessionName = value; }
57 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
99 inline void SetProfileId(
const char* value) { m_profileIdHasBeenSet =
true; m_profileId.assign(value); }
130 inline void SetSessionPolicy(
const char* value) { m_sessionPolicyHasBeenSet =
true; m_sessionPolicy.assign(value); }
137 bool m_acceptRoleSessionName;
138 bool m_acceptRoleSessionNameHasBeenSet =
false;
140 int m_durationSeconds;
141 bool m_durationSecondsHasBeenSet =
false;
144 bool m_managedPolicyArnsHasBeenSet =
false;
147 bool m_nameHasBeenSet =
false;
150 bool m_profileIdHasBeenSet =
false;
153 bool m_roleArnsHasBeenSet =
false;
156 bool m_sessionPolicyHasBeenSet =
false;
void SetRoleArns(Aws::Vector< Aws::String > &&value)
UpdateProfileRequest & AddManagedPolicyArns(const char *value)
void SetProfileId(const char *value)
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateProfileRequest & AddRoleArns(const char *value)
UpdateProfileRequest & WithProfileId(const char *value)
void SetSessionPolicy(Aws::String &&value)
bool GetAcceptRoleSessionName() const
void SetName(const Aws::String &value)
void SetManagedPolicyArns(const Aws::Vector< Aws::String > &value)
UpdateProfileRequest & WithSessionPolicy(const char *value)
void SetDurationSeconds(int value)
void SetSessionPolicy(const char *value)
void SetSessionPolicy(const Aws::String &value)
const Aws::String & GetName() const
UpdateProfileRequest & WithManagedPolicyArns(Aws::Vector< Aws::String > &&value)
UpdateProfileRequest & WithName(Aws::String &&value)
bool RoleArnsHasBeenSet() const
void SetRoleArns(const Aws::Vector< Aws::String > &value)
UpdateProfileRequest & AddRoleArns(Aws::String &&value)
UpdateProfileRequest & AddManagedPolicyArns(Aws::String &&value)
void SetAcceptRoleSessionName(bool value)
bool NameHasBeenSet() const
AWS_ROLESANYWHERE_API UpdateProfileRequest()
const Aws::Vector< Aws::String > & GetManagedPolicyArns() const
void SetName(Aws::String &&value)
bool DurationSecondsHasBeenSet() const
UpdateProfileRequest & WithName(const char *value)
const Aws::Vector< Aws::String > & GetRoleArns() const
const Aws::String & GetProfileId() const
UpdateProfileRequest & WithProfileId(Aws::String &&value)
int GetDurationSeconds() const
UpdateProfileRequest & WithManagedPolicyArns(const Aws::Vector< Aws::String > &value)
bool SessionPolicyHasBeenSet() const
UpdateProfileRequest & AddRoleArns(const Aws::String &value)
UpdateProfileRequest & WithSessionPolicy(Aws::String &&value)
UpdateProfileRequest & WithRoleArns(Aws::Vector< Aws::String > &&value)
void SetProfileId(const Aws::String &value)
bool ManagedPolicyArnsHasBeenSet() const
UpdateProfileRequest & WithAcceptRoleSessionName(bool value)
bool AcceptRoleSessionNameHasBeenSet() const
UpdateProfileRequest & WithSessionPolicy(const Aws::String &value)
void SetProfileId(Aws::String &&value)
UpdateProfileRequest & WithDurationSeconds(int value)
const Aws::String & GetSessionPolicy() const
UpdateProfileRequest & WithName(const Aws::String &value)
void SetName(const char *value)
UpdateProfileRequest & AddManagedPolicyArns(const Aws::String &value)
bool ProfileIdHasBeenSet() const
UpdateProfileRequest & WithProfileId(const Aws::String &value)
UpdateProfileRequest & WithRoleArns(const Aws::Vector< Aws::String > &value)
void SetManagedPolicyArns(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector