AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DnssecSigningAttributes.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
35 {
36 public:
37 AWS_ROUTE53DOMAINS_API DnssecSigningAttributes();
38 AWS_ROUTE53DOMAINS_API DnssecSigningAttributes(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetAlgorithm() const{ return m_algorithm; }
48 inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
49 inline void SetAlgorithm(int value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
50 inline DnssecSigningAttributes& WithAlgorithm(int value) { SetAlgorithm(value); return *this;}
52
54
61 inline int GetFlags() const{ return m_flags; }
62 inline bool FlagsHasBeenSet() const { return m_flagsHasBeenSet; }
63 inline void SetFlags(int value) { m_flagsHasBeenSet = true; m_flags = value; }
64 inline DnssecSigningAttributes& WithFlags(int value) { SetFlags(value); return *this;}
66
68
72 inline const Aws::String& GetPublicKey() const{ return m_publicKey; }
73 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
74 inline void SetPublicKey(const Aws::String& value) { m_publicKeyHasBeenSet = true; m_publicKey = value; }
75 inline void SetPublicKey(Aws::String&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::move(value); }
76 inline void SetPublicKey(const char* value) { m_publicKeyHasBeenSet = true; m_publicKey.assign(value); }
77 inline DnssecSigningAttributes& WithPublicKey(const Aws::String& value) { SetPublicKey(value); return *this;}
78 inline DnssecSigningAttributes& WithPublicKey(Aws::String&& value) { SetPublicKey(std::move(value)); return *this;}
79 inline DnssecSigningAttributes& WithPublicKey(const char* value) { SetPublicKey(value); return *this;}
81 private:
82
83 int m_algorithm;
84 bool m_algorithmHasBeenSet = false;
85
86 int m_flags;
87 bool m_flagsHasBeenSet = false;
88
89 Aws::String m_publicKey;
90 bool m_publicKeyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Route53Domains
95} // namespace Aws
AWS_ROUTE53DOMAINS_API DnssecSigningAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DnssecSigningAttributes & WithPublicKey(const char *value)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
DnssecSigningAttributes & WithPublicKey(Aws::String &&value)
AWS_ROUTE53DOMAINS_API DnssecSigningAttributes(Aws::Utils::Json::JsonView jsonValue)
DnssecSigningAttributes & WithPublicKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue