AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KeySigningKey.h
1
6#pragma once
7#include <aws/route53/Route53_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 Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Route53
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_ROUTE53_API KeySigningKey() = default;
39 AWS_ROUTE53_API KeySigningKey(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_ROUTE53_API KeySigningKey& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 KeySigningKey& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
76 inline const Aws::String& GetKmsArn() const { return m_kmsArn; }
77 inline bool KmsArnHasBeenSet() const { return m_kmsArnHasBeenSet; }
78 template<typename KmsArnT = Aws::String>
79 void SetKmsArn(KmsArnT&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::forward<KmsArnT>(value); }
80 template<typename KmsArnT = Aws::String>
81 KeySigningKey& WithKmsArn(KmsArnT&& value) { SetKmsArn(std::forward<KmsArnT>(value)); return *this;}
83
85
89 inline int GetFlag() const { return m_flag; }
90 inline bool FlagHasBeenSet() const { return m_flagHasBeenSet; }
91 inline void SetFlag(int value) { m_flagHasBeenSet = true; m_flag = value; }
92 inline KeySigningKey& WithFlag(int value) { SetFlag(value); return *this;}
94
96
102 inline const Aws::String& GetSigningAlgorithmMnemonic() const { return m_signingAlgorithmMnemonic; }
103 inline bool SigningAlgorithmMnemonicHasBeenSet() const { return m_signingAlgorithmMnemonicHasBeenSet; }
104 template<typename SigningAlgorithmMnemonicT = Aws::String>
105 void SetSigningAlgorithmMnemonic(SigningAlgorithmMnemonicT&& value) { m_signingAlgorithmMnemonicHasBeenSet = true; m_signingAlgorithmMnemonic = std::forward<SigningAlgorithmMnemonicT>(value); }
106 template<typename SigningAlgorithmMnemonicT = Aws::String>
107 KeySigningKey& WithSigningAlgorithmMnemonic(SigningAlgorithmMnemonicT&& value) { SetSigningAlgorithmMnemonic(std::forward<SigningAlgorithmMnemonicT>(value)); return *this;}
109
111
117 inline int GetSigningAlgorithmType() const { return m_signingAlgorithmType; }
118 inline bool SigningAlgorithmTypeHasBeenSet() const { return m_signingAlgorithmTypeHasBeenSet; }
119 inline void SetSigningAlgorithmType(int value) { m_signingAlgorithmTypeHasBeenSet = true; m_signingAlgorithmType = value; }
120 inline KeySigningKey& WithSigningAlgorithmType(int value) { SetSigningAlgorithmType(value); return *this;}
122
124
130 inline const Aws::String& GetDigestAlgorithmMnemonic() const { return m_digestAlgorithmMnemonic; }
131 inline bool DigestAlgorithmMnemonicHasBeenSet() const { return m_digestAlgorithmMnemonicHasBeenSet; }
132 template<typename DigestAlgorithmMnemonicT = Aws::String>
133 void SetDigestAlgorithmMnemonic(DigestAlgorithmMnemonicT&& value) { m_digestAlgorithmMnemonicHasBeenSet = true; m_digestAlgorithmMnemonic = std::forward<DigestAlgorithmMnemonicT>(value); }
134 template<typename DigestAlgorithmMnemonicT = Aws::String>
135 KeySigningKey& WithDigestAlgorithmMnemonic(DigestAlgorithmMnemonicT&& value) { SetDigestAlgorithmMnemonic(std::forward<DigestAlgorithmMnemonicT>(value)); return *this;}
137
139
145 inline int GetDigestAlgorithmType() const { return m_digestAlgorithmType; }
146 inline bool DigestAlgorithmTypeHasBeenSet() const { return m_digestAlgorithmTypeHasBeenSet; }
147 inline void SetDigestAlgorithmType(int value) { m_digestAlgorithmTypeHasBeenSet = true; m_digestAlgorithmType = value; }
148 inline KeySigningKey& WithDigestAlgorithmType(int value) { SetDigestAlgorithmType(value); return *this;}
150
152
157 inline int GetKeyTag() const { return m_keyTag; }
158 inline bool KeyTagHasBeenSet() const { return m_keyTagHasBeenSet; }
159 inline void SetKeyTag(int value) { m_keyTagHasBeenSet = true; m_keyTag = value; }
160 inline KeySigningKey& WithKeyTag(int value) { SetKeyTag(value); return *this;}
162
164
170 inline const Aws::String& GetDigestValue() const { return m_digestValue; }
171 inline bool DigestValueHasBeenSet() const { return m_digestValueHasBeenSet; }
172 template<typename DigestValueT = Aws::String>
173 void SetDigestValue(DigestValueT&& value) { m_digestValueHasBeenSet = true; m_digestValue = std::forward<DigestValueT>(value); }
174 template<typename DigestValueT = Aws::String>
175 KeySigningKey& WithDigestValue(DigestValueT&& value) { SetDigestValue(std::forward<DigestValueT>(value)); return *this;}
177
179
183 inline const Aws::String& GetPublicKey() const { return m_publicKey; }
184 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
185 template<typename PublicKeyT = Aws::String>
186 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::forward<PublicKeyT>(value); }
187 template<typename PublicKeyT = Aws::String>
188 KeySigningKey& WithPublicKey(PublicKeyT&& value) { SetPublicKey(std::forward<PublicKeyT>(value)); return *this;}
190
192
195 inline const Aws::String& GetDSRecord() const { return m_dSRecord; }
196 inline bool DSRecordHasBeenSet() const { return m_dSRecordHasBeenSet; }
197 template<typename DSRecordT = Aws::String>
198 void SetDSRecord(DSRecordT&& value) { m_dSRecordHasBeenSet = true; m_dSRecord = std::forward<DSRecordT>(value); }
199 template<typename DSRecordT = Aws::String>
200 KeySigningKey& WithDSRecord(DSRecordT&& value) { SetDSRecord(std::forward<DSRecordT>(value)); return *this;}
202
204
207 inline const Aws::String& GetDNSKEYRecord() const { return m_dNSKEYRecord; }
208 inline bool DNSKEYRecordHasBeenSet() const { return m_dNSKEYRecordHasBeenSet; }
209 template<typename DNSKEYRecordT = Aws::String>
210 void SetDNSKEYRecord(DNSKEYRecordT&& value) { m_dNSKEYRecordHasBeenSet = true; m_dNSKEYRecord = std::forward<DNSKEYRecordT>(value); }
211 template<typename DNSKEYRecordT = Aws::String>
212 KeySigningKey& WithDNSKEYRecord(DNSKEYRecordT&& value) { SetDNSKEYRecord(std::forward<DNSKEYRecordT>(value)); return *this;}
214
216
230 inline const Aws::String& GetStatus() const { return m_status; }
231 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
232 template<typename StatusT = Aws::String>
233 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
234 template<typename StatusT = Aws::String>
235 KeySigningKey& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
237
239
245 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
246 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
247 template<typename StatusMessageT = Aws::String>
248 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
249 template<typename StatusMessageT = Aws::String>
250 KeySigningKey& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
252
254
257 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
258 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
259 template<typename CreatedDateT = Aws::Utils::DateTime>
260 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
261 template<typename CreatedDateT = Aws::Utils::DateTime>
262 KeySigningKey& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
264
266
269 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
270 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
271 template<typename LastModifiedDateT = Aws::Utils::DateTime>
272 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
273 template<typename LastModifiedDateT = Aws::Utils::DateTime>
274 KeySigningKey& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
276 private:
277
278 Aws::String m_name;
279 bool m_nameHasBeenSet = false;
280
281 Aws::String m_kmsArn;
282 bool m_kmsArnHasBeenSet = false;
283
284 int m_flag{0};
285 bool m_flagHasBeenSet = false;
286
287 Aws::String m_signingAlgorithmMnemonic;
288 bool m_signingAlgorithmMnemonicHasBeenSet = false;
289
290 int m_signingAlgorithmType{0};
291 bool m_signingAlgorithmTypeHasBeenSet = false;
292
293 Aws::String m_digestAlgorithmMnemonic;
294 bool m_digestAlgorithmMnemonicHasBeenSet = false;
295
296 int m_digestAlgorithmType{0};
297 bool m_digestAlgorithmTypeHasBeenSet = false;
298
299 int m_keyTag{0};
300 bool m_keyTagHasBeenSet = false;
301
302 Aws::String m_digestValue;
303 bool m_digestValueHasBeenSet = false;
304
305 Aws::String m_publicKey;
306 bool m_publicKeyHasBeenSet = false;
307
308 Aws::String m_dSRecord;
309 bool m_dSRecordHasBeenSet = false;
310
311 Aws::String m_dNSKEYRecord;
312 bool m_dNSKEYRecordHasBeenSet = false;
313
314 Aws::String m_status;
315 bool m_statusHasBeenSet = false;
316
317 Aws::String m_statusMessage;
318 bool m_statusMessageHasBeenSet = false;
319
320 Aws::Utils::DateTime m_createdDate{};
321 bool m_createdDateHasBeenSet = false;
322
323 Aws::Utils::DateTime m_lastModifiedDate{};
324 bool m_lastModifiedDateHasBeenSet = false;
325 };
326
327} // namespace Model
328} // namespace Route53
329} // namespace Aws
const Aws::String & GetKmsArn() const
const Aws::String & GetDigestValue() const
KeySigningKey & WithStatusMessage(StatusMessageT &&value)
KeySigningKey & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
KeySigningKey & WithCreatedDate(CreatedDateT &&value)
void SetDSRecord(DSRecordT &&value)
void SetDigestAlgorithmMnemonic(DigestAlgorithmMnemonicT &&value)
KeySigningKey & WithDigestAlgorithmMnemonic(DigestAlgorithmMnemonicT &&value)
KeySigningKey & WithFlag(int value)
const Aws::String & GetDNSKEYRecord() const
AWS_ROUTE53_API KeySigningKey & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
KeySigningKey & WithName(NameT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetPublicKey(PublicKeyT &&value)
KeySigningKey & WithPublicKey(PublicKeyT &&value)
KeySigningKey & WithDigestAlgorithmType(int value)
KeySigningKey & WithSigningAlgorithmMnemonic(SigningAlgorithmMnemonicT &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetSigningAlgorithmMnemonic(SigningAlgorithmMnemonicT &&value)
void SetCreatedDate(CreatedDateT &&value)
const Aws::String & GetStatus() const
const Aws::String & GetDSRecord() const
AWS_ROUTE53_API KeySigningKey(const Aws::Utils::Xml::XmlNode &xmlNode)
KeySigningKey & WithDNSKEYRecord(DNSKEYRecordT &&value)
KeySigningKey & WithKeyTag(int value)
const Aws::String & GetPublicKey() const
KeySigningKey & WithDSRecord(DSRecordT &&value)
KeySigningKey & WithKmsArn(KmsArnT &&value)
const Aws::String & GetDigestAlgorithmMnemonic() const
KeySigningKey & WithStatus(StatusT &&value)
void SetStatusMessage(StatusMessageT &&value)
const Aws::String & GetSigningAlgorithmMnemonic() const
void SetDigestValue(DigestValueT &&value)
KeySigningKey & WithSigningAlgorithmType(int value)
AWS_ROUTE53_API KeySigningKey()=default
const Aws::String & GetStatusMessage() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetDNSKEYRecord(DNSKEYRecordT &&value)
const Aws::String & GetName() const
void SetKmsArn(KmsArnT &&value)
KeySigningKey & WithDigestValue(DigestValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String