AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
TrustStoreSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/TrustStoreStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront {
21namespace Model {
22
29 public:
30 AWS_CLOUDFRONT_API TrustStoreSummary() = default;
31 AWS_CLOUDFRONT_API TrustStoreSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_CLOUDFRONT_API TrustStoreSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
48 TrustStoreSummary& WithId(IdT&& value) {
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
66 TrustStoreSummary& WithArn(ArnT&& value) {
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
84 TrustStoreSummary& WithName(NameT&& value) {
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline TrustStoreStatus GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(TrustStoreStatus value) {
97 m_statusHasBeenSet = true;
98 m_status = value;
99 }
101 SetStatus(value);
102 return *this;
103 }
105
107
110 inline int GetNumberOfCaCertificates() const { return m_numberOfCaCertificates; }
111 inline bool NumberOfCaCertificatesHasBeenSet() const { return m_numberOfCaCertificatesHasBeenSet; }
112 inline void SetNumberOfCaCertificates(int value) {
113 m_numberOfCaCertificatesHasBeenSet = true;
114 m_numberOfCaCertificates = value;
115 }
118 return *this;
119 }
121
123
126 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
127 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
128 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
129 void SetLastModifiedTime(LastModifiedTimeT&& value) {
130 m_lastModifiedTimeHasBeenSet = true;
131 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
132 }
133 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
134 TrustStoreSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
135 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetReason() const { return m_reason; }
145 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
146 template <typename ReasonT = Aws::String>
147 void SetReason(ReasonT&& value) {
148 m_reasonHasBeenSet = true;
149 m_reason = std::forward<ReasonT>(value);
150 }
151 template <typename ReasonT = Aws::String>
152 TrustStoreSummary& WithReason(ReasonT&& value) {
153 SetReason(std::forward<ReasonT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::String& GetETag() const { return m_eTag; }
163 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
164 template <typename ETagT = Aws::String>
165 void SetETag(ETagT&& value) {
166 m_eTagHasBeenSet = true;
167 m_eTag = std::forward<ETagT>(value);
168 }
169 template <typename ETagT = Aws::String>
170 TrustStoreSummary& WithETag(ETagT&& value) {
171 SetETag(std::forward<ETagT>(value));
172 return *this;
173 }
175 private:
176 Aws::String m_id;
177
178 Aws::String m_arn;
179
180 Aws::String m_name;
181
183
184 int m_numberOfCaCertificates{0};
185
186 Aws::Utils::DateTime m_lastModifiedTime{};
187
188 Aws::String m_reason;
189
190 Aws::String m_eTag;
191 bool m_idHasBeenSet = false;
192 bool m_arnHasBeenSet = false;
193 bool m_nameHasBeenSet = false;
194 bool m_statusHasBeenSet = false;
195 bool m_numberOfCaCertificatesHasBeenSet = false;
196 bool m_lastModifiedTimeHasBeenSet = false;
197 bool m_reasonHasBeenSet = false;
198 bool m_eTagHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace CloudFront
203} // namespace Aws
AWS_CLOUDFRONT_API TrustStoreSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API TrustStoreSummary()=default
TrustStoreSummary & WithId(IdT &&value)
AWS_CLOUDFRONT_API TrustStoreSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLastModifiedTime(LastModifiedTimeT &&value)
TrustStoreSummary & WithName(NameT &&value)
TrustStoreSummary & WithETag(ETagT &&value)
TrustStoreSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
TrustStoreSummary & WithNumberOfCaCertificates(int value)
TrustStoreSummary & WithStatus(TrustStoreStatus value)
TrustStoreSummary & WithReason(ReasonT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
TrustStoreSummary & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String