AWS SDK for C++  1.9.105
AWS SDK for C++
NamespaceProperties.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 DnsProperties& GetDnsProperties() const{ return m_dnsProperties; }
47 
52  inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; }
53 
58  inline void SetDnsProperties(const DnsProperties& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = value; }
59 
64  inline void SetDnsProperties(DnsProperties&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::move(value); }
65 
70  inline NamespaceProperties& WithDnsProperties(const DnsProperties& value) { SetDnsProperties(value); return *this;}
71 
76  inline NamespaceProperties& WithDnsProperties(DnsProperties&& value) { SetDnsProperties(std::move(value)); return *this;}
77 
78 
82  inline const HttpProperties& GetHttpProperties() const{ return m_httpProperties; }
83 
87  inline bool HttpPropertiesHasBeenSet() const { return m_httpPropertiesHasBeenSet; }
88 
92  inline void SetHttpProperties(const HttpProperties& value) { m_httpPropertiesHasBeenSet = true; m_httpProperties = value; }
93 
97  inline void SetHttpProperties(HttpProperties&& value) { m_httpPropertiesHasBeenSet = true; m_httpProperties = std::move(value); }
98 
102  inline NamespaceProperties& WithHttpProperties(const HttpProperties& value) { SetHttpProperties(value); return *this;}
103 
107  inline NamespaceProperties& WithHttpProperties(HttpProperties&& value) { SetHttpProperties(std::move(value)); return *this;}
108 
109  private:
110 
111  DnsProperties m_dnsProperties;
112  bool m_dnsPropertiesHasBeenSet;
113 
114  HttpProperties m_httpProperties;
115  bool m_httpPropertiesHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace ServiceDiscovery
120 } // namespace Aws
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::NamespaceProperties::SetHttpProperties
void SetHttpProperties(const HttpProperties &value)
Definition: NamespaceProperties.h:92
Aws::ServiceDiscovery::Model::NamespaceProperties::GetDnsProperties
const DnsProperties & GetDnsProperties() const
Definition: NamespaceProperties.h:46
Aws::ServiceDiscovery::Model::NamespaceProperties
Definition: NamespaceProperties.h:34
Aws::ServiceDiscovery::Model::NamespaceProperties::NamespaceProperties
NamespaceProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::NamespaceProperties::SetDnsProperties
void SetDnsProperties(const DnsProperties &value)
Definition: NamespaceProperties.h:58
HttpProperties.h
ServiceDiscovery_EXPORTS.h
DnsProperties.h
Aws::ServiceDiscovery::Model::NamespaceProperties::NamespaceProperties
NamespaceProperties()
Aws::ServiceDiscovery::Model::NamespaceProperties::GetHttpProperties
const HttpProperties & GetHttpProperties() const
Definition: NamespaceProperties.h:82
Aws::ServiceDiscovery::Model::NamespaceProperties::SetHttpProperties
void SetHttpProperties(HttpProperties &&value)
Definition: NamespaceProperties.h:97
Aws::ServiceDiscovery::Model::NamespaceProperties::WithHttpProperties
NamespaceProperties & WithHttpProperties(HttpProperties &&value)
Definition: NamespaceProperties.h:107
Aws::ServiceDiscovery::Model::DnsProperties
Definition: DnsProperties.h:34
Aws::ServiceDiscovery::Model::NamespaceProperties::WithDnsProperties
NamespaceProperties & WithDnsProperties(const DnsProperties &value)
Definition: NamespaceProperties.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::NamespaceProperties::HttpPropertiesHasBeenSet
bool HttpPropertiesHasBeenSet() const
Definition: NamespaceProperties.h:87
Aws::ServiceDiscovery::Model::NamespaceProperties::WithDnsProperties
NamespaceProperties & WithDnsProperties(DnsProperties &&value)
Definition: NamespaceProperties.h:76
Aws::ServiceDiscovery::Model::NamespaceProperties::WithHttpProperties
NamespaceProperties & WithHttpProperties(const HttpProperties &value)
Definition: NamespaceProperties.h:102
Aws::ServiceDiscovery::Model::NamespaceProperties::operator=
NamespaceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::NamespaceProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::NamespaceProperties::SetDnsProperties
void SetDnsProperties(DnsProperties &&value)
Definition: NamespaceProperties.h:64
Aws::ServiceDiscovery::Model::NamespaceProperties::DnsPropertiesHasBeenSet
bool DnsPropertiesHasBeenSet() const
Definition: NamespaceProperties.h:52
Aws::ServiceDiscovery::Model::HttpProperties
Definition: HttpProperties.h:33