AWS SDK for C++  1.9.22
AWS SDK for C++
LoadBalancerTlsCertificateDomainValidationRecord.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& GetName() const{ return m_name; }
47 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
58  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 
64  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 
70  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 
76  inline LoadBalancerTlsCertificateDomainValidationRecord& WithName(const Aws::String& value) { SetName(value); return *this;}
77 
82  inline LoadBalancerTlsCertificateDomainValidationRecord& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 
88  inline LoadBalancerTlsCertificateDomainValidationRecord& WithName(const char* value) { SetName(value); return *this;}
89 
90 
95  inline const Aws::String& GetType() const{ return m_type; }
96 
101  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
102 
107  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
108 
113  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
114 
119  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
120 
125  inline LoadBalancerTlsCertificateDomainValidationRecord& WithType(const Aws::String& value) { SetType(value); return *this;}
126 
131  inline LoadBalancerTlsCertificateDomainValidationRecord& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
132 
137  inline LoadBalancerTlsCertificateDomainValidationRecord& WithType(const char* value) { SetType(value); return *this;}
138 
139 
143  inline const Aws::String& GetValue() const{ return m_value; }
144 
148  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
149 
153  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
154 
158  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
159 
163  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
164 
168  inline LoadBalancerTlsCertificateDomainValidationRecord& WithValue(const Aws::String& value) { SetValue(value); return *this;}
169 
173  inline LoadBalancerTlsCertificateDomainValidationRecord& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
174 
178  inline LoadBalancerTlsCertificateDomainValidationRecord& WithValue(const char* value) { SetValue(value); return *this;}
179 
180 
184  inline const LoadBalancerTlsCertificateDomainStatus& GetValidationStatus() const{ return m_validationStatus; }
185 
189  inline bool ValidationStatusHasBeenSet() const { return m_validationStatusHasBeenSet; }
190 
194  inline void SetValidationStatus(const LoadBalancerTlsCertificateDomainStatus& value) { m_validationStatusHasBeenSet = true; m_validationStatus = value; }
195 
199  inline void SetValidationStatus(LoadBalancerTlsCertificateDomainStatus&& value) { m_validationStatusHasBeenSet = true; m_validationStatus = std::move(value); }
200 
205 
209  inline LoadBalancerTlsCertificateDomainValidationRecord& WithValidationStatus(LoadBalancerTlsCertificateDomainStatus&& value) { SetValidationStatus(std::move(value)); return *this;}
210 
211 
215  inline const Aws::String& GetDomainName() const{ return m_domainName; }
216 
220  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
221 
225  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
226 
230  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
231 
235  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
236 
240  inline LoadBalancerTlsCertificateDomainValidationRecord& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
241 
245  inline LoadBalancerTlsCertificateDomainValidationRecord& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
246 
250  inline LoadBalancerTlsCertificateDomainValidationRecord& WithDomainName(const char* value) { SetDomainName(value); return *this;}
251 
252  private:
253 
254  Aws::String m_name;
255  bool m_nameHasBeenSet;
256 
257  Aws::String m_type;
258  bool m_typeHasBeenSet;
259 
260  Aws::String m_value;
261  bool m_valueHasBeenSet;
262 
263  LoadBalancerTlsCertificateDomainStatus m_validationStatus;
264  bool m_validationStatusHasBeenSet;
265 
266  Aws::String m_domainName;
267  bool m_domainNameHasBeenSet;
268  };
269 
270 } // namespace Model
271 } // namespace Lightsail
272 } // namespace Aws
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetDomainName
void SetDomainName(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:235
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetValue
void SetValue(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:153
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:148
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithType
LoadBalancerTlsCertificateDomainValidationRecord & WithType(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:125
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetValue
void SetValue(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:158
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithType
LoadBalancerTlsCertificateDomainValidationRecord & WithType(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:131
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:225
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithDomainName
LoadBalancerTlsCertificateDomainValidationRecord & WithDomainName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:245
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetName
void SetName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:58
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetName
void SetName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:64
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetType
void SetType(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:107
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetValidationStatus
void SetValidationStatus(const LoadBalancerTlsCertificateDomainStatus &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:194
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithName
LoadBalancerTlsCertificateDomainValidationRecord & WithName(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:88
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:34
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithDomainName
LoadBalancerTlsCertificateDomainValidationRecord & WithDomainName(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:250
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::operator=
LoadBalancerTlsCertificateDomainValidationRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithValue
LoadBalancerTlsCertificateDomainValidationRecord & WithValue(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:168
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:230
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithValidationStatus
LoadBalancerTlsCertificateDomainValidationRecord & WithValidationStatus(const LoadBalancerTlsCertificateDomainStatus &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:204
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::LoadBalancerTlsCertificateDomainValidationRecord
LoadBalancerTlsCertificateDomainValidationRecord()
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithType
LoadBalancerTlsCertificateDomainValidationRecord & WithType(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:137
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainStatus
LoadBalancerTlsCertificateDomainStatus
Definition: LoadBalancerTlsCertificateDomainStatus.h:17
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::GetName
const Aws::String & GetName() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:46
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetType
void SetType(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:113
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:101
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithName
LoadBalancerTlsCertificateDomainValidationRecord & WithName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:82
Lightsail_EXPORTS.h
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithName
LoadBalancerTlsCertificateDomainValidationRecord & WithName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:76
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::NameHasBeenSet
bool NameHasBeenSet() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:52
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::GetValue
const Aws::String & GetValue() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:143
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithDomainName
LoadBalancerTlsCertificateDomainValidationRecord & WithDomainName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:240
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithValue
LoadBalancerTlsCertificateDomainValidationRecord & WithValue(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:178
LoadBalancerTlsCertificateDomainStatus.h
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::GetType
const Aws::String & GetType() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::GetDomainName
const Aws::String & GetDomainName() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:215
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::GetValidationStatus
const LoadBalancerTlsCertificateDomainStatus & GetValidationStatus() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:184
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetName
void SetName(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:220
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::LoadBalancerTlsCertificateDomainValidationRecord
LoadBalancerTlsCertificateDomainValidationRecord(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetValue
void SetValue(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:163
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithValue
LoadBalancerTlsCertificateDomainValidationRecord & WithValue(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:173
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::ValidationStatusHasBeenSet
bool ValidationStatusHasBeenSet() const
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:189
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetValidationStatus
void SetValidationStatus(LoadBalancerTlsCertificateDomainStatus &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:199
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::WithValidationStatus
LoadBalancerTlsCertificateDomainValidationRecord & WithValidationStatus(LoadBalancerTlsCertificateDomainStatus &&value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:209
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationRecord::SetType
void SetType(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationRecord.h:119