7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
20namespace RolesAnywhere {
41 template <
typename SubjectArnT = Aws::String>
43 m_subjectArnHasBeenSet =
true;
44 m_subjectArn = std::forward<SubjectArnT>(value);
46 template <
typename SubjectArnT = Aws::String>
59 template <
typename SubjectIdT = Aws::String>
61 m_subjectIdHasBeenSet =
true;
62 m_subjectId = std::forward<SubjectIdT>(value);
64 template <
typename SubjectIdT = Aws::String>
78 m_enabledHasBeenSet =
true;
93 template <
typename X509SubjectT = Aws::String>
95 m_x509SubjectHasBeenSet =
true;
96 m_x509Subject = std::forward<X509SubjectT>(value);
98 template <
typename X509SubjectT = Aws::String>
112 template <
typename LastSeenAtT = Aws::Utils::DateTime>
114 m_lastSeenAtHasBeenSet =
true;
115 m_lastSeenAt = std::forward<LastSeenAtT>(value);
117 template <
typename LastSeenAtT = Aws::Utils::DateTime>
131 template <
typename CreatedAtT = Aws::Utils::DateTime>
133 m_createdAtHasBeenSet =
true;
134 m_createdAt = std::forward<CreatedAtT>(value);
136 template <
typename CreatedAtT = Aws::Utils::DateTime>
149 template <
typename UpdatedAtT = Aws::Utils::DateTime>
151 m_updatedAtHasBeenSet =
true;
152 m_updatedAt = std::forward<UpdatedAtT>(value);
154 template <
typename UpdatedAtT = Aws::Utils::DateTime>
165 bool m_enabled{
false};
174 bool m_subjectArnHasBeenSet =
false;
175 bool m_subjectIdHasBeenSet =
false;
176 bool m_enabledHasBeenSet =
false;
177 bool m_x509SubjectHasBeenSet =
false;
178 bool m_lastSeenAtHasBeenSet =
false;
179 bool m_createdAtHasBeenSet =
false;
180 bool m_updatedAtHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetSubjectId() const
const Aws::String & GetSubjectArn() const
const Aws::String & GetX509Subject() const
SubjectSummary & WithEnabled(bool value)
SubjectSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetEnabled(bool value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
SubjectSummary & WithSubjectArn(SubjectArnT &&value)
const Aws::Utils::DateTime & GetLastSeenAt() const
void SetLastSeenAt(LastSeenAtT &&value)
bool UpdatedAtHasBeenSet() const
bool X509SubjectHasBeenSet() const
AWS_ROLESANYWHERE_API SubjectSummary()=default
void SetCreatedAt(CreatedAtT &&value)
bool EnabledHasBeenSet() const
SubjectSummary & WithSubjectId(SubjectIdT &&value)
void SetSubjectArn(SubjectArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
SubjectSummary & WithX509Subject(X509SubjectT &&value)
AWS_ROLESANYWHERE_API SubjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SubjectSummary & WithCreatedAt(CreatedAtT &&value)
bool SubjectIdHasBeenSet() const
void SetSubjectId(SubjectIdT &&value)
bool SubjectArnHasBeenSet() const
void SetX509Subject(X509SubjectT &&value)
bool CreatedAtHasBeenSet() const
SubjectSummary & WithLastSeenAt(LastSeenAtT &&value)
bool LastSeenAtHasBeenSet() const
AWS_ROLESANYWHERE_API SubjectSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue