AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
TargetDomain.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/TargetDomainStatus.h>
11#include <aws/securityagent/model/VerificationDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityAgent {
23namespace Model {
24
31 public:
32 AWS_SECURITYAGENT_API TargetDomain() = default;
33 AWS_SECURITYAGENT_API TargetDomain(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API TargetDomain& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetTargetDomainId() const { return m_targetDomainId; }
42 inline bool TargetDomainIdHasBeenSet() const { return m_targetDomainIdHasBeenSet; }
43 template <typename TargetDomainIdT = Aws::String>
44 void SetTargetDomainId(TargetDomainIdT&& value) {
45 m_targetDomainIdHasBeenSet = true;
46 m_targetDomainId = std::forward<TargetDomainIdT>(value);
47 }
48 template <typename TargetDomainIdT = Aws::String>
49 TargetDomain& WithTargetDomainId(TargetDomainIdT&& value) {
50 SetTargetDomainId(std::forward<TargetDomainIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDomainName() const { return m_domainName; }
60 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
61 template <typename DomainNameT = Aws::String>
62 void SetDomainName(DomainNameT&& value) {
63 m_domainNameHasBeenSet = true;
64 m_domainName = std::forward<DomainNameT>(value);
65 }
66 template <typename DomainNameT = Aws::String>
67 TargetDomain& WithDomainName(DomainNameT&& value) {
68 SetDomainName(std::forward<DomainNameT>(value));
69 return *this;
70 }
72
74
77 inline TargetDomainStatus GetVerificationStatus() const { return m_verificationStatus; }
78 inline bool VerificationStatusHasBeenSet() const { return m_verificationStatusHasBeenSet; }
80 m_verificationStatusHasBeenSet = true;
81 m_verificationStatus = value;
82 }
85 return *this;
86 }
88
90
93 inline const VerificationDetails& GetVerificationDetails() const { return m_verificationDetails; }
94 inline bool VerificationDetailsHasBeenSet() const { return m_verificationDetailsHasBeenSet; }
95 template <typename VerificationDetailsT = VerificationDetails>
96 void SetVerificationDetails(VerificationDetailsT&& value) {
97 m_verificationDetailsHasBeenSet = true;
98 m_verificationDetails = std::forward<VerificationDetailsT>(value);
99 }
100 template <typename VerificationDetailsT = VerificationDetails>
101 TargetDomain& WithVerificationDetails(VerificationDetailsT&& value) {
102 SetVerificationDetails(std::forward<VerificationDetailsT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
112 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
113 template <typename CreatedAtT = Aws::Utils::DateTime>
114 void SetCreatedAt(CreatedAtT&& value) {
115 m_createdAtHasBeenSet = true;
116 m_createdAt = std::forward<CreatedAtT>(value);
117 }
118 template <typename CreatedAtT = Aws::Utils::DateTime>
119 TargetDomain& WithCreatedAt(CreatedAtT&& value) {
120 SetCreatedAt(std::forward<CreatedAtT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetVerifiedAt() const { return m_verifiedAt; }
130 inline bool VerifiedAtHasBeenSet() const { return m_verifiedAtHasBeenSet; }
131 template <typename VerifiedAtT = Aws::Utils::DateTime>
132 void SetVerifiedAt(VerifiedAtT&& value) {
133 m_verifiedAtHasBeenSet = true;
134 m_verifiedAt = std::forward<VerifiedAtT>(value);
135 }
136 template <typename VerifiedAtT = Aws::Utils::DateTime>
137 TargetDomain& WithVerifiedAt(VerifiedAtT&& value) {
138 SetVerifiedAt(std::forward<VerifiedAtT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_targetDomainId;
144
145 Aws::String m_domainName;
146
148
149 VerificationDetails m_verificationDetails;
150
151 Aws::Utils::DateTime m_createdAt{};
152
153 Aws::Utils::DateTime m_verifiedAt{};
154 bool m_targetDomainIdHasBeenSet = false;
155 bool m_domainNameHasBeenSet = false;
156 bool m_verificationStatusHasBeenSet = false;
157 bool m_verificationDetailsHasBeenSet = false;
158 bool m_createdAtHasBeenSet = false;
159 bool m_verifiedAtHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace SecurityAgent
164} // namespace Aws
AWS_SECURITYAGENT_API TargetDomain(Aws::Utils::Json::JsonView jsonValue)
void SetVerifiedAt(VerifiedAtT &&value)
TargetDomain & WithCreatedAt(CreatedAtT &&value)
TargetDomain & WithVerificationDetails(VerificationDetailsT &&value)
void SetCreatedAt(CreatedAtT &&value)
TargetDomain & WithDomainName(DomainNameT &&value)
AWS_SECURITYAGENT_API TargetDomain & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API TargetDomain()=default
void SetVerificationStatus(TargetDomainStatus value)
TargetDomain & WithVerificationStatus(TargetDomainStatus value)
TargetDomain & WithVerifiedAt(VerifiedAtT &&value)
const Aws::String & GetTargetDomainId() const
void SetTargetDomainId(TargetDomainIdT &&value)
TargetDomain & WithTargetDomainId(TargetDomainIdT &&value)
const Aws::String & GetDomainName() const
TargetDomainStatus GetVerificationStatus() const
const Aws::Utils::DateTime & GetVerifiedAt() const
const VerificationDetails & GetVerificationDetails() const
void SetDomainName(DomainNameT &&value)
void SetVerificationDetails(VerificationDetailsT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue