AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
63 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
64 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
65 template <typename SubnetIdT = Aws::String>
66 void SetSubnetId(SubnetIdT&& value) {
67 m_subnetIdHasBeenSet = true;
68 m_subnetId = std::forward<SubnetIdT>(value);
69 }
70 template <typename SubnetIdT = Aws::String>
71 IpAddressUpdate& WithSubnetId(SubnetIdT&& value) {
72 SetSubnetId(std::forward<SubnetIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetIp() const { return m_ip; }
82 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
83 template <typename IpT = Aws::String>
84 void SetIp(IpT&& value) {
85 m_ipHasBeenSet = true;
86 m_ip = std::forward<IpT>(value);
87 }
88 template <typename IpT = Aws::String>
89 IpAddressUpdate& WithIp(IpT&& value) {
90 SetIp(std::forward<IpT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetIpv6() const { return m_ipv6; }
100 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
101 template <typename Ipv6T = Aws::String>
102 void SetIpv6(Ipv6T&& value) {
103 m_ipv6HasBeenSet = true;
104 m_ipv6 = std::forward<Ipv6T>(value);
105 }
106 template <typename Ipv6T = Aws::String>
107 IpAddressUpdate& WithIpv6(Ipv6T&& value) {
108 SetIpv6(std::forward<Ipv6T>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_ipId;
114
115 Aws::String m_subnetId;
116
117 Aws::String m_ip;
118
119 Aws::String m_ipv6;
120 bool m_ipIdHasBeenSet = false;
121 bool m_subnetIdHasBeenSet = false;
122 bool m_ipHasBeenSet = false;
123 bool m_ipv6HasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Route53Resolver
128} // namespace Aws
IpAddressUpdate & WithSubnetId(SubnetIdT &&value)
IpAddressUpdate & WithIpv6(Ipv6T &&value)
IpAddressUpdate & WithIpId(IpIdT &&value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
IpAddressUpdate & WithIp(IpT &&value)
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