AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
DnsVerification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/model/DNSRecordType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityAgent {
21namespace Model {
22
31 public:
32 AWS_SECURITYAGENT_API DnsVerification() = default;
33 AWS_SECURITYAGENT_API DnsVerification(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API DnsVerification& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetToken() const { return m_token; }
42 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
43 template <typename TokenT = Aws::String>
44 void SetToken(TokenT&& value) {
45 m_tokenHasBeenSet = true;
46 m_token = std::forward<TokenT>(value);
47 }
48 template <typename TokenT = Aws::String>
49 DnsVerification& WithToken(TokenT&& value) {
50 SetToken(std::forward<TokenT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDnsRecordName() const { return m_dnsRecordName; }
60 inline bool DnsRecordNameHasBeenSet() const { return m_dnsRecordNameHasBeenSet; }
61 template <typename DnsRecordNameT = Aws::String>
62 void SetDnsRecordName(DnsRecordNameT&& value) {
63 m_dnsRecordNameHasBeenSet = true;
64 m_dnsRecordName = std::forward<DnsRecordNameT>(value);
65 }
66 template <typename DnsRecordNameT = Aws::String>
67 DnsVerification& WithDnsRecordName(DnsRecordNameT&& value) {
68 SetDnsRecordName(std::forward<DnsRecordNameT>(value));
69 return *this;
70 }
72
74
77 inline DNSRecordType GetDnsRecordType() const { return m_dnsRecordType; }
78 inline bool DnsRecordTypeHasBeenSet() const { return m_dnsRecordTypeHasBeenSet; }
79 inline void SetDnsRecordType(DNSRecordType value) {
80 m_dnsRecordTypeHasBeenSet = true;
81 m_dnsRecordType = value;
82 }
84 SetDnsRecordType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_token;
90
91 Aws::String m_dnsRecordName;
92
94 bool m_tokenHasBeenSet = false;
95 bool m_dnsRecordNameHasBeenSet = false;
96 bool m_dnsRecordTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SecurityAgent
101} // namespace Aws
const Aws::String & GetDnsRecordName() const
DnsVerification & WithToken(TokenT &&value)
AWS_SECURITYAGENT_API DnsVerification()=default
DnsVerification & WithDnsRecordName(DnsRecordNameT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DnsVerification & WithDnsRecordType(DNSRecordType value)
AWS_SECURITYAGENT_API DnsVerification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDnsRecordName(DnsRecordNameT &&value)
AWS_SECURITYAGENT_API DnsVerification(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue