7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace RolesAnywhere
60 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
85 inline void SetSubjectArn(
const char* value) { m_subjectArnHasBeenSet =
true; m_subjectArn.assign(value); }
99 inline void SetSubjectId(
const char* value) { m_subjectIdHasBeenSet =
true; m_subjectId.assign(value); }
125 inline void SetX509Subject(
const char* value) { m_x509SubjectHasBeenSet =
true; m_x509Subject.assign(value); }
133 bool m_createdAtHasBeenSet =
false;
136 bool m_enabledHasBeenSet =
false;
139 bool m_lastSeenAtHasBeenSet =
false;
142 bool m_subjectArnHasBeenSet =
false;
145 bool m_subjectIdHasBeenSet =
false;
148 bool m_updatedAtHasBeenSet =
false;
151 bool m_x509SubjectHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetSubjectId(Aws::String &&value)
SubjectSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
SubjectSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetSubjectId() const
const Aws::String & GetSubjectArn() const
const Aws::String & GetX509Subject() const
SubjectSummary & WithLastSeenAt(const Aws::Utils::DateTime &value)
SubjectSummary & WithEnabled(bool value)
SubjectSummary & WithSubjectArn(const char *value)
void SetLastSeenAt(Aws::Utils::DateTime &&value)
void SetEnabled(bool value)
SubjectSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
SubjectSummary & WithX509Subject(const char *value)
const Aws::Utils::DateTime & GetLastSeenAt() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
SubjectSummary & WithSubjectId(Aws::String &&value)
void SetX509Subject(const Aws::String &value)
void SetSubjectArn(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
SubjectSummary & WithX509Subject(Aws::String &&value)
bool X509SubjectHasBeenSet() const
SubjectSummary & WithSubjectArn(const Aws::String &value)
void SetSubjectArn(const char *value)
bool EnabledHasBeenSet() const
void SetX509Subject(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
SubjectSummary & WithSubjectArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SubjectSummary & WithLastSeenAt(Aws::Utils::DateTime &&value)
AWS_ROLESANYWHERE_API SubjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetSubjectArn(const Aws::String &value)
SubjectSummary & WithSubjectId(const char *value)
void SetX509Subject(Aws::String &&value)
SubjectSummary & WithX509Subject(const Aws::String &value)
SubjectSummary & WithSubjectId(const Aws::String &value)
void SetLastSeenAt(const Aws::Utils::DateTime &value)
bool SubjectIdHasBeenSet() const
void SetSubjectId(const Aws::String &value)
bool SubjectArnHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetSubjectId(const char *value)
bool LastSeenAtHasBeenSet() const
AWS_ROLESANYWHERE_API SubjectSummary()
AWS_ROLESANYWHERE_API SubjectSummary(Aws::Utils::Json::JsonView jsonValue)
SubjectSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue