AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PrivateDnsNamespaceProperties.h
1
6#pragma once
7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/model/PrivateDnsPropertiesMutable.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ServiceDiscovery {
20namespace Model {
21
28 public:
29 AWS_SERVICEDISCOVERY_API PrivateDnsNamespaceProperties() = default;
30 AWS_SERVICEDISCOVERY_API PrivateDnsNamespaceProperties(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const PrivateDnsPropertiesMutable& GetDnsProperties() const { return m_dnsProperties; }
39 inline bool DnsPropertiesHasBeenSet() const { return m_dnsPropertiesHasBeenSet; }
40 template <typename DnsPropertiesT = PrivateDnsPropertiesMutable>
41 void SetDnsProperties(DnsPropertiesT&& value) {
42 m_dnsPropertiesHasBeenSet = true;
43 m_dnsProperties = std::forward<DnsPropertiesT>(value);
44 }
45 template <typename DnsPropertiesT = PrivateDnsPropertiesMutable>
47 SetDnsProperties(std::forward<DnsPropertiesT>(value));
48 return *this;
49 }
51 private:
52 PrivateDnsPropertiesMutable m_dnsProperties;
53 bool m_dnsPropertiesHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ServiceDiscovery
58} // namespace Aws
AWS_SERVICEDISCOVERY_API PrivateDnsNamespaceProperties()=default
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateDnsNamespaceProperties & WithDnsProperties(DnsPropertiesT &&value)
AWS_SERVICEDISCOVERY_API PrivateDnsNamespaceProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEDISCOVERY_API PrivateDnsNamespaceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue