AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIpId(const Aws::String& value) { m_ipIdHasBeenSet = true; m_ipId = value; }
52 inline void SetIpId(Aws::String&& value) { m_ipIdHasBeenSet = true; m_ipId = std::move(value); }
53 inline void SetIpId(const char* value) { m_ipIdHasBeenSet = true; m_ipId.assign(value); }
54 inline IpAddressUpdate& WithIpId(const Aws::String& value) { SetIpId(value); return *this;}
55 inline IpAddressUpdate& WithIpId(Aws::String&& value) { SetIpId(std::move(value)); return *this;}
56 inline IpAddressUpdate& WithIpId(const char* value) { SetIpId(value); return *this;}
58
60
65 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
66 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
67 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
68 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
69 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
70 inline IpAddressUpdate& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
71 inline IpAddressUpdate& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
72 inline IpAddressUpdate& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
74
76
79 inline const Aws::String& GetIp() const{ return m_ip; }
80 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
81 inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
82 inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
83 inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
84 inline IpAddressUpdate& WithIp(const Aws::String& value) { SetIp(value); return *this;}
85 inline IpAddressUpdate& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
86 inline IpAddressUpdate& WithIp(const char* value) { SetIp(value); return *this;}
88
90
93 inline const Aws::String& GetIpv6() const{ return m_ipv6; }
94 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
95 inline void SetIpv6(const Aws::String& value) { m_ipv6HasBeenSet = true; m_ipv6 = value; }
96 inline void SetIpv6(Aws::String&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::move(value); }
97 inline void SetIpv6(const char* value) { m_ipv6HasBeenSet = true; m_ipv6.assign(value); }
98 inline IpAddressUpdate& WithIpv6(const Aws::String& value) { SetIpv6(value); return *this;}
99 inline IpAddressUpdate& WithIpv6(Aws::String&& value) { SetIpv6(std::move(value)); return *this;}
100 inline IpAddressUpdate& WithIpv6(const char* value) { SetIpv6(value); return *this;}
102 private:
103
104 Aws::String m_ipId;
105 bool m_ipIdHasBeenSet = false;
106
107 Aws::String m_subnetId;
108 bool m_subnetIdHasBeenSet = false;
109
110 Aws::String m_ip;
111 bool m_ipHasBeenSet = false;
112
113 Aws::String m_ipv6;
114 bool m_ipv6HasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Route53Resolver
119} // namespace Aws
AWS_ROUTE53RESOLVER_API IpAddressUpdate()
IpAddressUpdate & WithSubnetId(Aws::String &&value)
IpAddressUpdate & WithIpId(const Aws::String &value)
void SetIpId(const Aws::String &value)
void SetIpv6(const Aws::String &value)
IpAddressUpdate & WithIpId(const char *value)
IpAddressUpdate & WithSubnetId(const char *value)
IpAddressUpdate & WithIp(const char *value)
IpAddressUpdate & WithIp(const Aws::String &value)
void SetSubnetId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
IpAddressUpdate & WithIpId(Aws::String &&value)
IpAddressUpdate & WithIp(Aws::String &&value)
IpAddressUpdate & WithSubnetId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API IpAddressUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API IpAddressUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
IpAddressUpdate & WithIpv6(const Aws::String &value)
IpAddressUpdate & WithIpv6(Aws::String &&value)
IpAddressUpdate & WithIpv6(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue