AWS SDK for C++  1.9.105
AWS SDK for C++
DnsProperties.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 ServiceDiscovery
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
47 
52  inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
53 
58  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
59 
64  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
65 
70  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
71 
76  inline DnsProperties& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
77 
82  inline DnsProperties& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
83 
88  inline DnsProperties& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
89 
90 
94  inline const SOA& GetSOA() const{ return m_sOA; }
95 
99  inline bool SOAHasBeenSet() const { return m_sOAHasBeenSet; }
100 
104  inline void SetSOA(const SOA& value) { m_sOAHasBeenSet = true; m_sOA = value; }
105 
109  inline void SetSOA(SOA&& value) { m_sOAHasBeenSet = true; m_sOA = std::move(value); }
110 
114  inline DnsProperties& WithSOA(const SOA& value) { SetSOA(value); return *this;}
115 
119  inline DnsProperties& WithSOA(SOA&& value) { SetSOA(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::String m_hostedZoneId;
124  bool m_hostedZoneIdHasBeenSet;
125 
126  SOA m_sOA;
127  bool m_sOAHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace ServiceDiscovery
132 } // namespace Aws
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::DnsProperties::WithHostedZoneId
DnsProperties & WithHostedZoneId(const char *value)
Definition: DnsProperties.h:88
Aws::ServiceDiscovery::Model::DnsProperties::GetSOA
const SOA & GetSOA() const
Definition: DnsProperties.h:94
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::DnsProperties::SetSOA
void SetSOA(const SOA &value)
Definition: DnsProperties.h:104
Aws::ServiceDiscovery::Model::DnsProperties::WithHostedZoneId
DnsProperties & WithHostedZoneId(const Aws::String &value)
Definition: DnsProperties.h:76
Aws::ServiceDiscovery::Model::DnsProperties::WithSOA
DnsProperties & WithSOA(SOA &&value)
Definition: DnsProperties.h:119
Aws::ServiceDiscovery::Model::SOA
Definition: SOA.h:31
Aws::ServiceDiscovery::Model::DnsProperties::DnsProperties
DnsProperties()
SOA.h
Aws::ServiceDiscovery::Model::DnsProperties::SetHostedZoneId
void SetHostedZoneId(const char *value)
Definition: DnsProperties.h:70
Aws::ServiceDiscovery::Model::DnsProperties
Definition: DnsProperties.h:34
Aws::ServiceDiscovery::Model::DnsProperties::WithSOA
DnsProperties & WithSOA(const SOA &value)
Definition: DnsProperties.h:114
Aws::ServiceDiscovery::Model::DnsProperties::HostedZoneIdHasBeenSet
bool HostedZoneIdHasBeenSet() const
Definition: DnsProperties.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ServiceDiscovery::Model::DnsProperties::SetHostedZoneId
void SetHostedZoneId(Aws::String &&value)
Definition: DnsProperties.h:64
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::DnsProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::DnsProperties::DnsProperties
DnsProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::DnsProperties::SetHostedZoneId
void SetHostedZoneId(const Aws::String &value)
Definition: DnsProperties.h:58
Aws::ServiceDiscovery::Model::DnsProperties::operator=
DnsProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::DnsProperties::SetSOA
void SetSOA(SOA &&value)
Definition: DnsProperties.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::DnsProperties::WithHostedZoneId
DnsProperties & WithHostedZoneId(Aws::String &&value)
Definition: DnsProperties.h:82
Aws::ServiceDiscovery::Model::DnsProperties::SOAHasBeenSet
bool SOAHasBeenSet() const
Definition: DnsProperties.h:99
Aws::ServiceDiscovery::Model::DnsProperties::GetHostedZoneId
const Aws::String & GetHostedZoneId() const
Definition: DnsProperties.h:46