AWS SDK for C++

AWS SDK for C++ Version 1.11.903

Loading...
Searching...
No Matches
IpAddressUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Route53Resolver {
20namespace Model {
21
31 public:
32 AWS_ROUTE53RESOLVER_API IpAddressUpdate() = default;
33 AWS_ROUTE53RESOLVER_API IpAddressUpdate(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ROUTE53RESOLVER_API IpAddressUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetIpId() const { return m_ipId; }
44 inline bool IpIdHasBeenSet() const { return m_ipIdHasBeenSet; }
45 template <typename IpIdT = Aws::String>
46 void SetIpId(IpIdT&& value) {
47 m_ipIdHasBeenSet = true;
48 m_ipId = std::forward<IpIdT>(value);
49 }
50 template <typename IpIdT = Aws::String>
51 IpAddressUpdate& WithIpId(IpIdT&& value) {
52 SetIpId(std::forward<IpIdT>(value));
53 return *this;
54 }
56
58
75 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
76 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
77 template <typename SubnetIdT = Aws::String>
78 void SetSubnetId(SubnetIdT&& value) {
79 m_subnetIdHasBeenSet = true;
80 m_subnetId = std::forward<SubnetIdT>(value);
81 }
82 template <typename SubnetIdT = Aws::String>
83 IpAddressUpdate& WithSubnetId(SubnetIdT&& value) {
84 SetSubnetId(std::forward<SubnetIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetIp() const { return m_ip; }
94 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
95 template <typename IpT = Aws::String>
96 void SetIp(IpT&& value) {
97 m_ipHasBeenSet = true;
98 m_ip = std::forward<IpT>(value);
99 }
100 template <typename IpT = Aws::String>
101 IpAddressUpdate& WithIp(IpT&& value) {
102 SetIp(std::forward<IpT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetIpv6() const { return m_ipv6; }
112 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
113 template <typename Ipv6T = Aws::String>
114 void SetIpv6(Ipv6T&& value) {
115 m_ipv6HasBeenSet = true;
116 m_ipv6 = std::forward<Ipv6T>(value);
117 }
118 template <typename Ipv6T = Aws::String>
119 IpAddressUpdate& WithIpv6(Ipv6T&& value) {
120 SetIpv6(std::forward<Ipv6T>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_ipId;
126
127 Aws::String m_subnetId;
128
129 Aws::String m_ip;
130
131 Aws::String m_ipv6;
132 bool m_ipIdHasBeenSet = false;
133 bool m_subnetIdHasBeenSet = false;
134 bool m_ipHasBeenSet = false;
135 bool m_ipv6HasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Route53Resolver
140} // namespace Aws
IpAddressUpdate & WithSubnetId(SubnetIdT &&value)
IpAddressUpdate & WithIpv6(Ipv6T &&value)
IpAddressUpdate & WithIpId(IpIdT &&value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RESOLVER_API IpAddressUpdate()=default
AWS_ROUTE53RESOLVER_API IpAddressUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API IpAddressUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue