AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CredentialSummary.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RolesAnywhere
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROLESANYWHERE_API CredentialSummary();
37 AWS_ROLESANYWHERE_API CredentialSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROLESANYWHERE_API CredentialSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetEnabled() const{ return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline CredentialSummary& WithEnabled(bool value) { SetEnabled(value); return *this;}
51
53
56 inline bool GetFailed() const{ return m_failed; }
57 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
58 inline void SetFailed(bool value) { m_failedHasBeenSet = true; m_failed = value; }
59 inline CredentialSummary& WithFailed(bool value) { SetFailed(value); return *this;}
61
63
67 inline const Aws::String& GetIssuer() const{ return m_issuer; }
68 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
69 inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
70 inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
71 inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
72 inline CredentialSummary& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
73 inline CredentialSummary& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
74 inline CredentialSummary& WithIssuer(const char* value) { SetIssuer(value); return *this;}
76
78
82 inline const Aws::Utils::DateTime& GetSeenAt() const{ return m_seenAt; }
83 inline bool SeenAtHasBeenSet() const { return m_seenAtHasBeenSet; }
84 inline void SetSeenAt(const Aws::Utils::DateTime& value) { m_seenAtHasBeenSet = true; m_seenAt = value; }
85 inline void SetSeenAt(Aws::Utils::DateTime&& value) { m_seenAtHasBeenSet = true; m_seenAt = std::move(value); }
86 inline CredentialSummary& WithSeenAt(const Aws::Utils::DateTime& value) { SetSeenAt(value); return *this;}
87 inline CredentialSummary& WithSeenAt(Aws::Utils::DateTime&& value) { SetSeenAt(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
95 inline bool SerialNumberHasBeenSet() const { return m_serialNumberHasBeenSet; }
96 inline void SetSerialNumber(const Aws::String& value) { m_serialNumberHasBeenSet = true; m_serialNumber = value; }
97 inline void SetSerialNumber(Aws::String&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::move(value); }
98 inline void SetSerialNumber(const char* value) { m_serialNumberHasBeenSet = true; m_serialNumber.assign(value); }
99 inline CredentialSummary& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
100 inline CredentialSummary& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
101 inline CredentialSummary& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
103
105
108 inline const Aws::String& GetX509CertificateData() const{ return m_x509CertificateData; }
109 inline bool X509CertificateDataHasBeenSet() const { return m_x509CertificateDataHasBeenSet; }
110 inline void SetX509CertificateData(const Aws::String& value) { m_x509CertificateDataHasBeenSet = true; m_x509CertificateData = value; }
111 inline void SetX509CertificateData(Aws::String&& value) { m_x509CertificateDataHasBeenSet = true; m_x509CertificateData = std::move(value); }
112 inline void SetX509CertificateData(const char* value) { m_x509CertificateDataHasBeenSet = true; m_x509CertificateData.assign(value); }
114 inline CredentialSummary& WithX509CertificateData(Aws::String&& value) { SetX509CertificateData(std::move(value)); return *this;}
115 inline CredentialSummary& WithX509CertificateData(const char* value) { SetX509CertificateData(value); return *this;}
117 private:
118
119 bool m_enabled;
120 bool m_enabledHasBeenSet = false;
121
122 bool m_failed;
123 bool m_failedHasBeenSet = false;
124
125 Aws::String m_issuer;
126 bool m_issuerHasBeenSet = false;
127
128 Aws::Utils::DateTime m_seenAt;
129 bool m_seenAtHasBeenSet = false;
130
131 Aws::String m_serialNumber;
132 bool m_serialNumberHasBeenSet = false;
133
134 Aws::String m_x509CertificateData;
135 bool m_x509CertificateDataHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace RolesAnywhere
140} // namespace Aws
CredentialSummary & WithSerialNumber(const Aws::String &value)
const Aws::String & GetX509CertificateData() const
CredentialSummary & WithIssuer(const Aws::String &value)
void SetSeenAt(Aws::Utils::DateTime &&value)
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)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
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)
void SetX509CertificateData(const Aws::String &value)
AWS_ROLESANYWHERE_API CredentialSummary(Aws::Utils::Json::JsonView jsonValue)
CredentialSummary & WithSeenAt(const Aws::Utils::DateTime &value)
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