AWS SDK for C++  1.9.109
AWS SDK for C++
DomainValidationRecord.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lightsail
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 
52  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
53 
58  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
59 
64  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
65 
70  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
71 
76  inline DomainValidationRecord& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
77 
82  inline DomainValidationRecord& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
83 
88  inline DomainValidationRecord& WithDomainName(const char* value) { SetDomainName(value); return *this;}
89 
90 
95  inline const ResourceRecord& GetResourceRecord() const{ return m_resourceRecord; }
96 
101  inline bool ResourceRecordHasBeenSet() const { return m_resourceRecordHasBeenSet; }
102 
107  inline void SetResourceRecord(const ResourceRecord& value) { m_resourceRecordHasBeenSet = true; m_resourceRecord = value; }
108 
113  inline void SetResourceRecord(ResourceRecord&& value) { m_resourceRecordHasBeenSet = true; m_resourceRecord = std::move(value); }
114 
119  inline DomainValidationRecord& WithResourceRecord(const ResourceRecord& value) { SetResourceRecord(value); return *this;}
120 
125  inline DomainValidationRecord& WithResourceRecord(ResourceRecord&& value) { SetResourceRecord(std::move(value)); return *this;}
126 
127  private:
128 
129  Aws::String m_domainName;
130  bool m_domainNameHasBeenSet;
131 
132  ResourceRecord m_resourceRecord;
133  bool m_resourceRecordHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace Lightsail
138 } // namespace Aws
Aws::Lightsail::Model::DomainValidationRecord::WithDomainName
DomainValidationRecord & WithDomainName(const Aws::String &value)
Definition: DomainValidationRecord.h:76
Aws::Lightsail::Model::DomainValidationRecord::WithResourceRecord
DomainValidationRecord & WithResourceRecord(ResourceRecord &&value)
Definition: DomainValidationRecord.h:125
Aws::Lightsail::Model::DomainValidationRecord::ResourceRecordHasBeenSet
bool ResourceRecordHasBeenSet() const
Definition: DomainValidationRecord.h:101
Aws::Lightsail::Model::ResourceRecord
Definition: ResourceRecord.h:33
Aws::Lightsail::Model::DomainValidationRecord::operator=
DomainValidationRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::DomainValidationRecord::WithDomainName
DomainValidationRecord & WithDomainName(const char *value)
Definition: DomainValidationRecord.h:88
Aws::Lightsail::Model::DomainValidationRecord::SetDomainName
void SetDomainName(const char *value)
Definition: DomainValidationRecord.h:70
Aws::Lightsail::Model::DomainValidationRecord::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DomainValidationRecord.h:58
Aws::Lightsail::Model::DomainValidationRecord::WithResourceRecord
DomainValidationRecord & WithResourceRecord(const ResourceRecord &value)
Definition: DomainValidationRecord.h:119
Aws::Lightsail::Model::DomainValidationRecord::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DomainValidationRecord.h:64
Aws::Lightsail::Model::DomainValidationRecord::WithDomainName
DomainValidationRecord & WithDomainName(Aws::String &&value)
Definition: DomainValidationRecord.h:82
Aws::Lightsail::Model::DomainValidationRecord::GetResourceRecord
const ResourceRecord & GetResourceRecord() const
Definition: DomainValidationRecord.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lightsail::Model::DomainValidationRecord::DomainValidationRecord
DomainValidationRecord()
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::DomainValidationRecord
Definition: DomainValidationRecord.h:34
Lightsail_EXPORTS.h
Aws::Lightsail::Model::DomainValidationRecord::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DomainValidationRecord.h:52
Aws::Lightsail::Model::DomainValidationRecord::DomainValidationRecord
DomainValidationRecord(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::DomainValidationRecord::GetDomainName
const Aws::String & GetDomainName() const
Definition: DomainValidationRecord.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResourceRecord.h
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::DomainValidationRecord::SetResourceRecord
void SetResourceRecord(const ResourceRecord &value)
Definition: DomainValidationRecord.h:107
Aws::Lightsail::Model::DomainValidationRecord::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::DomainValidationRecord::SetResourceRecord
void SetResourceRecord(ResourceRecord &&value)
Definition: DomainValidationRecord.h:113