AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename SubnetIdT = Aws::String>
52 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
53 template<typename SubnetIdT = Aws::String>
54 IpAddressRequest& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetIp() const { return m_ip; }
62 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
63 template<typename IpT = Aws::String>
64 void SetIp(IpT&& value) { m_ipHasBeenSet = true; m_ip = std::forward<IpT>(value); }
65 template<typename IpT = Aws::String>
66 IpAddressRequest& WithIp(IpT&& value) { SetIp(std::forward<IpT>(value)); return *this;}
68
70
73 inline const Aws::String& GetIpv6() const { return m_ipv6; }
74 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
75 template<typename Ipv6T = Aws::String>
76 void SetIpv6(Ipv6T&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::forward<Ipv6T>(value); }
77 template<typename Ipv6T = Aws::String>
78 IpAddressRequest& WithIpv6(Ipv6T&& value) { SetIpv6(std::forward<Ipv6T>(value)); return *this;}
80 private:
81
82 Aws::String m_subnetId;
83 bool m_subnetIdHasBeenSet = false;
84
85 Aws::String m_ip;
86 bool m_ipHasBeenSet = false;
87
88 Aws::String m_ipv6;
89 bool m_ipv6HasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Route53Resolver
94} // namespace Aws
AWS_ROUTE53RESOLVER_API IpAddressRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RESOLVER_API IpAddressRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API IpAddressRequest()=default
IpAddressRequest & WithSubnetId(SubnetIdT &&value)
IpAddressRequest & WithIpv6(Ipv6T &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue