AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IpAddressResponse.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/model/IpAddressStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53Resolver
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_ROUTE53RESOLVER_API IpAddressResponse() = default;
39 AWS_ROUTE53RESOLVER_API IpAddressResponse(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53RESOLVER_API IpAddressResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetIpId() const { return m_ipId; }
49 inline bool IpIdHasBeenSet() const { return m_ipIdHasBeenSet; }
50 template<typename IpIdT = Aws::String>
51 void SetIpId(IpIdT&& value) { m_ipIdHasBeenSet = true; m_ipId = std::forward<IpIdT>(value); }
52 template<typename IpIdT = Aws::String>
53 IpAddressResponse& WithIpId(IpIdT&& value) { SetIpId(std::forward<IpIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
61 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
62 template<typename SubnetIdT = Aws::String>
63 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
64 template<typename SubnetIdT = Aws::String>
65 IpAddressResponse& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetIp() const { return m_ip; }
73 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
74 template<typename IpT = Aws::String>
75 void SetIp(IpT&& value) { m_ipHasBeenSet = true; m_ip = std::forward<IpT>(value); }
76 template<typename IpT = Aws::String>
77 IpAddressResponse& WithIp(IpT&& value) { SetIp(std::forward<IpT>(value)); return *this;}
79
81
84 inline const Aws::String& GetIpv6() const { return m_ipv6; }
85 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
86 template<typename Ipv6T = Aws::String>
87 void SetIpv6(Ipv6T&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::forward<Ipv6T>(value); }
88 template<typename Ipv6T = Aws::String>
89 IpAddressResponse& WithIpv6(Ipv6T&& value) { SetIpv6(std::forward<Ipv6T>(value)); return *this;}
91
93
96 inline IpAddressStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(IpAddressStatus value) { m_statusHasBeenSet = true; m_status = value; }
99 inline IpAddressResponse& WithStatus(IpAddressStatus value) { SetStatus(value); return *this;}
101
103
107 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
108 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
109 template<typename StatusMessageT = Aws::String>
110 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
111 template<typename StatusMessageT = Aws::String>
112 IpAddressResponse& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
114
116
120 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
121 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
122 template<typename CreationTimeT = Aws::String>
123 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
124 template<typename CreationTimeT = Aws::String>
125 IpAddressResponse& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
127
129
133 inline const Aws::String& GetModificationTime() const { return m_modificationTime; }
134 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
135 template<typename ModificationTimeT = Aws::String>
136 void SetModificationTime(ModificationTimeT&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::forward<ModificationTimeT>(value); }
137 template<typename ModificationTimeT = Aws::String>
138 IpAddressResponse& WithModificationTime(ModificationTimeT&& value) { SetModificationTime(std::forward<ModificationTimeT>(value)); return *this;}
140 private:
141
142 Aws::String m_ipId;
143 bool m_ipIdHasBeenSet = false;
144
145 Aws::String m_subnetId;
146 bool m_subnetIdHasBeenSet = false;
147
148 Aws::String m_ip;
149 bool m_ipHasBeenSet = false;
150
151 Aws::String m_ipv6;
152 bool m_ipv6HasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156
157 Aws::String m_statusMessage;
158 bool m_statusMessageHasBeenSet = false;
159
160 Aws::String m_creationTime;
161 bool m_creationTimeHasBeenSet = false;
162
163 Aws::String m_modificationTime;
164 bool m_modificationTimeHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Route53Resolver
169} // namespace Aws
IpAddressResponse & WithModificationTime(ModificationTimeT &&value)
IpAddressResponse & WithIpId(IpIdT &&value)
IpAddressResponse & WithStatus(IpAddressStatus value)
IpAddressResponse & WithSubnetId(SubnetIdT &&value)
IpAddressResponse & WithStatusMessage(StatusMessageT &&value)
AWS_ROUTE53RESOLVER_API IpAddressResponse()=default
IpAddressResponse & WithIpv6(Ipv6T &&value)
AWS_ROUTE53RESOLVER_API IpAddressResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
IpAddressResponse & WithCreationTime(CreationTimeT &&value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RESOLVER_API IpAddressResponse(Aws::Utils::Json::JsonView jsonValue)
void SetModificationTime(ModificationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue