AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DnssecSigningAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53domains/Route53Domains_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Route53Domains {
20namespace Model {
21
31 public:
32 AWS_ROUTE53DOMAINS_API DnssecSigningAttributes() = default;
33 AWS_ROUTE53DOMAINS_API DnssecSigningAttributes(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline int GetAlgorithm() const { return m_algorithm; }
42 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
43 inline void SetAlgorithm(int value) {
44 m_algorithmHasBeenSet = true;
45 m_algorithm = value;
46 }
48 SetAlgorithm(value);
49 return *this;
50 }
52
54
61 inline int GetFlags() const { return m_flags; }
62 inline bool FlagsHasBeenSet() const { return m_flagsHasBeenSet; }
63 inline void SetFlags(int value) {
64 m_flagsHasBeenSet = true;
65 m_flags = value;
66 }
68 SetFlags(value);
69 return *this;
70 }
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) {
82 m_publicKeyHasBeenSet = true;
83 m_publicKey = std::forward<PublicKeyT>(value);
84 }
85 template <typename PublicKeyT = Aws::String>
87 SetPublicKey(std::forward<PublicKeyT>(value));
88 return *this;
89 }
91 private:
92 int m_algorithm{0};
93
94 int m_flags{0};
95
96 Aws::String m_publicKey;
97 bool m_algorithmHasBeenSet = false;
98 bool m_flagsHasBeenSet = false;
99 bool m_publicKeyHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Route53Domains
104} // namespace Aws
AWS_ROUTE53DOMAINS_API DnssecSigningAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53DOMAINS_API DnssecSigningAttributes(Aws::Utils::Json::JsonView jsonValue)
DnssecSigningAttributes & WithPublicKey(PublicKeyT &&value)
AWS_ROUTE53DOMAINS_API DnssecSigningAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue