AWS SDK for C++  1.9.104
AWS SDK for C++
LoadBalancerTlsCertificateDomainValidationOption.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 
45  inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 
50  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 
55  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
56 
60  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
61 
65  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
66 
70  inline LoadBalancerTlsCertificateDomainValidationOption& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
71 
75  inline LoadBalancerTlsCertificateDomainValidationOption& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
76 
80  inline LoadBalancerTlsCertificateDomainValidationOption& WithDomainName(const char* value) { SetDomainName(value); return *this;}
81 
82 
86  inline const LoadBalancerTlsCertificateDomainStatus& GetValidationStatus() const{ return m_validationStatus; }
87 
91  inline bool ValidationStatusHasBeenSet() const { return m_validationStatusHasBeenSet; }
92 
96  inline void SetValidationStatus(const LoadBalancerTlsCertificateDomainStatus& value) { m_validationStatusHasBeenSet = true; m_validationStatus = value; }
97 
101  inline void SetValidationStatus(LoadBalancerTlsCertificateDomainStatus&& value) { m_validationStatusHasBeenSet = true; m_validationStatus = std::move(value); }
102 
107 
111  inline LoadBalancerTlsCertificateDomainValidationOption& WithValidationStatus(LoadBalancerTlsCertificateDomainStatus&& value) { SetValidationStatus(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_domainName;
116  bool m_domainNameHasBeenSet;
117 
118  LoadBalancerTlsCertificateDomainStatus m_validationStatus;
119  bool m_validationStatusHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace Lightsail
124 } // namespace Aws
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::WithDomainName
LoadBalancerTlsCertificateDomainValidationOption & WithDomainName(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:80
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:55
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:60
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::SetValidationStatus
void SetValidationStatus(const LoadBalancerTlsCertificateDomainStatus &value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:96
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::LoadBalancerTlsCertificateDomainValidationOption
LoadBalancerTlsCertificateDomainValidationOption()
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::WithDomainName
LoadBalancerTlsCertificateDomainValidationOption & WithDomainName(const Aws::String &value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:70
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::WithValidationStatus
LoadBalancerTlsCertificateDomainValidationOption & WithValidationStatus(LoadBalancerTlsCertificateDomainStatus &&value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:111
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::GetValidationStatus
const LoadBalancerTlsCertificateDomainStatus & GetValidationStatus() const
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:86
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::WithDomainName
LoadBalancerTlsCertificateDomainValidationOption & WithDomainName(Aws::String &&value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:75
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::ValidationStatusHasBeenSet
bool ValidationStatusHasBeenSet() const
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:91
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::SetValidationStatus
void SetValidationStatus(LoadBalancerTlsCertificateDomainStatus &&value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:101
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::GetDomainName
const Aws::String & GetDomainName() const
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:45
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainStatus
LoadBalancerTlsCertificateDomainStatus
Definition: LoadBalancerTlsCertificateDomainStatus.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:34
Lightsail_EXPORTS.h
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::WithValidationStatus
LoadBalancerTlsCertificateDomainValidationOption & WithValidationStatus(const LoadBalancerTlsCertificateDomainStatus &value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:106
LoadBalancerTlsCertificateDomainStatus.h
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::LoadBalancerTlsCertificateDomainValidationOption
LoadBalancerTlsCertificateDomainValidationOption(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::SetDomainName
void SetDomainName(const char *value)
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::operator=
LoadBalancerTlsCertificateDomainValidationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::LoadBalancerTlsCertificateDomainValidationOption::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: LoadBalancerTlsCertificateDomainValidationOption.h:50