AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DnsEntry.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VPCLattice
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_VPCLATTICE_API DnsEntry();
35 AWS_VPCLATTICE_API DnsEntry(Aws::Utils::Json::JsonView jsonValue);
36 AWS_VPCLATTICE_API DnsEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
48 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
49 inline DnsEntry& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
50 inline DnsEntry& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
51 inline DnsEntry& WithDomainName(const char* value) { SetDomainName(value); return *this;}
53
55
58 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
59 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
60 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
61 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
62 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
63 inline DnsEntry& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
64 inline DnsEntry& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
65 inline DnsEntry& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
67 private:
68
69 Aws::String m_domainName;
70 bool m_domainNameHasBeenSet = false;
71
72 Aws::String m_hostedZoneId;
73 bool m_hostedZoneIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace VPCLattice
78} // namespace Aws
Definition DnsEntry.h:32
void SetHostedZoneId(const Aws::String &value)
Definition DnsEntry.h:60
AWS_VPCLATTICE_API DnsEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsEntry & WithHostedZoneId(const Aws::String &value)
Definition DnsEntry.h:63
void SetHostedZoneId(const char *value)
Definition DnsEntry.h:62
DnsEntry & WithDomainName(const char *value)
Definition DnsEntry.h:51
const Aws::String & GetHostedZoneId() const
Definition DnsEntry.h:58
void SetDomainName(Aws::String &&value)
Definition DnsEntry.h:47
DnsEntry & WithDomainName(Aws::String &&value)
Definition DnsEntry.h:50
DnsEntry & WithHostedZoneId(Aws::String &&value)
Definition DnsEntry.h:64
bool HostedZoneIdHasBeenSet() const
Definition DnsEntry.h:59
AWS_VPCLATTICE_API DnsEntry(Aws::Utils::Json::JsonView jsonValue)
DnsEntry & WithHostedZoneId(const char *value)
Definition DnsEntry.h:65
bool DomainNameHasBeenSet() const
Definition DnsEntry.h:45
void SetDomainName(const char *value)
Definition DnsEntry.h:48
void SetHostedZoneId(Aws::String &&value)
Definition DnsEntry.h:61
DnsEntry & WithDomainName(const Aws::String &value)
Definition DnsEntry.h:49
const Aws::String & GetDomainName() const
Definition DnsEntry.h:44
AWS_VPCLATTICE_API DnsEntry()
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDomainName(const Aws::String &value)
Definition DnsEntry.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue