AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IpAddressUpdate.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_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 Route53Resolver
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_ROUTE53RESOLVER_API IpAddressUpdate() = default;
38 AWS_ROUTE53RESOLVER_API IpAddressUpdate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RESOLVER_API IpAddressUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetIpId() const { return m_ipId; }
50 inline bool IpIdHasBeenSet() const { return m_ipIdHasBeenSet; }
51 template<typename IpIdT = Aws::String>
52 void SetIpId(IpIdT&& value) { m_ipIdHasBeenSet = true; m_ipId = std::forward<IpIdT>(value); }
53 template<typename IpIdT = Aws::String>
54 IpAddressUpdate& WithIpId(IpIdT&& value) { SetIpId(std::forward<IpIdT>(value)); return *this;}
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) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
67 template<typename SubnetIdT = Aws::String>
68 IpAddressUpdate& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetIp() const { return m_ip; }
76 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
77 template<typename IpT = Aws::String>
78 void SetIp(IpT&& value) { m_ipHasBeenSet = true; m_ip = std::forward<IpT>(value); }
79 template<typename IpT = Aws::String>
80 IpAddressUpdate& WithIp(IpT&& value) { SetIp(std::forward<IpT>(value)); return *this;}
82
84
87 inline const Aws::String& GetIpv6() const { return m_ipv6; }
88 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
89 template<typename Ipv6T = Aws::String>
90 void SetIpv6(Ipv6T&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::forward<Ipv6T>(value); }
91 template<typename Ipv6T = Aws::String>
92 IpAddressUpdate& WithIpv6(Ipv6T&& value) { SetIpv6(std::forward<Ipv6T>(value)); return *this;}
94 private:
95
96 Aws::String m_ipId;
97 bool m_ipIdHasBeenSet = false;
98
99 Aws::String m_subnetId;
100 bool m_subnetIdHasBeenSet = false;
101
102 Aws::String m_ip;
103 bool m_ipHasBeenSet = false;
104
105 Aws::String m_ipv6;
106 bool m_ipv6HasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Route53Resolver
111} // 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