7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rolesanywhere/model/CredentialSummary.h>
12#include <aws/rolesanywhere/model/InstanceProperty.h>
25namespace RolesAnywhere
78 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
117 inline void SetSubjectArn(
const char* value) { m_subjectArnHasBeenSet =
true; m_subjectArn.assign(value); }
131 inline void SetSubjectId(
const char* value) { m_subjectIdHasBeenSet =
true; m_subjectId.assign(value); }
157 inline void SetX509Subject(
const char* value) { m_x509SubjectHasBeenSet =
true; m_x509Subject.assign(value); }
165 bool m_createdAtHasBeenSet =
false;
168 bool m_credentialsHasBeenSet =
false;
171 bool m_enabledHasBeenSet =
false;
174 bool m_instancePropertiesHasBeenSet =
false;
177 bool m_lastSeenAtHasBeenSet =
false;
180 bool m_subjectArnHasBeenSet =
false;
183 bool m_subjectIdHasBeenSet =
false;
186 bool m_updatedAtHasBeenSet =
false;
189 bool m_x509SubjectHasBeenSet =
false;
SubjectDetail & WithX509Subject(Aws::String &&value)
const Aws::Utils::DateTime & GetLastSeenAt() const
void SetSubjectArn(const Aws::String &value)
const Aws::String & GetSubjectArn() const
SubjectDetail & WithUpdatedAt(const Aws::Utils::DateTime &value)
SubjectDetail & WithSubjectArn(Aws::String &&value)
SubjectDetail & WithCreatedAt(Aws::Utils::DateTime &&value)
bool UpdatedAtHasBeenSet() const
AWS_ROLESANYWHERE_API SubjectDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SubjectDetail & WithSubjectArn(const Aws::String &value)
void SetInstanceProperties(Aws::Vector< InstanceProperty > &&value)
const Aws::Vector< InstanceProperty > & GetInstanceProperties() const
void SetLastSeenAt(Aws::Utils::DateTime &&value)
AWS_ROLESANYWHERE_API SubjectDetail(Aws::Utils::Json::JsonView jsonValue)
SubjectDetail & WithSubjectId(const char *value)
void SetCredentials(const Aws::Vector< CredentialSummary > &value)
SubjectDetail & AddInstanceProperties(const InstanceProperty &value)
SubjectDetail & WithLastSeenAt(const Aws::Utils::DateTime &value)
SubjectDetail & AddInstanceProperties(InstanceProperty &&value)
bool CredentialsHasBeenSet() const
SubjectDetail & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetSubjectArn(const char *value)
void SetX509Subject(Aws::String &&value)
const Aws::String & GetSubjectId() const
SubjectDetail & AddCredentials(const CredentialSummary &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
SubjectDetail & WithX509Subject(const char *value)
SubjectDetail & WithCredentials(Aws::Vector< CredentialSummary > &&value)
void SetSubjectArn(Aws::String &&value)
void SetLastSeenAt(const Aws::Utils::DateTime &value)
SubjectDetail & WithSubjectId(const Aws::String &value)
void SetSubjectId(const char *value)
SubjectDetail & WithSubjectArn(const char *value)
SubjectDetail & WithInstanceProperties(const Aws::Vector< InstanceProperty > &value)
void SetInstanceProperties(const Aws::Vector< InstanceProperty > &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetX509Subject(const Aws::String &value)
SubjectDetail & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetX509Subject(const char *value)
AWS_ROLESANYWHERE_API SubjectDetail()
bool EnabledHasBeenSet() const
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCredentials(Aws::Vector< CredentialSummary > &&value)
bool CreatedAtHasBeenSet() const
SubjectDetail & WithCredentials(const Aws::Vector< CredentialSummary > &value)
SubjectDetail & WithX509Subject(const Aws::String &value)
const Aws::Vector< CredentialSummary > & GetCredentials() const
void SetEnabled(bool value)
bool SubjectArnHasBeenSet() const
SubjectDetail & WithLastSeenAt(Aws::Utils::DateTime &&value)
void SetSubjectId(Aws::String &&value)
SubjectDetail & WithEnabled(bool value)
void SetSubjectId(const Aws::String &value)
bool X509SubjectHasBeenSet() const
bool InstancePropertiesHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
SubjectDetail & WithSubjectId(Aws::String &&value)
bool SubjectIdHasBeenSet() const
bool LastSeenAtHasBeenSet() const
SubjectDetail & AddCredentials(CredentialSummary &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SubjectDetail & WithInstanceProperties(Aws::Vector< InstanceProperty > &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetX509Subject() 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