AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NamespaceProperties.h
1
6#pragma once
7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/model/DnsProperties.h>
9#include <aws/servicediscovery/model/HttpProperties.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 ServiceDiscovery
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SERVICEDISCOVERY_API NamespaceProperties();
37 AWS_SERVICEDISCOVERY_API NamespaceProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVICEDISCOVERY_API NamespaceProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const DnsProperties& GetDnsProperties() const{ return m_dnsProperties; }
48 inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; }
49 inline void SetDnsProperties(const DnsProperties& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = value; }
50 inline void SetDnsProperties(DnsProperties&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::move(value); }
51 inline NamespaceProperties& WithDnsProperties(const DnsProperties& value) { SetDnsProperties(value); return *this;}
52 inline NamespaceProperties& WithDnsProperties(DnsProperties&& value) { SetDnsProperties(std::move(value)); return *this;}
54
56
59 inline const HttpProperties& GetHttpProperties() const{ return m_httpProperties; }
60 inline bool HttpPropertiesHasBeenSet() const { return m_httpPropertiesHasBeenSet; }
61 inline void SetHttpProperties(const HttpProperties& value) { m_httpPropertiesHasBeenSet = true; m_httpProperties = value; }
62 inline void SetHttpProperties(HttpProperties&& value) { m_httpPropertiesHasBeenSet = true; m_httpProperties = std::move(value); }
63 inline NamespaceProperties& WithHttpProperties(const HttpProperties& value) { SetHttpProperties(value); return *this;}
64 inline NamespaceProperties& WithHttpProperties(HttpProperties&& value) { SetHttpProperties(std::move(value)); return *this;}
66 private:
67
68 DnsProperties m_dnsProperties;
69 bool m_dnsPropertiesHasBeenSet = false;
70
71 HttpProperties m_httpProperties;
72 bool m_httpPropertiesHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ServiceDiscovery
77} // namespace Aws
NamespaceProperties & WithDnsProperties(const DnsProperties &value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
NamespaceProperties & WithHttpProperties(const HttpProperties &value)
void SetHttpProperties(const HttpProperties &value)
AWS_SERVICEDISCOVERY_API NamespaceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
NamespaceProperties & WithDnsProperties(DnsProperties &&value)
AWS_SERVICEDISCOVERY_API NamespaceProperties(Aws::Utils::Json::JsonView jsonValue)
NamespaceProperties & WithHttpProperties(HttpProperties &&value)
Aws::Utils::Json::JsonValue JsonValue