7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace RolesAnywhere
48 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
58 inline void SetFailed(
bool value) { m_failedHasBeenSet =
true; m_failed = value; }
71 inline void SetIssuer(
const char* value) { m_issuerHasBeenSet =
true; m_issuer.assign(value); }
98 inline void SetSerialNumber(
const char* value) { m_serialNumberHasBeenSet =
true; m_serialNumber.assign(value); }
112 inline void SetX509CertificateData(
const char* value) { m_x509CertificateDataHasBeenSet =
true; m_x509CertificateData.assign(value); }
120 bool m_enabledHasBeenSet =
false;
123 bool m_failedHasBeenSet =
false;
126 bool m_issuerHasBeenSet =
false;
129 bool m_seenAtHasBeenSet =
false;
132 bool m_serialNumberHasBeenSet =
false;
135 bool m_x509CertificateDataHasBeenSet =
false;
void SetIssuer(const char *value)
CredentialSummary & WithSerialNumber(const Aws::String &value)
const Aws::String & GetX509CertificateData() const
void SetSerialNumber(const char *value)
const Aws::String & GetIssuer() const
bool FailedHasBeenSet() const
void SetFailed(bool value)
const Aws::String & GetSerialNumber() const
CredentialSummary & WithIssuer(const Aws::String &value)
void SetSeenAt(Aws::Utils::DateTime &&value)
AWS_ROLESANYWHERE_API CredentialSummary()
CredentialSummary & WithEnabled(bool value)
CredentialSummary & WithIssuer(Aws::String &&value)
const Aws::Utils::DateTime & GetSeenAt() const
void SetSeenAt(const Aws::Utils::DateTime &value)
AWS_ROLESANYWHERE_API CredentialSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CredentialSummary & WithIssuer(const char *value)
CredentialSummary & WithSerialNumber(Aws::String &&value)
void SetX509CertificateData(const char *value)
bool IssuerHasBeenSet() const
void SetX509CertificateData(Aws::String &&value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIssuer(const Aws::String &value)
void SetEnabled(bool value)
CredentialSummary & WithX509CertificateData(const Aws::String &value)
CredentialSummary & WithFailed(bool value)
CredentialSummary & WithX509CertificateData(Aws::String &&value)
CredentialSummary & WithSerialNumber(const char *value)
CredentialSummary & WithX509CertificateData(const char *value)
bool X509CertificateDataHasBeenSet() const
void SetX509CertificateData(const Aws::String &value)
bool EnabledHasBeenSet() const
void SetIssuer(Aws::String &&value)
bool SerialNumberHasBeenSet() const
void SetSerialNumber(Aws::String &&value)
AWS_ROLESANYWHERE_API CredentialSummary(Aws::Utils::Json::JsonView jsonValue)
CredentialSummary & WithSeenAt(const Aws::Utils::DateTime &value)
bool SeenAtHasBeenSet() const
CredentialSummary & WithSeenAt(Aws::Utils::DateTime &&value)
void SetSerialNumber(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue