7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
11#include <aws/rolesanywhere/model/AttributeMapping.h>
22namespace RolesAnywhere {
44 template <
typename ProfileIdT = Aws::String>
46 m_profileIdHasBeenSet =
true;
47 m_profileId = std::forward<ProfileIdT>(value);
49 template <
typename ProfileIdT = Aws::String>
62 template <
typename ProfileArnT = Aws::String>
64 m_profileArnHasBeenSet =
true;
65 m_profileArn = std::forward<ProfileArnT>(value);
67 template <
typename ProfileArnT = Aws::String>
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
100 m_requireInstancePropertiesHasBeenSet =
true;
101 m_requireInstanceProperties = value;
116 m_enabledHasBeenSet =
true;
131 template <
typename CreatedByT = Aws::String>
133 m_createdByHasBeenSet =
true;
134 m_createdBy = std::forward<CreatedByT>(value);
136 template <
typename CreatedByT = Aws::String>
150 template <
typename SessionPolicyT = Aws::String>
152 m_sessionPolicyHasBeenSet =
true;
153 m_sessionPolicy = std::forward<SessionPolicyT>(value);
155 template <
typename SessionPolicyT = Aws::String>
169 template <
typename RoleArnsT = Aws::Vector<Aws::String>>
171 m_roleArnsHasBeenSet =
true;
172 m_roleArns = std::forward<RoleArnsT>(value);
174 template <
typename RoleArnsT = Aws::Vector<Aws::String>>
179 template <
typename RoleArnsT = Aws::String>
181 m_roleArnsHasBeenSet =
true;
182 m_roleArns.emplace_back(std::forward<RoleArnsT>(value));
194 template <
typename ManagedPolicyArnsT = Aws::Vector<Aws::String>>
196 m_managedPolicyArnsHasBeenSet =
true;
197 m_managedPolicyArns = std::forward<ManagedPolicyArnsT>(value);
199 template <
typename ManagedPolicyArnsT = Aws::Vector<Aws::String>>
204 template <
typename ManagedPolicyArnsT = Aws::String>
206 m_managedPolicyArnsHasBeenSet =
true;
207 m_managedPolicyArns.emplace_back(std::forward<ManagedPolicyArnsT>(value));
218 template <
typename CreatedAtT = Aws::Utils::DateTime>
220 m_createdAtHasBeenSet =
true;
221 m_createdAt = std::forward<CreatedAtT>(value);
223 template <
typename CreatedAtT = Aws::Utils::DateTime>
236 template <
typename UpdatedAtT = Aws::Utils::DateTime>
238 m_updatedAtHasBeenSet =
true;
239 m_updatedAt = std::forward<UpdatedAtT>(value);
241 template <
typename UpdatedAtT = Aws::Utils::DateTime>
259 m_durationSecondsHasBeenSet =
true;
260 m_durationSeconds = value;
276 m_acceptRoleSessionNameHasBeenSet =
true;
277 m_acceptRoleSessionName = value;
291 template <
typename AttributeMappingsT = Aws::Vector<AttributeMapping>>
293 m_attributeMappingsHasBeenSet =
true;
294 m_attributeMappings = std::forward<AttributeMappingsT>(value);
296 template <
typename AttributeMappingsT = Aws::Vector<AttributeMapping>>
301 template <
typename AttributeMappingsT = AttributeMapping>
303 m_attributeMappingsHasBeenSet =
true;
304 m_attributeMappings.emplace_back(std::forward<AttributeMappingsT>(value));
315 bool m_requireInstanceProperties{
false};
317 bool m_enabled{
false};
331 int m_durationSeconds{0};
333 bool m_acceptRoleSessionName{
false};
336 bool m_profileIdHasBeenSet =
false;
337 bool m_profileArnHasBeenSet =
false;
338 bool m_nameHasBeenSet =
false;
339 bool m_requireInstancePropertiesHasBeenSet =
false;
340 bool m_enabledHasBeenSet =
false;
341 bool m_createdByHasBeenSet =
false;
342 bool m_sessionPolicyHasBeenSet =
false;
343 bool m_roleArnsHasBeenSet =
false;
344 bool m_managedPolicyArnsHasBeenSet =
false;
345 bool m_createdAtHasBeenSet =
false;
346 bool m_updatedAtHasBeenSet =
false;
347 bool m_durationSecondsHasBeenSet =
false;
348 bool m_acceptRoleSessionNameHasBeenSet =
false;
349 bool m_attributeMappingsHasBeenSet =
false;
ProfileDetail & WithEnabled(bool value)
const Aws::Vector< Aws::String > & GetRoleArns() const
bool CreatedByHasBeenSet() const
bool UpdatedAtHasBeenSet() const
AWS_ROLESANYWHERE_API ProfileDetail(Aws::Utils::Json::JsonView jsonValue)
ProfileDetail & WithProfileId(ProfileIdT &&value)
bool GetRequireInstanceProperties() const
ProfileDetail & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetProfileId() const
const Aws::String & GetProfileArn() const
ProfileDetail & AddManagedPolicyArns(ManagedPolicyArnsT &&value)
ProfileDetail & WithSessionPolicy(SessionPolicyT &&value)
bool AcceptRoleSessionNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetManagedPolicyArns() const
const Aws::String & GetCreatedBy() const
void SetRoleArns(RoleArnsT &&value)
void SetDurationSeconds(int value)
bool DurationSecondsHasBeenSet() const
bool CreatedAtHasBeenSet() const
ProfileDetail & WithProfileArn(ProfileArnT &&value)
void SetProfileId(ProfileIdT &&value)
AWS_ROLESANYWHERE_API ProfileDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
ProfileDetail & WithAttributeMappings(AttributeMappingsT &&value)
ProfileDetail & WithDurationSeconds(int value)
bool ManagedPolicyArnsHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetSessionPolicy(SessionPolicyT &&value)
ProfileDetail & WithName(NameT &&value)
const Aws::String & GetSessionPolicy() const
bool RoleArnsHasBeenSet() const
bool SessionPolicyHasBeenSet() const
void SetManagedPolicyArns(ManagedPolicyArnsT &&value)
ProfileDetail & AddAttributeMappings(AttributeMappingsT &&value)
void SetName(NameT &&value)
AWS_ROLESANYWHERE_API ProfileDetail()=default
ProfileDetail & WithRequireInstanceProperties(bool value)
const Aws::Vector< AttributeMapping > & GetAttributeMappings() const
ProfileDetail & WithManagedPolicyArns(ManagedPolicyArnsT &&value)
void SetProfileArn(ProfileArnT &&value)
void SetAcceptRoleSessionName(bool value)
bool ProfileArnHasBeenSet() const
void SetEnabled(bool value)
bool ProfileIdHasBeenSet() const
bool EnabledHasBeenSet() const
void SetAttributeMappings(AttributeMappingsT &&value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetAcceptRoleSessionName() const
ProfileDetail & WithAcceptRoleSessionName(bool value)
void SetRequireInstanceProperties(bool value)
bool RequireInstancePropertiesHasBeenSet() const
bool AttributeMappingsHasBeenSet() const
ProfileDetail & AddRoleArns(RoleArnsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
int GetDurationSeconds() const
ProfileDetail & WithCreatedBy(CreatedByT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetName() const
ProfileDetail & WithUpdatedAt(UpdatedAtT &&value)
ProfileDetail & WithRoleArns(RoleArnsT &&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