AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainValidation.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/acm/model/DomainStatus.h>
11#include <aws/acm/model/ResourceRecord.h>
12#include <aws/acm/model/ValidationMethod.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ACM
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ACM_API DomainValidation();
43
44
46
50 inline const Aws::String& GetDomainName() const{ return m_domainName; }
51 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
52 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
53 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
54 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
55 inline DomainValidation& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
56 inline DomainValidation& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
57 inline DomainValidation& WithDomainName(const char* value) { SetDomainName(value); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetValidationEmails() const{ return m_validationEmails; }
65 inline bool ValidationEmailsHasBeenSet() const { return m_validationEmailsHasBeenSet; }
66 inline void SetValidationEmails(const Aws::Vector<Aws::String>& value) { m_validationEmailsHasBeenSet = true; m_validationEmails = value; }
67 inline void SetValidationEmails(Aws::Vector<Aws::String>&& value) { m_validationEmailsHasBeenSet = true; m_validationEmails = std::move(value); }
69 inline DomainValidation& WithValidationEmails(Aws::Vector<Aws::String>&& value) { SetValidationEmails(std::move(value)); return *this;}
70 inline DomainValidation& AddValidationEmails(const Aws::String& value) { m_validationEmailsHasBeenSet = true; m_validationEmails.push_back(value); return *this; }
71 inline DomainValidation& AddValidationEmails(Aws::String&& value) { m_validationEmailsHasBeenSet = true; m_validationEmails.push_back(std::move(value)); return *this; }
72 inline DomainValidation& AddValidationEmails(const char* value) { m_validationEmailsHasBeenSet = true; m_validationEmails.push_back(value); return *this; }
74
76
79 inline const Aws::String& GetValidationDomain() const{ return m_validationDomain; }
80 inline bool ValidationDomainHasBeenSet() const { return m_validationDomainHasBeenSet; }
81 inline void SetValidationDomain(const Aws::String& value) { m_validationDomainHasBeenSet = true; m_validationDomain = value; }
82 inline void SetValidationDomain(Aws::String&& value) { m_validationDomainHasBeenSet = true; m_validationDomain = std::move(value); }
83 inline void SetValidationDomain(const char* value) { m_validationDomainHasBeenSet = true; m_validationDomain.assign(value); }
84 inline DomainValidation& WithValidationDomain(const Aws::String& value) { SetValidationDomain(value); return *this;}
85 inline DomainValidation& WithValidationDomain(Aws::String&& value) { SetValidationDomain(std::move(value)); return *this;}
86 inline DomainValidation& WithValidationDomain(const char* value) { SetValidationDomain(value); return *this;}
88
90
95 inline const DomainStatus& GetValidationStatus() const{ return m_validationStatus; }
96 inline bool ValidationStatusHasBeenSet() const { return m_validationStatusHasBeenSet; }
97 inline void SetValidationStatus(const DomainStatus& value) { m_validationStatusHasBeenSet = true; m_validationStatus = value; }
98 inline void SetValidationStatus(DomainStatus&& value) { m_validationStatusHasBeenSet = true; m_validationStatus = std::move(value); }
99 inline DomainValidation& WithValidationStatus(const DomainStatus& value) { SetValidationStatus(value); return *this;}
100 inline DomainValidation& WithValidationStatus(DomainStatus&& value) { SetValidationStatus(std::move(value)); return *this;}
102
104
114 inline const ResourceRecord& GetResourceRecord() const{ return m_resourceRecord; }
115 inline bool ResourceRecordHasBeenSet() const { return m_resourceRecordHasBeenSet; }
116 inline void SetResourceRecord(const ResourceRecord& value) { m_resourceRecordHasBeenSet = true; m_resourceRecord = value; }
117 inline void SetResourceRecord(ResourceRecord&& value) { m_resourceRecordHasBeenSet = true; m_resourceRecord = std::move(value); }
118 inline DomainValidation& WithResourceRecord(const ResourceRecord& value) { SetResourceRecord(value); return *this;}
119 inline DomainValidation& WithResourceRecord(ResourceRecord&& value) { SetResourceRecord(std::move(value)); return *this;}
121
123
126 inline const ValidationMethod& GetValidationMethod() const{ return m_validationMethod; }
127 inline bool ValidationMethodHasBeenSet() const { return m_validationMethodHasBeenSet; }
128 inline void SetValidationMethod(const ValidationMethod& value) { m_validationMethodHasBeenSet = true; m_validationMethod = value; }
129 inline void SetValidationMethod(ValidationMethod&& value) { m_validationMethodHasBeenSet = true; m_validationMethod = std::move(value); }
130 inline DomainValidation& WithValidationMethod(const ValidationMethod& value) { SetValidationMethod(value); return *this;}
131 inline DomainValidation& WithValidationMethod(ValidationMethod&& value) { SetValidationMethod(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_domainName;
136 bool m_domainNameHasBeenSet = false;
137
138 Aws::Vector<Aws::String> m_validationEmails;
139 bool m_validationEmailsHasBeenSet = false;
140
141 Aws::String m_validationDomain;
142 bool m_validationDomainHasBeenSet = false;
143
144 DomainStatus m_validationStatus;
145 bool m_validationStatusHasBeenSet = false;
146
147 ResourceRecord m_resourceRecord;
148 bool m_resourceRecordHasBeenSet = false;
149
150 ValidationMethod m_validationMethod;
151 bool m_validationMethodHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace ACM
156} // namespace Aws
void SetValidationEmails(const Aws::Vector< Aws::String > &value)
void SetResourceRecord(ResourceRecord &&value)
DomainValidation & AddValidationEmails(const char *value)
void SetValidationStatus(const DomainStatus &value)
AWS_ACM_API DomainValidation & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainValidation & WithValidationStatus(const DomainStatus &value)
void SetDomainName(Aws::String &&value)
void SetValidationDomain(const Aws::String &value)
DomainValidation & WithResourceRecord(ResourceRecord &&value)
const ValidationMethod & GetValidationMethod() const
void SetValidationDomain(const char *value)
DomainValidation & WithValidationDomain(const char *value)
const Aws::Vector< Aws::String > & GetValidationEmails() const
const Aws::String & GetDomainName() const
DomainValidation & WithDomainName(Aws::String &&value)
DomainValidation & WithDomainName(const char *value)
void SetResourceRecord(const ResourceRecord &value)
DomainValidation & WithResourceRecord(const ResourceRecord &value)
DomainValidation & AddValidationEmails(Aws::String &&value)
void SetValidationDomain(Aws::String &&value)
DomainValidation & WithValidationMethod(ValidationMethod &&value)
DomainValidation & WithValidationEmails(Aws::Vector< Aws::String > &&value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
DomainValidation & WithValidationMethod(const ValidationMethod &value)
const ResourceRecord & GetResourceRecord() const
DomainValidation & WithValidationEmails(const Aws::Vector< Aws::String > &value)
const Aws::String & GetValidationDomain() const
const DomainStatus & GetValidationStatus() const
DomainValidation & WithValidationDomain(const Aws::String &value)
DomainValidation & WithDomainName(const Aws::String &value)
AWS_ACM_API DomainValidation(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(const char *value)
void SetDomainName(const Aws::String &value)
DomainValidation & WithValidationDomain(Aws::String &&value)
void SetValidationMethod(const ValidationMethod &value)
void SetValidationMethod(ValidationMethod &&value)
void SetValidationEmails(Aws::Vector< Aws::String > &&value)
void SetValidationStatus(DomainStatus &&value)
DomainValidation & AddValidationEmails(const Aws::String &value)
DomainValidation & WithValidationStatus(DomainStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue