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>
11#include <aws/rolesanywhere/model/Tag.h>
16namespace RolesAnywhere
44 inline void SetAcceptRoleSessionName(
bool value) { m_acceptRoleSessionNameHasBeenSet =
true; m_acceptRoleSessionName = value; }
58 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
68 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
96 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
138 inline void SetSessionPolicy(
const char* value) { m_sessionPolicyHasBeenSet =
true; m_sessionPolicy.assign(value); }
159 bool m_acceptRoleSessionName;
160 bool m_acceptRoleSessionNameHasBeenSet =
false;
162 int m_durationSeconds;
163 bool m_durationSecondsHasBeenSet =
false;
166 bool m_enabledHasBeenSet =
false;
169 bool m_managedPolicyArnsHasBeenSet =
false;
172 bool m_nameHasBeenSet =
false;
174 bool m_requireInstanceProperties;
175 bool m_requireInstancePropertiesHasBeenSet =
false;
178 bool m_roleArnsHasBeenSet =
false;
181 bool m_sessionPolicyHasBeenSet =
false;
184 bool m_tagsHasBeenSet =
false;
void SetSessionPolicy(Aws::String &&value)
bool DurationSecondsHasBeenSet() const
void SetManagedPolicyArns(Aws::Vector< Aws::String > &&value)
void SetDurationSeconds(int value)
void SetTags(const Aws::Vector< Tag > &value)
bool AcceptRoleSessionNameHasBeenSet() const
CreateProfileRequest & WithSessionPolicy(const char *value)
CreateProfileRequest & WithEnabled(bool value)
CreateProfileRequest & WithSessionPolicy(Aws::String &&value)
void SetName(const Aws::String &value)
void SetName(const char *value)
void SetSessionPolicy(const char *value)
CreateProfileRequest & WithName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateProfileRequest & AddRoleArns(Aws::String &&value)
bool GetRequireInstanceProperties() const
virtual const char * GetServiceRequestName() const override
CreateProfileRequest & WithAcceptRoleSessionName(bool value)
CreateProfileRequest & AddTags(const Tag &value)
const Aws::String & GetSessionPolicy() const
void SetAcceptRoleSessionName(bool value)
CreateProfileRequest & WithRequireInstanceProperties(bool value)
const Aws::Vector< Aws::String > & GetManagedPolicyArns() const
AWS_ROLESANYWHERE_API CreateProfileRequest()
CreateProfileRequest & AddTags(Tag &&value)
void SetSessionPolicy(const Aws::String &value)
CreateProfileRequest & WithTags(const Aws::Vector< Tag > &value)
bool RequireInstancePropertiesHasBeenSet() const
CreateProfileRequest & AddRoleArns(const Aws::String &value)
bool RoleArnsHasBeenSet() const
int GetDurationSeconds() const
CreateProfileRequest & WithName(const Aws::String &value)
CreateProfileRequest & AddManagedPolicyArns(const char *value)
bool SessionPolicyHasBeenSet() const
bool GetAcceptRoleSessionName() const
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetRoleArns() const
CreateProfileRequest & WithName(const char *value)
CreateProfileRequest & AddManagedPolicyArns(Aws::String &&value)
void SetRoleArns(Aws::Vector< Aws::String > &&value)
CreateProfileRequest & WithRoleArns(Aws::Vector< Aws::String > &&value)
CreateProfileRequest & WithManagedPolicyArns(Aws::Vector< Aws::String > &&value)
void SetName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
void SetRequireInstanceProperties(bool value)
bool ManagedPolicyArnsHasBeenSet() const
void SetManagedPolicyArns(const Aws::Vector< Aws::String > &value)
bool EnabledHasBeenSet() const
CreateProfileRequest & WithTags(Aws::Vector< Tag > &&value)
CreateProfileRequest & WithDurationSeconds(int value)
CreateProfileRequest & AddManagedPolicyArns(const Aws::String &value)
void SetEnabled(bool value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetRoleArns(const Aws::Vector< Aws::String > &value)
CreateProfileRequest & WithManagedPolicyArns(const Aws::Vector< Aws::String > &value)
CreateProfileRequest & WithSessionPolicy(const Aws::String &value)
CreateProfileRequest & AddRoleArns(const char *value)
CreateProfileRequest & WithRoleArns(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector