AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename PublicKeyT = Aws::String>
81 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::forward<PublicKeyT>(value); }
82 template<typename PublicKeyT = Aws::String>
83 DnssecKey& WithPublicKey(PublicKeyT&& value) { SetPublicKey(std::forward<PublicKeyT>(value)); return *this;}
85
87
94 inline int GetDigestType() const { return m_digestType; }
95 inline bool DigestTypeHasBeenSet() const { return m_digestTypeHasBeenSet; }
96 inline void SetDigestType(int value) { m_digestTypeHasBeenSet = true; m_digestType = value; }
97 inline DnssecKey& WithDigestType(int value) { SetDigestType(value); return *this;}
99
101
106 inline const Aws::String& GetDigest() const { return m_digest; }
107 inline bool DigestHasBeenSet() const { return m_digestHasBeenSet; }
108 template<typename DigestT = Aws::String>
109 void SetDigest(DigestT&& value) { m_digestHasBeenSet = true; m_digest = std::forward<DigestT>(value); }
110 template<typename DigestT = Aws::String>
111 DnssecKey& WithDigest(DigestT&& value) { SetDigest(std::forward<DigestT>(value)); return *this;}
113
115
119 inline int GetKeyTag() const { return m_keyTag; }
120 inline bool KeyTagHasBeenSet() const { return m_keyTagHasBeenSet; }
121 inline void SetKeyTag(int value) { m_keyTagHasBeenSet = true; m_keyTag = value; }
122 inline DnssecKey& WithKeyTag(int value) { SetKeyTag(value); return *this;}
124
126
131 inline const Aws::String& GetId() const { return m_id; }
132 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
133 template<typename IdT = Aws::String>
134 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
135 template<typename IdT = Aws::String>
136 DnssecKey& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
138 private:
139
140 int m_algorithm{0};
141 bool m_algorithmHasBeenSet = false;
142
143 int m_flags{0};
144 bool m_flagsHasBeenSet = false;
145
146 Aws::String m_publicKey;
147 bool m_publicKeyHasBeenSet = false;
148
149 int m_digestType{0};
150 bool m_digestTypeHasBeenSet = false;
151
152 Aws::String m_digest;
153 bool m_digestHasBeenSet = false;
154
155 int m_keyTag{0};
156 bool m_keyTagHasBeenSet = false;
157
158 Aws::String m_id;
159 bool m_idHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Route53Domains
164} // namespace Aws
DnssecKey & WithId(IdT &&value)
Definition DnssecKey.h:136
const Aws::String & GetPublicKey() const
Definition DnssecKey.h:78
DnssecKey & WithPublicKey(PublicKeyT &&value)
Definition DnssecKey.h:83
DnssecKey & WithKeyTag(int value)
Definition DnssecKey.h:122
DnssecKey & WithAlgorithm(int value)
Definition DnssecKey.h:56
const Aws::String & GetId() const
Definition DnssecKey.h:131
AWS_ROUTE53DOMAINS_API DnssecKey()=default
AWS_ROUTE53DOMAINS_API DnssecKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
DnssecKey & WithDigest(DigestT &&value)
Definition DnssecKey.h:111
DnssecKey & WithDigestType(int value)
Definition DnssecKey.h:97
DnssecKey & WithFlags(int value)
Definition DnssecKey.h:70
void SetDigest(DigestT &&value)
Definition DnssecKey.h:109
const Aws::String & GetDigest() const
Definition DnssecKey.h:106
AWS_ROUTE53DOMAINS_API DnssecKey(Aws::Utils::Json::JsonView jsonValue)
void SetPublicKey(PublicKeyT &&value)
Definition DnssecKey.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue