AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DnsProperties.h
1
6#pragma once
7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/SOA.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 DnsProperties();
37 AWS_SERVICEDISCOVERY_API DnsProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVICEDISCOVERY_API DnsProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
48 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
49 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
50 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
51 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
52 inline DnsProperties& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
53 inline DnsProperties& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
54 inline DnsProperties& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
56
58
61 inline const SOA& GetSOA() const{ return m_sOA; }
62 inline bool SOAHasBeenSet() const { return m_sOAHasBeenSet; }
63 inline void SetSOA(const SOA& value) { m_sOAHasBeenSet = true; m_sOA = value; }
64 inline void SetSOA(SOA&& value) { m_sOAHasBeenSet = true; m_sOA = std::move(value); }
65 inline DnsProperties& WithSOA(const SOA& value) { SetSOA(value); return *this;}
66 inline DnsProperties& WithSOA(SOA&& value) { SetSOA(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_hostedZoneId;
71 bool m_hostedZoneIdHasBeenSet = false;
72
73 SOA m_sOA;
74 bool m_sOAHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ServiceDiscovery
79} // namespace Aws
const Aws::String & GetHostedZoneId() const
void SetHostedZoneId(const Aws::String &value)
DnsProperties & WithSOA(const SOA &value)
AWS_SERVICEDISCOVERY_API DnsProperties(Aws::Utils::Json::JsonView jsonValue)
DnsProperties & WithHostedZoneId(const Aws::String &value)
DnsProperties & WithHostedZoneId(Aws::String &&value)
AWS_SERVICEDISCOVERY_API DnsProperties()
void SetHostedZoneId(Aws::String &&value)
DnsProperties & WithSOA(SOA &&value)
AWS_SERVICEDISCOVERY_API DnsProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsProperties & WithHostedZoneId(const char *value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue