AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline KeySigningKey& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline KeySigningKey& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline KeySigningKey& WithName(const char* value) { SetName(value); return *this;}
60
62
78 inline const Aws::String& GetKmsArn() const{ return m_kmsArn; }
79 inline bool KmsArnHasBeenSet() const { return m_kmsArnHasBeenSet; }
80 inline void SetKmsArn(const Aws::String& value) { m_kmsArnHasBeenSet = true; m_kmsArn = value; }
81 inline void SetKmsArn(Aws::String&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::move(value); }
82 inline void SetKmsArn(const char* value) { m_kmsArnHasBeenSet = true; m_kmsArn.assign(value); }
83 inline KeySigningKey& WithKmsArn(const Aws::String& value) { SetKmsArn(value); return *this;}
84 inline KeySigningKey& WithKmsArn(Aws::String&& value) { SetKmsArn(std::move(value)); return *this;}
85 inline KeySigningKey& WithKmsArn(const char* value) { SetKmsArn(value); return *this;}
87
89
93 inline int GetFlag() const{ return m_flag; }
94 inline bool FlagHasBeenSet() const { return m_flagHasBeenSet; }
95 inline void SetFlag(int value) { m_flagHasBeenSet = true; m_flag = value; }
96 inline KeySigningKey& WithFlag(int value) { SetFlag(value); return *this;}
98
100
106 inline const Aws::String& GetSigningAlgorithmMnemonic() const{ return m_signingAlgorithmMnemonic; }
107 inline bool SigningAlgorithmMnemonicHasBeenSet() const { return m_signingAlgorithmMnemonicHasBeenSet; }
108 inline void SetSigningAlgorithmMnemonic(const Aws::String& value) { m_signingAlgorithmMnemonicHasBeenSet = true; m_signingAlgorithmMnemonic = value; }
109 inline void SetSigningAlgorithmMnemonic(Aws::String&& value) { m_signingAlgorithmMnemonicHasBeenSet = true; m_signingAlgorithmMnemonic = std::move(value); }
110 inline void SetSigningAlgorithmMnemonic(const char* value) { m_signingAlgorithmMnemonicHasBeenSet = true; m_signingAlgorithmMnemonic.assign(value); }
112 inline KeySigningKey& WithSigningAlgorithmMnemonic(Aws::String&& value) { SetSigningAlgorithmMnemonic(std::move(value)); return *this;}
113 inline KeySigningKey& WithSigningAlgorithmMnemonic(const char* value) { SetSigningAlgorithmMnemonic(value); return *this;}
115
117
123 inline int GetSigningAlgorithmType() const{ return m_signingAlgorithmType; }
124 inline bool SigningAlgorithmTypeHasBeenSet() const { return m_signingAlgorithmTypeHasBeenSet; }
125 inline void SetSigningAlgorithmType(int value) { m_signingAlgorithmTypeHasBeenSet = true; m_signingAlgorithmType = value; }
126 inline KeySigningKey& WithSigningAlgorithmType(int value) { SetSigningAlgorithmType(value); return *this;}
128
130
136 inline const Aws::String& GetDigestAlgorithmMnemonic() const{ return m_digestAlgorithmMnemonic; }
137 inline bool DigestAlgorithmMnemonicHasBeenSet() const { return m_digestAlgorithmMnemonicHasBeenSet; }
138 inline void SetDigestAlgorithmMnemonic(const Aws::String& value) { m_digestAlgorithmMnemonicHasBeenSet = true; m_digestAlgorithmMnemonic = value; }
139 inline void SetDigestAlgorithmMnemonic(Aws::String&& value) { m_digestAlgorithmMnemonicHasBeenSet = true; m_digestAlgorithmMnemonic = std::move(value); }
140 inline void SetDigestAlgorithmMnemonic(const char* value) { m_digestAlgorithmMnemonicHasBeenSet = true; m_digestAlgorithmMnemonic.assign(value); }
142 inline KeySigningKey& WithDigestAlgorithmMnemonic(Aws::String&& value) { SetDigestAlgorithmMnemonic(std::move(value)); return *this;}
143 inline KeySigningKey& WithDigestAlgorithmMnemonic(const char* value) { SetDigestAlgorithmMnemonic(value); return *this;}
145
147
153 inline int GetDigestAlgorithmType() const{ return m_digestAlgorithmType; }
154 inline bool DigestAlgorithmTypeHasBeenSet() const { return m_digestAlgorithmTypeHasBeenSet; }
155 inline void SetDigestAlgorithmType(int value) { m_digestAlgorithmTypeHasBeenSet = true; m_digestAlgorithmType = value; }
156 inline KeySigningKey& WithDigestAlgorithmType(int value) { SetDigestAlgorithmType(value); return *this;}
158
160
165 inline int GetKeyTag() const{ return m_keyTag; }
166 inline bool KeyTagHasBeenSet() const { return m_keyTagHasBeenSet; }
167 inline void SetKeyTag(int value) { m_keyTagHasBeenSet = true; m_keyTag = value; }
168 inline KeySigningKey& WithKeyTag(int value) { SetKeyTag(value); return *this;}
170
172
178 inline const Aws::String& GetDigestValue() const{ return m_digestValue; }
179 inline bool DigestValueHasBeenSet() const { return m_digestValueHasBeenSet; }
180 inline void SetDigestValue(const Aws::String& value) { m_digestValueHasBeenSet = true; m_digestValue = value; }
181 inline void SetDigestValue(Aws::String&& value) { m_digestValueHasBeenSet = true; m_digestValue = std::move(value); }
182 inline void SetDigestValue(const char* value) { m_digestValueHasBeenSet = true; m_digestValue.assign(value); }
183 inline KeySigningKey& WithDigestValue(const Aws::String& value) { SetDigestValue(value); return *this;}
184 inline KeySigningKey& WithDigestValue(Aws::String&& value) { SetDigestValue(std::move(value)); return *this;}
185 inline KeySigningKey& WithDigestValue(const char* value) { SetDigestValue(value); return *this;}
187
189
193 inline const Aws::String& GetPublicKey() const{ return m_publicKey; }
194 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
195 inline void SetPublicKey(const Aws::String& value) { m_publicKeyHasBeenSet = true; m_publicKey = value; }
196 inline void SetPublicKey(Aws::String&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::move(value); }
197 inline void SetPublicKey(const char* value) { m_publicKeyHasBeenSet = true; m_publicKey.assign(value); }
198 inline KeySigningKey& WithPublicKey(const Aws::String& value) { SetPublicKey(value); return *this;}
199 inline KeySigningKey& WithPublicKey(Aws::String&& value) { SetPublicKey(std::move(value)); return *this;}
200 inline KeySigningKey& WithPublicKey(const char* value) { SetPublicKey(value); return *this;}
202
204
207 inline const Aws::String& GetDSRecord() const{ return m_dSRecord; }
208 inline bool DSRecordHasBeenSet() const { return m_dSRecordHasBeenSet; }
209 inline void SetDSRecord(const Aws::String& value) { m_dSRecordHasBeenSet = true; m_dSRecord = value; }
210 inline void SetDSRecord(Aws::String&& value) { m_dSRecordHasBeenSet = true; m_dSRecord = std::move(value); }
211 inline void SetDSRecord(const char* value) { m_dSRecordHasBeenSet = true; m_dSRecord.assign(value); }
212 inline KeySigningKey& WithDSRecord(const Aws::String& value) { SetDSRecord(value); return *this;}
213 inline KeySigningKey& WithDSRecord(Aws::String&& value) { SetDSRecord(std::move(value)); return *this;}
214 inline KeySigningKey& WithDSRecord(const char* value) { SetDSRecord(value); return *this;}
216
218
221 inline const Aws::String& GetDNSKEYRecord() const{ return m_dNSKEYRecord; }
222 inline bool DNSKEYRecordHasBeenSet() const { return m_dNSKEYRecordHasBeenSet; }
223 inline void SetDNSKEYRecord(const Aws::String& value) { m_dNSKEYRecordHasBeenSet = true; m_dNSKEYRecord = value; }
224 inline void SetDNSKEYRecord(Aws::String&& value) { m_dNSKEYRecordHasBeenSet = true; m_dNSKEYRecord = std::move(value); }
225 inline void SetDNSKEYRecord(const char* value) { m_dNSKEYRecordHasBeenSet = true; m_dNSKEYRecord.assign(value); }
226 inline KeySigningKey& WithDNSKEYRecord(const Aws::String& value) { SetDNSKEYRecord(value); return *this;}
227 inline KeySigningKey& WithDNSKEYRecord(Aws::String&& value) { SetDNSKEYRecord(std::move(value)); return *this;}
228 inline KeySigningKey& WithDNSKEYRecord(const char* value) { SetDNSKEYRecord(value); return *this;}
230
232
246 inline const Aws::String& GetStatus() const{ return m_status; }
247 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
248 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
249 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
250 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
251 inline KeySigningKey& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
252 inline KeySigningKey& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
253 inline KeySigningKey& WithStatus(const char* value) { SetStatus(value); return *this;}
255
257
263 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
264 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
265 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
266 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
267 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
268 inline KeySigningKey& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
269 inline KeySigningKey& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
270 inline KeySigningKey& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
272
274
277 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
278 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
279 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
280 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
281 inline KeySigningKey& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
282 inline KeySigningKey& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
284
286
289 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
290 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
291 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
292 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
293 inline KeySigningKey& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
294 inline KeySigningKey& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
296 private:
297
298 Aws::String m_name;
299 bool m_nameHasBeenSet = false;
300
301 Aws::String m_kmsArn;
302 bool m_kmsArnHasBeenSet = false;
303
304 int m_flag;
305 bool m_flagHasBeenSet = false;
306
307 Aws::String m_signingAlgorithmMnemonic;
308 bool m_signingAlgorithmMnemonicHasBeenSet = false;
309
310 int m_signingAlgorithmType;
311 bool m_signingAlgorithmTypeHasBeenSet = false;
312
313 Aws::String m_digestAlgorithmMnemonic;
314 bool m_digestAlgorithmMnemonicHasBeenSet = false;
315
316 int m_digestAlgorithmType;
317 bool m_digestAlgorithmTypeHasBeenSet = false;
318
319 int m_keyTag;
320 bool m_keyTagHasBeenSet = false;
321
322 Aws::String m_digestValue;
323 bool m_digestValueHasBeenSet = false;
324
325 Aws::String m_publicKey;
326 bool m_publicKeyHasBeenSet = false;
327
328 Aws::String m_dSRecord;
329 bool m_dSRecordHasBeenSet = false;
330
331 Aws::String m_dNSKEYRecord;
332 bool m_dNSKEYRecordHasBeenSet = false;
333
334 Aws::String m_status;
335 bool m_statusHasBeenSet = false;
336
337 Aws::String m_statusMessage;
338 bool m_statusMessageHasBeenSet = false;
339
340 Aws::Utils::DateTime m_createdDate;
341 bool m_createdDateHasBeenSet = false;
342
343 Aws::Utils::DateTime m_lastModifiedDate;
344 bool m_lastModifiedDateHasBeenSet = false;
345 };
346
347} // namespace Model
348} // namespace Route53
349} // namespace Aws
const Aws::String & GetKmsArn() const
const Aws::String & GetDigestValue() const
KeySigningKey & WithDNSKEYRecord(const Aws::String &value)
KeySigningKey & WithPublicKey(const Aws::String &value)
KeySigningKey & WithStatus(Aws::String &&value)
KeySigningKey & WithStatusMessage(Aws::String &&value)
void SetStatus(Aws::String &&value)
void SetSigningAlgorithmMnemonic(Aws::String &&value)
KeySigningKey & WithDigestAlgorithmMnemonic(Aws::String &&value)
void SetDSRecord(const Aws::String &value)
KeySigningKey & WithKmsArn(Aws::String &&value)
void SetDSRecord(const char *value)
KeySigningKey & WithCreatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedDate() const
KeySigningKey & WithDNSKEYRecord(Aws::String &&value)
void SetName(const char *value)
void SetPublicKey(const char *value)
void SetName(const Aws::String &value)
void SetDNSKEYRecord(Aws::String &&value)
KeySigningKey & WithFlag(int value)
void SetDNSKEYRecord(const char *value)
void SetKmsArn(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
KeySigningKey & WithName(const char *value)
const Aws::String & GetDNSKEYRecord() const
void SetSigningAlgorithmMnemonic(const char *value)
KeySigningKey & WithLastModifiedDate(const Aws::Utils::DateTime &value)
AWS_ROUTE53_API KeySigningKey & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
KeySigningKey & WithDSRecord(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
KeySigningKey & WithSigningAlgorithmMnemonic(Aws::String &&value)
void SetDigestValue(const Aws::String &value)
void SetDSRecord(Aws::String &&value)
void SetStatus(const Aws::String &value)
void SetStatus(const char *value)
KeySigningKey & WithDNSKEYRecord(const char *value)
KeySigningKey & WithSigningAlgorithmMnemonic(const Aws::String &value)
void SetStatusMessage(const char *value)
KeySigningKey & WithLastModifiedDate(Aws::Utils::DateTime &&value)
KeySigningKey & WithDigestAlgorithmMnemonic(const Aws::String &value)
KeySigningKey & WithDigestAlgorithmType(int value)
KeySigningKey & WithKmsArn(const Aws::String &value)
KeySigningKey & WithPublicKey(const char *value)
KeySigningKey & WithSigningAlgorithmMnemonic(const char *value)
void SetSigningAlgorithmMnemonic(const Aws::String &value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetDigestAlgorithmMnemonic(const Aws::String &value)
void SetDigestValue(Aws::String &&value)
const Aws::String & GetStatus() const
const Aws::String & GetDSRecord() const
KeySigningKey & WithDSRecord(Aws::String &&value)
KeySigningKey & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetDigestAlgorithmMnemonic(Aws::String &&value)
KeySigningKey & WithDigestAlgorithmMnemonic(const char *value)
AWS_ROUTE53_API KeySigningKey(const Aws::Utils::Xml::XmlNode &xmlNode)
KeySigningKey & WithStatusMessage(const Aws::String &value)
KeySigningKey & WithKeyTag(int value)
const Aws::String & GetPublicKey() const
const Aws::String & GetDigestAlgorithmMnemonic() const
void SetKmsArn(Aws::String &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetPublicKey(const Aws::String &value)
KeySigningKey & WithPublicKey(Aws::String &&value)
KeySigningKey & WithName(Aws::String &&value)
const Aws::String & GetSigningAlgorithmMnemonic() const
KeySigningKey & WithStatusMessage(const char *value)
KeySigningKey & WithDigestValue(const Aws::String &value)
void SetPublicKey(Aws::String &&value)
KeySigningKey & WithSigningAlgorithmType(int value)
KeySigningKey & WithStatus(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
KeySigningKey & WithDigestValue(const char *value)
void SetDigestAlgorithmMnemonic(const char *value)
const Aws::String & GetStatusMessage() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
KeySigningKey & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
KeySigningKey & WithKmsArn(const char *value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
KeySigningKey & WithStatus(const char *value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
KeySigningKey & WithDigestValue(Aws::String &&value)
void SetDigestValue(const char *value)
KeySigningKey & WithDSRecord(const char *value)
void SetDNSKEYRecord(const Aws::String &value)
void SetKmsArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String