AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DnsPropertiesT = DnsProperties>
50 void SetDnsProperties(DnsPropertiesT&& value) { m_dnsPropertiesHasBeenSet = true; m_dnsProperties = std::forward<DnsPropertiesT>(value); }
51 template<typename DnsPropertiesT = DnsProperties>
52 NamespaceProperties& WithDnsProperties(DnsPropertiesT&& value) { SetDnsProperties(std::forward<DnsPropertiesT>(value)); return *this;}
54
56
59 inline const HttpProperties& GetHttpProperties() const { return m_httpProperties; }
60 inline bool HttpPropertiesHasBeenSet() const { return m_httpPropertiesHasBeenSet; }
61 template<typename HttpPropertiesT = HttpProperties>
62 void SetHttpProperties(HttpPropertiesT&& value) { m_httpPropertiesHasBeenSet = true; m_httpProperties = std::forward<HttpPropertiesT>(value); }
63 template<typename HttpPropertiesT = HttpProperties>
64 NamespaceProperties& WithHttpProperties(HttpPropertiesT&& value) { SetHttpProperties(std::forward<HttpPropertiesT>(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
AWS_SERVICEDISCOVERY_API NamespaceProperties()=default
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICEDISCOVERY_API NamespaceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
NamespaceProperties & WithHttpProperties(HttpPropertiesT &&value)
AWS_SERVICEDISCOVERY_API NamespaceProperties(Aws::Utils::Json::JsonView jsonValue)
NamespaceProperties & WithDnsProperties(DnsPropertiesT &&value)
Aws::Utils::Json::JsonValue JsonValue