AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubDomain.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/SubDomainSetting.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Amplify
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_AMPLIFY_API SubDomain();
36 AWS_AMPLIFY_API SubDomain(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFY_API SubDomain& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const SubDomainSetting& GetSubDomainSetting() const{ return m_subDomainSetting; }
46 inline bool SubDomainSettingHasBeenSet() const { return m_subDomainSettingHasBeenSet; }
47 inline void SetSubDomainSetting(const SubDomainSetting& value) { m_subDomainSettingHasBeenSet = true; m_subDomainSetting = value; }
48 inline void SetSubDomainSetting(SubDomainSetting&& value) { m_subDomainSettingHasBeenSet = true; m_subDomainSetting = std::move(value); }
49 inline SubDomain& WithSubDomainSetting(const SubDomainSetting& value) { SetSubDomainSetting(value); return *this;}
50 inline SubDomain& WithSubDomainSetting(SubDomainSetting&& value) { SetSubDomainSetting(std::move(value)); return *this;}
52
54
57 inline bool GetVerified() const{ return m_verified; }
58 inline bool VerifiedHasBeenSet() const { return m_verifiedHasBeenSet; }
59 inline void SetVerified(bool value) { m_verifiedHasBeenSet = true; m_verified = value; }
60 inline SubDomain& WithVerified(bool value) { SetVerified(value); return *this;}
62
64
67 inline const Aws::String& GetDnsRecord() const{ return m_dnsRecord; }
68 inline bool DnsRecordHasBeenSet() const { return m_dnsRecordHasBeenSet; }
69 inline void SetDnsRecord(const Aws::String& value) { m_dnsRecordHasBeenSet = true; m_dnsRecord = value; }
70 inline void SetDnsRecord(Aws::String&& value) { m_dnsRecordHasBeenSet = true; m_dnsRecord = std::move(value); }
71 inline void SetDnsRecord(const char* value) { m_dnsRecordHasBeenSet = true; m_dnsRecord.assign(value); }
72 inline SubDomain& WithDnsRecord(const Aws::String& value) { SetDnsRecord(value); return *this;}
73 inline SubDomain& WithDnsRecord(Aws::String&& value) { SetDnsRecord(std::move(value)); return *this;}
74 inline SubDomain& WithDnsRecord(const char* value) { SetDnsRecord(value); return *this;}
76 private:
77
78 SubDomainSetting m_subDomainSetting;
79 bool m_subDomainSettingHasBeenSet = false;
80
81 bool m_verified;
82 bool m_verifiedHasBeenSet = false;
83
84 Aws::String m_dnsRecord;
85 bool m_dnsRecordHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Amplify
90} // namespace Aws
const Aws::String & GetDnsRecord() const
Definition SubDomain.h:67
SubDomain & WithDnsRecord(const char *value)
Definition SubDomain.h:74
void SetVerified(bool value)
Definition SubDomain.h:59
SubDomain & WithSubDomainSetting(const SubDomainSetting &value)
Definition SubDomain.h:49
bool SubDomainSettingHasBeenSet() const
Definition SubDomain.h:46
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFY_API SubDomain & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDnsRecord(const char *value)
Definition SubDomain.h:71
SubDomain & WithDnsRecord(Aws::String &&value)
Definition SubDomain.h:73
SubDomain & WithSubDomainSetting(SubDomainSetting &&value)
Definition SubDomain.h:50
void SetDnsRecord(Aws::String &&value)
Definition SubDomain.h:70
void SetSubDomainSetting(const SubDomainSetting &value)
Definition SubDomain.h:47
void SetDnsRecord(const Aws::String &value)
Definition SubDomain.h:69
SubDomain & WithDnsRecord(const Aws::String &value)
Definition SubDomain.h:72
SubDomain & WithVerified(bool value)
Definition SubDomain.h:60
AWS_AMPLIFY_API SubDomain(Aws::Utils::Json::JsonView jsonValue)
const SubDomainSetting & GetSubDomainSetting() const
Definition SubDomain.h:45
void SetSubDomainSetting(SubDomainSetting &&value)
Definition SubDomain.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue