AWS SDK for C++  1.9.157
AWS SDK for C++
SubDomain.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 Amplify
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const SubDomainSetting& GetSubDomainSetting() const{ return m_subDomainSetting; }
45 
49  inline bool SubDomainSettingHasBeenSet() const { return m_subDomainSettingHasBeenSet; }
50 
54  inline void SetSubDomainSetting(const SubDomainSetting& value) { m_subDomainSettingHasBeenSet = true; m_subDomainSetting = value; }
55 
59  inline void SetSubDomainSetting(SubDomainSetting&& value) { m_subDomainSettingHasBeenSet = true; m_subDomainSetting = std::move(value); }
60 
64  inline SubDomain& WithSubDomainSetting(const SubDomainSetting& value) { SetSubDomainSetting(value); return *this;}
65 
69  inline SubDomain& WithSubDomainSetting(SubDomainSetting&& value) { SetSubDomainSetting(std::move(value)); return *this;}
70 
71 
75  inline bool GetVerified() const{ return m_verified; }
76 
80  inline bool VerifiedHasBeenSet() const { return m_verifiedHasBeenSet; }
81 
85  inline void SetVerified(bool value) { m_verifiedHasBeenSet = true; m_verified = value; }
86 
90  inline SubDomain& WithVerified(bool value) { SetVerified(value); return *this;}
91 
92 
96  inline const Aws::String& GetDnsRecord() const{ return m_dnsRecord; }
97 
101  inline bool DnsRecordHasBeenSet() const { return m_dnsRecordHasBeenSet; }
102 
106  inline void SetDnsRecord(const Aws::String& value) { m_dnsRecordHasBeenSet = true; m_dnsRecord = value; }
107 
111  inline void SetDnsRecord(Aws::String&& value) { m_dnsRecordHasBeenSet = true; m_dnsRecord = std::move(value); }
112 
116  inline void SetDnsRecord(const char* value) { m_dnsRecordHasBeenSet = true; m_dnsRecord.assign(value); }
117 
121  inline SubDomain& WithDnsRecord(const Aws::String& value) { SetDnsRecord(value); return *this;}
122 
126  inline SubDomain& WithDnsRecord(Aws::String&& value) { SetDnsRecord(std::move(value)); return *this;}
127 
131  inline SubDomain& WithDnsRecord(const char* value) { SetDnsRecord(value); return *this;}
132 
133  private:
134 
135  SubDomainSetting m_subDomainSetting;
136  bool m_subDomainSettingHasBeenSet;
137 
138  bool m_verified;
139  bool m_verifiedHasBeenSet;
140 
141  Aws::String m_dnsRecord;
142  bool m_dnsRecordHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace Amplify
147 } // namespace Aws
Aws::Amplify::Model::SubDomain::WithDnsRecord
SubDomain & WithDnsRecord(Aws::String &&value)
Definition: SubDomain.h:126
Amplify_EXPORTS.h
Aws::Amplify::Model::SubDomain::GetDnsRecord
const Aws::String & GetDnsRecord() const
Definition: SubDomain.h:96
Aws::Amplify::Model::SubDomain::WithDnsRecord
SubDomain & WithDnsRecord(const char *value)
Definition: SubDomain.h:131
Aws::Amplify::Model::SubDomain::GetSubDomainSetting
const SubDomainSetting & GetSubDomainSetting() const
Definition: SubDomain.h:44
Aws::Amplify::Model::SubDomain::SetDnsRecord
void SetDnsRecord(Aws::String &&value)
Definition: SubDomain.h:111
Aws::Amplify::Model::SubDomain::WithDnsRecord
SubDomain & WithDnsRecord(const Aws::String &value)
Definition: SubDomain.h:121
Aws::Amplify::Model::SubDomain::SubDomain
SubDomain(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::SubDomain::DnsRecordHasBeenSet
bool DnsRecordHasBeenSet() const
Definition: SubDomain.h:101
Aws::Amplify::Model::SubDomain::SubDomain
SubDomain()
Aws::Amplify::Model::SubDomain::SubDomainSettingHasBeenSet
bool SubDomainSettingHasBeenSet() const
Definition: SubDomain.h:49
Aws::Amplify::Model::SubDomain
Definition: SubDomain.h:33
Aws::Amplify::Model::SubDomain::VerifiedHasBeenSet
bool VerifiedHasBeenSet() const
Definition: SubDomain.h:80
Aws::Amplify::Model::SubDomain::SetDnsRecord
void SetDnsRecord(const Aws::String &value)
Definition: SubDomain.h:106
Aws::Amplify::Model::SubDomain::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Amplify::Model::SubDomain::WithSubDomainSetting
SubDomain & WithSubDomainSetting(SubDomainSetting &&value)
Definition: SubDomain.h:69
SubDomainSetting.h
Aws::Amplify::Model::SubDomain::SetDnsRecord
void SetDnsRecord(const char *value)
Definition: SubDomain.h:116
Aws::Amplify::Model::SubDomainSetting
Definition: SubDomainSetting.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Amplify::Model::SubDomain::SetSubDomainSetting
void SetSubDomainSetting(const SubDomainSetting &value)
Definition: SubDomain.h:54
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::SubDomain::SetVerified
void SetVerified(bool value)
Definition: SubDomain.h:85
Aws::Amplify::Model::SubDomain::GetVerified
bool GetVerified() const
Definition: SubDomain.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::SubDomain::WithSubDomainSetting
SubDomain & WithSubDomainSetting(const SubDomainSetting &value)
Definition: SubDomain.h:64
Aws::Amplify::Model::SubDomain::operator=
SubDomain & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::SubDomain::WithVerified
SubDomain & WithVerified(bool value)
Definition: SubDomain.h:90
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::SubDomain::SetSubDomainSetting
void SetSubDomainSetting(SubDomainSetting &&value)
Definition: SubDomain.h:59