AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainValidationRecord.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/ResourceRecord.h>
10#include <aws/lightsail/model/DnsRecordCreationState.h>
11#include <aws/lightsail/model/CertificateDomainValidationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_LIGHTSAIL_API DomainValidationRecord();
42 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
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 DomainValidationRecord& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
56 inline DomainValidationRecord& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
57 inline DomainValidationRecord& WithDomainName(const char* value) { SetDomainName(value); return *this;}
59
61
65 inline const ResourceRecord& GetResourceRecord() const{ return m_resourceRecord; }
66 inline bool ResourceRecordHasBeenSet() const { return m_resourceRecordHasBeenSet; }
67 inline void SetResourceRecord(const ResourceRecord& value) { m_resourceRecordHasBeenSet = true; m_resourceRecord = value; }
68 inline void SetResourceRecord(ResourceRecord&& value) { m_resourceRecordHasBeenSet = true; m_resourceRecord = std::move(value); }
69 inline DomainValidationRecord& WithResourceRecord(const ResourceRecord& value) { SetResourceRecord(value); return *this;}
70 inline DomainValidationRecord& WithResourceRecord(ResourceRecord&& value) { SetResourceRecord(std::move(value)); return *this;}
72
74
79 inline const DnsRecordCreationState& GetDnsRecordCreationState() const{ return m_dnsRecordCreationState; }
80 inline bool DnsRecordCreationStateHasBeenSet() const { return m_dnsRecordCreationStateHasBeenSet; }
81 inline void SetDnsRecordCreationState(const DnsRecordCreationState& value) { m_dnsRecordCreationStateHasBeenSet = true; m_dnsRecordCreationState = value; }
82 inline void SetDnsRecordCreationState(DnsRecordCreationState&& value) { m_dnsRecordCreationStateHasBeenSet = true; m_dnsRecordCreationState = std::move(value); }
86
88
91 inline const CertificateDomainValidationStatus& GetValidationStatus() const{ return m_validationStatus; }
92 inline bool ValidationStatusHasBeenSet() const { return m_validationStatusHasBeenSet; }
93 inline void SetValidationStatus(const CertificateDomainValidationStatus& value) { m_validationStatusHasBeenSet = true; m_validationStatus = value; }
94 inline void SetValidationStatus(CertificateDomainValidationStatus&& value) { m_validationStatusHasBeenSet = true; m_validationStatus = std::move(value); }
98 private:
99
100 Aws::String m_domainName;
101 bool m_domainNameHasBeenSet = false;
102
103 ResourceRecord m_resourceRecord;
104 bool m_resourceRecordHasBeenSet = false;
105
106 DnsRecordCreationState m_dnsRecordCreationState;
107 bool m_dnsRecordCreationStateHasBeenSet = false;
108
109 CertificateDomainValidationStatus m_validationStatus;
110 bool m_validationStatusHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Lightsail
115} // namespace Aws
void SetValidationStatus(CertificateDomainValidationStatus &&value)
DomainValidationRecord & WithResourceRecord(const ResourceRecord &value)
const DnsRecordCreationState & GetDnsRecordCreationState() const
const CertificateDomainValidationStatus & GetValidationStatus() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDnsRecordCreationState(DnsRecordCreationState &&value)
DomainValidationRecord & WithValidationStatus(const CertificateDomainValidationStatus &value)
DomainValidationRecord & WithDomainName(Aws::String &&value)
void SetDnsRecordCreationState(const DnsRecordCreationState &value)
DomainValidationRecord & WithDnsRecordCreationState(const DnsRecordCreationState &value)
AWS_LIGHTSAIL_API DomainValidationRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainValidationRecord & WithDomainName(const char *value)
void SetResourceRecord(const ResourceRecord &value)
DomainValidationRecord & WithResourceRecord(ResourceRecord &&value)
DomainValidationRecord & WithDnsRecordCreationState(DnsRecordCreationState &&value)
AWS_LIGHTSAIL_API DomainValidationRecord(Aws::Utils::Json::JsonView jsonValue)
void SetValidationStatus(const CertificateDomainValidationStatus &value)
DomainValidationRecord & WithValidationStatus(CertificateDomainValidationStatus &&value)
DomainValidationRecord & WithDomainName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue