AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IpAddressRequest.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
37 {
38 public:
39 AWS_ROUTE53RESOLVER_API IpAddressRequest();
40 AWS_ROUTE53RESOLVER_API IpAddressRequest(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ROUTE53RESOLVER_API IpAddressRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
50 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
51 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
52 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
53 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
54 inline IpAddressRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
55 inline IpAddressRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
56 inline IpAddressRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
58
60
63 inline const Aws::String& GetIp() const{ return m_ip; }
64 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
65 inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
66 inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
67 inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
68 inline IpAddressRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;}
69 inline IpAddressRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
70 inline IpAddressRequest& WithIp(const char* value) { SetIp(value); return *this;}
72
74
77 inline const Aws::String& GetIpv6() const{ return m_ipv6; }
78 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
79 inline void SetIpv6(const Aws::String& value) { m_ipv6HasBeenSet = true; m_ipv6 = value; }
80 inline void SetIpv6(Aws::String&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::move(value); }
81 inline void SetIpv6(const char* value) { m_ipv6HasBeenSet = true; m_ipv6.assign(value); }
82 inline IpAddressRequest& WithIpv6(const Aws::String& value) { SetIpv6(value); return *this;}
83 inline IpAddressRequest& WithIpv6(Aws::String&& value) { SetIpv6(std::move(value)); return *this;}
84 inline IpAddressRequest& WithIpv6(const char* value) { SetIpv6(value); return *this;}
86 private:
87
88 Aws::String m_subnetId;
89 bool m_subnetIdHasBeenSet = false;
90
91 Aws::String m_ip;
92 bool m_ipHasBeenSet = false;
93
94 Aws::String m_ipv6;
95 bool m_ipv6HasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Route53Resolver
100} // namespace Aws
AWS_ROUTE53RESOLVER_API IpAddressRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API IpAddressRequest()
IpAddressRequest & WithSubnetId(Aws::String &&value)
IpAddressRequest & WithIpv6(const Aws::String &value)
IpAddressRequest & WithIp(const char *value)
void SetSubnetId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
IpAddressRequest & WithIpv6(const char *value)
IpAddressRequest & WithSubnetId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API IpAddressRequest(Aws::Utils::Json::JsonView jsonValue)
IpAddressRequest & WithIp(Aws::String &&value)
IpAddressRequest & WithIpv6(Aws::String &&value)
IpAddressRequest & WithSubnetId(const char *value)
IpAddressRequest & WithIp(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue