AWS SDK for C++  1.9.105
AWS SDK for C++
PrivateDnsNamespaceProperties.h
Go to the documentation of this file.
1 
6 #pragma once
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 ServiceDiscovery
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const PrivateDnsPropertiesMutable& GetDnsProperties() const{ return m_dnsProperties; }
44 
48  inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; }
49 
53  inline void SetDnsProperties(const PrivateDnsPropertiesMutable& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = value; }
54 
58  inline void SetDnsProperties(PrivateDnsPropertiesMutable&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::move(value); }
59 
63  inline PrivateDnsNamespaceProperties& WithDnsProperties(const PrivateDnsPropertiesMutable& value) { SetDnsProperties(value); return *this;}
64 
68  inline PrivateDnsNamespaceProperties& WithDnsProperties(PrivateDnsPropertiesMutable&& value) { SetDnsProperties(std::move(value)); return *this;}
69 
70  private:
71 
72  PrivateDnsPropertiesMutable m_dnsProperties;
73  bool m_dnsPropertiesHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace ServiceDiscovery
78 } // namespace Aws
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::WithDnsProperties
PrivateDnsNamespaceProperties & WithDnsProperties(PrivateDnsPropertiesMutable &&value)
Definition: PrivateDnsNamespaceProperties.h:68
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
PrivateDnsPropertiesMutable.h
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::SetDnsProperties
void SetDnsProperties(const PrivateDnsPropertiesMutable &value)
Definition: PrivateDnsNamespaceProperties.h:53
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::operator=
PrivateDnsNamespaceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::PrivateDnsNamespaceProperties
PrivateDnsNamespaceProperties()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::PrivateDnsNamespaceProperties
PrivateDnsNamespaceProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PrivateDnsPropertiesMutable
Definition: PrivateDnsPropertiesMutable.h:32
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::GetDnsProperties
const PrivateDnsPropertiesMutable & GetDnsProperties() const
Definition: PrivateDnsNamespaceProperties.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::SetDnsProperties
void SetDnsProperties(PrivateDnsPropertiesMutable &&value)
Definition: PrivateDnsNamespaceProperties.h:58
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties
Definition: PrivateDnsNamespaceProperties.h:32
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::DnsPropertiesHasBeenSet
bool DnsPropertiesHasBeenSet() const
Definition: PrivateDnsNamespaceProperties.h:48
Aws::ServiceDiscovery::Model::PrivateDnsNamespaceProperties::WithDnsProperties
PrivateDnsNamespaceProperties & WithDnsProperties(const PrivateDnsPropertiesMutable &value)
Definition: PrivateDnsNamespaceProperties.h:63