7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rolesanywhere/model/AttributeMapping.h>
24namespace RolesAnywhere
51 inline void SetAcceptRoleSessionName(
bool value) { m_acceptRoleSessionNameHasBeenSet =
true; m_acceptRoleSessionName = value; }
89 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
105 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
115 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
143 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
157 inline void SetProfileArn(
const char* value) { m_profileArnHasBeenSet =
true; m_profileArn.assign(value); }
171 inline void SetProfileId(
const char* value) { m_profileIdHasBeenSet =
true; m_profileId.assign(value); }
213 inline void SetSessionPolicy(
const char* value) { m_sessionPolicyHasBeenSet =
true; m_sessionPolicy.assign(value); }
232 bool m_acceptRoleSessionName;
233 bool m_acceptRoleSessionNameHasBeenSet =
false;
236 bool m_attributeMappingsHasBeenSet =
false;
239 bool m_createdAtHasBeenSet =
false;
242 bool m_createdByHasBeenSet =
false;
244 int m_durationSeconds;
245 bool m_durationSecondsHasBeenSet =
false;
248 bool m_enabledHasBeenSet =
false;
251 bool m_managedPolicyArnsHasBeenSet =
false;
254 bool m_nameHasBeenSet =
false;
257 bool m_profileArnHasBeenSet =
false;
260 bool m_profileIdHasBeenSet =
false;
262 bool m_requireInstanceProperties;
263 bool m_requireInstancePropertiesHasBeenSet =
false;
266 bool m_roleArnsHasBeenSet =
false;
269 bool m_sessionPolicyHasBeenSet =
false;
272 bool m_updatedAtHasBeenSet =
false;
ProfileDetail & AddAttributeMappings(const AttributeMapping &value)
ProfileDetail & WithEnabled(bool value)
void SetCreatedBy(const Aws::String &value)
ProfileDetail & AddRoleArns(Aws::String &&value)
ProfileDetail & WithCreatedBy(Aws::String &&value)
const Aws::Vector< Aws::String > & GetRoleArns() const
ProfileDetail & WithProfileId(const Aws::String &value)
bool CreatedByHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetSessionPolicy(const Aws::String &value)
AWS_ROLESANYWHERE_API ProfileDetail(Aws::Utils::Json::JsonView jsonValue)
bool GetRequireInstanceProperties() const
const Aws::String & GetProfileId() const
const Aws::String & GetProfileArn() const
void SetAttributeMappings(const Aws::Vector< AttributeMapping > &value)
ProfileDetail & WithSessionPolicy(const Aws::String &value)
bool AcceptRoleSessionNameHasBeenSet() const
ProfileDetail & WithSessionPolicy(const char *value)
void SetRoleArns(const Aws::Vector< Aws::String > &value)
void SetManagedPolicyArns(Aws::Vector< Aws::String > &&value)
void SetRoleArns(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetManagedPolicyArns() const
ProfileDetail & WithRoleArns(Aws::Vector< Aws::String > &&value)
const Aws::String & GetCreatedBy() const
void SetName(const char *value)
ProfileDetail & WithProfileId(const char *value)
void SetDurationSeconds(int value)
bool DurationSecondsHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetManagedPolicyArns(const Aws::Vector< Aws::String > &value)
ProfileDetail & WithManagedPolicyArns(Aws::Vector< Aws::String > &&value)
ProfileDetail & AddAttributeMappings(AttributeMapping &&value)
AWS_ROLESANYWHERE_API ProfileDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileDetail & WithCreatedAt(const Aws::Utils::DateTime &value)
ProfileDetail & AddManagedPolicyArns(Aws::String &&value)
ProfileDetail & WithProfileArn(const Aws::String &value)
ProfileDetail & WithManagedPolicyArns(const Aws::Vector< Aws::String > &value)
ProfileDetail & WithUpdatedAt(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
ProfileDetail & WithName(const Aws::String &value)
ProfileDetail & AddRoleArns(const Aws::String &value)
ProfileDetail & WithAttributeMappings(const Aws::Vector< AttributeMapping > &value)
ProfileDetail & WithDurationSeconds(int value)
void SetName(Aws::String &&value)
bool ManagedPolicyArnsHasBeenSet() const
ProfileDetail & AddRoleArns(const char *value)
void SetName(const Aws::String &value)
ProfileDetail & WithCreatedBy(const Aws::String &value)
void SetSessionPolicy(const char *value)
void SetAttributeMappings(Aws::Vector< AttributeMapping > &&value)
const Aws::String & GetSessionPolicy() const
bool RoleArnsHasBeenSet() const
bool SessionPolicyHasBeenSet() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
ProfileDetail & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedBy(const char *value)
ProfileDetail & WithSessionPolicy(Aws::String &&value)
ProfileDetail & AddManagedPolicyArns(const char *value)
ProfileDetail & WithRequireInstanceProperties(bool value)
const Aws::Vector< AttributeMapping > & GetAttributeMappings() const
void SetProfileArn(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetAcceptRoleSessionName(bool value)
bool ProfileArnHasBeenSet() const
void SetProfileId(Aws::String &&value)
void SetSessionPolicy(Aws::String &&value)
void SetProfileId(const char *value)
ProfileDetail & WithProfileArn(const char *value)
void SetCreatedBy(Aws::String &&value)
AWS_ROLESANYWHERE_API ProfileDetail()
ProfileDetail & AddManagedPolicyArns(const Aws::String &value)
void SetEnabled(bool value)
ProfileDetail & WithCreatedBy(const char *value)
bool ProfileIdHasBeenSet() const
bool EnabledHasBeenSet() const
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileDetail & WithName(const char *value)
ProfileDetail & WithAttributeMappings(Aws::Vector< AttributeMapping > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ProfileDetail & WithProfileId(Aws::String &&value)
bool GetAcceptRoleSessionName() const
ProfileDetail & WithAcceptRoleSessionName(bool value)
void SetProfileArn(const char *value)
void SetRequireInstanceProperties(bool value)
bool RequireInstancePropertiesHasBeenSet() const
ProfileDetail & WithName(Aws::String &&value)
bool AttributeMappingsHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ProfileDetail & WithRoleArns(const Aws::Vector< Aws::String > &value)
int GetDurationSeconds() const
void SetProfileArn(const Aws::String &value)
ProfileDetail & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ProfileDetail & WithProfileArn(Aws::String &&value)
const Aws::String & GetName() const
void SetProfileId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue