AWS SDK for C++  1.9.160
AWS SDK for C++
DomainValidationOption.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ACM
22 {
23 namespace Model
24 {
25 
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 DomainValidationOption& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
71 
75  inline DomainValidationOption& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
76 
80  inline DomainValidationOption& WithDomainName(const char* value) { SetDomainName(value); return *this;}
81 
82 
95  inline const Aws::String& GetValidationDomain() const{ return m_validationDomain; }
96 
109  inline bool ValidationDomainHasBeenSet() const { return m_validationDomainHasBeenSet; }
110 
123  inline void SetValidationDomain(const Aws::String& value) { m_validationDomainHasBeenSet = true; m_validationDomain = value; }
124 
137  inline void SetValidationDomain(Aws::String&& value) { m_validationDomainHasBeenSet = true; m_validationDomain = std::move(value); }
138 
151  inline void SetValidationDomain(const char* value) { m_validationDomainHasBeenSet = true; m_validationDomain.assign(value); }
152 
165  inline DomainValidationOption& WithValidationDomain(const Aws::String& value) { SetValidationDomain(value); return *this;}
166 
179  inline DomainValidationOption& WithValidationDomain(Aws::String&& value) { SetValidationDomain(std::move(value)); return *this;}
180 
193  inline DomainValidationOption& WithValidationDomain(const char* value) { SetValidationDomain(value); return *this;}
194 
195  private:
196 
197  Aws::String m_domainName;
198  bool m_domainNameHasBeenSet;
199 
200  Aws::String m_validationDomain;
201  bool m_validationDomainHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace ACM
206 } // namespace Aws
Aws::ACM::Model::DomainValidationOption::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DomainValidationOption.h:50
Aws::ACM::Model::DomainValidationOption::SetValidationDomain
void SetValidationDomain(const char *value)
Definition: DomainValidationOption.h:151
Aws::ACM::Model::DomainValidationOption::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DomainValidationOption.h:55
Aws::ACM::Model::DomainValidationOption::SetValidationDomain
void SetValidationDomain(Aws::String &&value)
Definition: DomainValidationOption.h:137
Aws::ACM::Model::DomainValidationOption::WithValidationDomain
DomainValidationOption & WithValidationDomain(const Aws::String &value)
Definition: DomainValidationOption.h:165
Aws::ACM::Model::DomainValidationOption::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ACM::Model::DomainValidationOption::DomainValidationOption
DomainValidationOption(Aws::Utils::Json::JsonView jsonValue)
Aws::ACM::Model::DomainValidationOption::ValidationDomainHasBeenSet
bool ValidationDomainHasBeenSet() const
Definition: DomainValidationOption.h:109
Aws::ACM::Model::DomainValidationOption::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DomainValidationOption.h:60
Aws::ACM::Model::DomainValidationOption::SetDomainName
void SetDomainName(const char *value)
Definition: DomainValidationOption.h:65
Aws::ACM::Model::DomainValidationOption::WithDomainName
DomainValidationOption & WithDomainName(const Aws::String &value)
Definition: DomainValidationOption.h:70
Aws::ACM::Model::DomainValidationOption::DomainValidationOption
DomainValidationOption()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ACM::Model::DomainValidationOption::WithDomainName
DomainValidationOption & WithDomainName(Aws::String &&value)
Definition: DomainValidationOption.h:75
Aws::ACM::Model::DomainValidationOption::GetValidationDomain
const Aws::String & GetValidationDomain() const
Definition: DomainValidationOption.h:95
Aws::ACM::Model::DomainValidationOption::SetValidationDomain
void SetValidationDomain(const Aws::String &value)
Definition: DomainValidationOption.h:123
ACM_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::DomainValidationOption::operator=
DomainValidationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ACM::Model::DomainValidationOption::WithValidationDomain
DomainValidationOption & WithValidationDomain(Aws::String &&value)
Definition: DomainValidationOption.h:179
Aws::ACM::Model::DomainValidationOption::WithValidationDomain
DomainValidationOption & WithValidationDomain(const char *value)
Definition: DomainValidationOption.h:193
Aws::ACM::Model::DomainValidationOption
Definition: DomainValidationOption.h:34
Aws::ACM::Model::DomainValidationOption::WithDomainName
DomainValidationOption & WithDomainName(const char *value)
Definition: DomainValidationOption.h:80
Aws::ACM::Model::DomainValidationOption::GetDomainName
const Aws::String & GetDomainName() const
Definition: DomainValidationOption.h:45