AWS SDK for C++  1.9.104
AWS SDK for C++
PublicDnsNamespaceProperties.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 PublicDnsPropertiesMutable& GetDnsProperties() const{ return m_dnsProperties; }
44 
48  inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; }
49 
53  inline void SetDnsProperties(const PublicDnsPropertiesMutable& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = value; }
54 
58  inline void SetDnsProperties(PublicDnsPropertiesMutable&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::move(value); }
59 
63  inline PublicDnsNamespaceProperties& WithDnsProperties(const PublicDnsPropertiesMutable& value) { SetDnsProperties(value); return *this;}
64 
68  inline PublicDnsNamespaceProperties& WithDnsProperties(PublicDnsPropertiesMutable&& value) { SetDnsProperties(std::move(value)); return *this;}
69 
70  private:
71 
72  PublicDnsPropertiesMutable m_dnsProperties;
73  bool m_dnsPropertiesHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace ServiceDiscovery
78 } // namespace Aws
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::SetDnsProperties
void SetDnsProperties(PublicDnsPropertiesMutable &&value)
Definition: PublicDnsNamespaceProperties.h:58
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::SetDnsProperties
void SetDnsProperties(const PublicDnsPropertiesMutable &value)
Definition: PublicDnsNamespaceProperties.h:53
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::operator=
PublicDnsNamespaceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::PublicDnsNamespaceProperties
PublicDnsNamespaceProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::DnsPropertiesHasBeenSet
bool DnsPropertiesHasBeenSet() const
Definition: PublicDnsNamespaceProperties.h:48
Aws::ServiceDiscovery::Model::PublicDnsPropertiesMutable
Definition: PublicDnsPropertiesMutable.h:32
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::WithDnsProperties
PublicDnsNamespaceProperties & WithDnsProperties(const PublicDnsPropertiesMutable &value)
Definition: PublicDnsNamespaceProperties.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::GetDnsProperties
const PublicDnsPropertiesMutable & GetDnsProperties() const
Definition: PublicDnsNamespaceProperties.h:43
PublicDnsPropertiesMutable.h
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::PublicDnsNamespaceProperties
PublicDnsNamespaceProperties()
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties::WithDnsProperties
PublicDnsNamespaceProperties & WithDnsProperties(PublicDnsPropertiesMutable &&value)
Definition: PublicDnsNamespaceProperties.h:68
Aws::ServiceDiscovery::Model::PublicDnsNamespaceProperties
Definition: PublicDnsNamespaceProperties.h:32