AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DnssecKey.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Route53Domains
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_ROUTE53DOMAINS_API DnssecKey();
39 AWS_ROUTE53DOMAINS_API DnssecKey(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53DOMAINS_API DnssecKey& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
53 inline int GetAlgorithm() const{ return m_algorithm; }
54 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
55 inline void SetAlgorithm(int value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
56 inline DnssecKey& WithAlgorithm(int value) { SetAlgorithm(value); return *this;}
58
60
67 inline int GetFlags() const{ return m_flags; }
68 inline bool FlagsHasBeenSet() const { return m_flagsHasBeenSet; }
69 inline void SetFlags(int value) { m_flagsHasBeenSet = true; m_flags = value; }
70 inline DnssecKey& WithFlags(int value) { SetFlags(value); return *this;}
72
74
78 inline const Aws::String& GetPublicKey() const{ return m_publicKey; }
79 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
80 inline void SetPublicKey(const Aws::String& value) { m_publicKeyHasBeenSet = true; m_publicKey = value; }
81 inline void SetPublicKey(Aws::String&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::move(value); }
82 inline void SetPublicKey(const char* value) { m_publicKeyHasBeenSet = true; m_publicKey.assign(value); }
83 inline DnssecKey& WithPublicKey(const Aws::String& value) { SetPublicKey(value); return *this;}
84 inline DnssecKey& WithPublicKey(Aws::String&& value) { SetPublicKey(std::move(value)); return *this;}
85 inline DnssecKey& WithPublicKey(const char* value) { SetPublicKey(value); return *this;}
87
89
96 inline int GetDigestType() const{ return m_digestType; }
97 inline bool DigestTypeHasBeenSet() const { return m_digestTypeHasBeenSet; }
98 inline void SetDigestType(int value) { m_digestTypeHasBeenSet = true; m_digestType = value; }
99 inline DnssecKey& WithDigestType(int value) { SetDigestType(value); return *this;}
101
103
108 inline const Aws::String& GetDigest() const{ return m_digest; }
109 inline bool DigestHasBeenSet() const { return m_digestHasBeenSet; }
110 inline void SetDigest(const Aws::String& value) { m_digestHasBeenSet = true; m_digest = value; }
111 inline void SetDigest(Aws::String&& value) { m_digestHasBeenSet = true; m_digest = std::move(value); }
112 inline void SetDigest(const char* value) { m_digestHasBeenSet = true; m_digest.assign(value); }
113 inline DnssecKey& WithDigest(const Aws::String& value) { SetDigest(value); return *this;}
114 inline DnssecKey& WithDigest(Aws::String&& value) { SetDigest(std::move(value)); return *this;}
115 inline DnssecKey& WithDigest(const char* value) { SetDigest(value); return *this;}
117
119
123 inline int GetKeyTag() const{ return m_keyTag; }
124 inline bool KeyTagHasBeenSet() const { return m_keyTagHasBeenSet; }
125 inline void SetKeyTag(int value) { m_keyTagHasBeenSet = true; m_keyTag = value; }
126 inline DnssecKey& WithKeyTag(int value) { SetKeyTag(value); return *this;}
128
130
135 inline const Aws::String& GetId() const{ return m_id; }
136 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
137 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
138 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
139 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
140 inline DnssecKey& WithId(const Aws::String& value) { SetId(value); return *this;}
141 inline DnssecKey& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
142 inline DnssecKey& WithId(const char* value) { SetId(value); return *this;}
144 private:
145
146 int m_algorithm;
147 bool m_algorithmHasBeenSet = false;
148
149 int m_flags;
150 bool m_flagsHasBeenSet = false;
151
152 Aws::String m_publicKey;
153 bool m_publicKeyHasBeenSet = false;
154
155 int m_digestType;
156 bool m_digestTypeHasBeenSet = false;
157
158 Aws::String m_digest;
159 bool m_digestHasBeenSet = false;
160
161 int m_keyTag;
162 bool m_keyTagHasBeenSet = false;
163
164 Aws::String m_id;
165 bool m_idHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace Route53Domains
170} // namespace Aws
DnssecKey & WithDigest(Aws::String &&value)
Definition DnssecKey.h:114
DnssecKey & WithId(const Aws::String &value)
Definition DnssecKey.h:140
void SetPublicKey(const Aws::String &value)
Definition DnssecKey.h:80
void SetId(Aws::String &&value)
Definition DnssecKey.h:138
void SetDigest(const Aws::String &value)
Definition DnssecKey.h:110
DnssecKey & WithDigest(const char *value)
Definition DnssecKey.h:115
const Aws::String & GetPublicKey() const
Definition DnssecKey.h:78
DnssecKey & WithPublicKey(const Aws::String &value)
Definition DnssecKey.h:83
DnssecKey & WithKeyTag(int value)
Definition DnssecKey.h:126
DnssecKey & WithAlgorithm(int value)
Definition DnssecKey.h:56
AWS_ROUTE53DOMAINS_API DnssecKey()
const Aws::String & GetId() const
Definition DnssecKey.h:135
void SetPublicKey(const char *value)
Definition DnssecKey.h:82
AWS_ROUTE53DOMAINS_API DnssecKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
DnssecKey & WithPublicKey(const char *value)
Definition DnssecKey.h:85
DnssecKey & WithDigestType(int value)
Definition DnssecKey.h:99
DnssecKey & WithFlags(int value)
Definition DnssecKey.h:70
void SetPublicKey(Aws::String &&value)
Definition DnssecKey.h:81
void SetDigest(Aws::String &&value)
Definition DnssecKey.h:111
void SetId(const Aws::String &value)
Definition DnssecKey.h:137
DnssecKey & WithId(const char *value)
Definition DnssecKey.h:142
void SetId(const char *value)
Definition DnssecKey.h:139
const Aws::String & GetDigest() const
Definition DnssecKey.h:108
DnssecKey & WithDigest(const Aws::String &value)
Definition DnssecKey.h:113
AWS_ROUTE53DOMAINS_API DnssecKey(Aws::Utils::Json::JsonView jsonValue)
DnssecKey & WithId(Aws::String &&value)
Definition DnssecKey.h:141
void SetDigest(const char *value)
Definition DnssecKey.h:112
DnssecKey & WithPublicKey(Aws::String &&value)
Definition DnssecKey.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue