AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIpId(const Aws::String& value) { m_ipIdHasBeenSet = true; m_ipId = value; }
51 inline void SetIpId(Aws::String&& value) { m_ipIdHasBeenSet = true; m_ipId = std::move(value); }
52 inline void SetIpId(const char* value) { m_ipIdHasBeenSet = true; m_ipId.assign(value); }
53 inline IpAddressResponse& WithIpId(const Aws::String& value) { SetIpId(value); return *this;}
54 inline IpAddressResponse& WithIpId(Aws::String&& value) { SetIpId(std::move(value)); return *this;}
55 inline IpAddressResponse& WithIpId(const char* value) { SetIpId(value); return *this;}
57
59
62 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
63 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
64 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
65 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
66 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
67 inline IpAddressResponse& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
68 inline IpAddressResponse& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
69 inline IpAddressResponse& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
71
73
76 inline const Aws::String& GetIp() const{ return m_ip; }
77 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
78 inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
79 inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
80 inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
81 inline IpAddressResponse& WithIp(const Aws::String& value) { SetIp(value); return *this;}
82 inline IpAddressResponse& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
83 inline IpAddressResponse& WithIp(const char* value) { SetIp(value); return *this;}
85
87
90 inline const Aws::String& GetIpv6() const{ return m_ipv6; }
91 inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; }
92 inline void SetIpv6(const Aws::String& value) { m_ipv6HasBeenSet = true; m_ipv6 = value; }
93 inline void SetIpv6(Aws::String&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::move(value); }
94 inline void SetIpv6(const char* value) { m_ipv6HasBeenSet = true; m_ipv6.assign(value); }
95 inline IpAddressResponse& WithIpv6(const Aws::String& value) { SetIpv6(value); return *this;}
96 inline IpAddressResponse& WithIpv6(Aws::String&& value) { SetIpv6(std::move(value)); return *this;}
97 inline IpAddressResponse& WithIpv6(const char* value) { SetIpv6(value); return *this;}
99
101
104 inline const IpAddressStatus& GetStatus() const{ return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
106 inline void SetStatus(const IpAddressStatus& value) { m_statusHasBeenSet = true; m_status = value; }
107 inline void SetStatus(IpAddressStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
108 inline IpAddressResponse& WithStatus(const IpAddressStatus& value) { SetStatus(value); return *this;}
109 inline IpAddressResponse& WithStatus(IpAddressStatus&& value) { SetStatus(std::move(value)); return *this;}
111
113
117 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
118 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
119 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
120 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
121 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
122 inline IpAddressResponse& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
123 inline IpAddressResponse& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
124 inline IpAddressResponse& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
126
128
132 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
133 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
134 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
135 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
136 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
137 inline IpAddressResponse& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
138 inline IpAddressResponse& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
139 inline IpAddressResponse& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
141
143
147 inline const Aws::String& GetModificationTime() const{ return m_modificationTime; }
148 inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; }
149 inline void SetModificationTime(const Aws::String& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; }
150 inline void SetModificationTime(Aws::String&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); }
151 inline void SetModificationTime(const char* value) { m_modificationTimeHasBeenSet = true; m_modificationTime.assign(value); }
152 inline IpAddressResponse& WithModificationTime(const Aws::String& value) { SetModificationTime(value); return *this;}
153 inline IpAddressResponse& WithModificationTime(Aws::String&& value) { SetModificationTime(std::move(value)); return *this;}
154 inline IpAddressResponse& WithModificationTime(const char* value) { SetModificationTime(value); return *this;}
156 private:
157
158 Aws::String m_ipId;
159 bool m_ipIdHasBeenSet = false;
160
161 Aws::String m_subnetId;
162 bool m_subnetIdHasBeenSet = false;
163
164 Aws::String m_ip;
165 bool m_ipHasBeenSet = false;
166
167 Aws::String m_ipv6;
168 bool m_ipv6HasBeenSet = false;
169
170 IpAddressStatus m_status;
171 bool m_statusHasBeenSet = false;
172
173 Aws::String m_statusMessage;
174 bool m_statusMessageHasBeenSet = false;
175
176 Aws::String m_creationTime;
177 bool m_creationTimeHasBeenSet = false;
178
179 Aws::String m_modificationTime;
180 bool m_modificationTimeHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Route53Resolver
185} // namespace Aws
void SetStatusMessage(const Aws::String &value)
IpAddressResponse & WithIpv6(const Aws::String &value)
IpAddressResponse & WithIp(const Aws::String &value)
IpAddressResponse & WithStatus(const IpAddressStatus &value)
IpAddressResponse & WithModificationTime(Aws::String &&value)
IpAddressResponse & WithCreationTime(const Aws::String &value)
IpAddressResponse & WithSubnetId(const char *value)
IpAddressResponse & WithStatus(IpAddressStatus &&value)
IpAddressResponse & WithIpId(const Aws::String &value)
IpAddressResponse & WithStatusMessage(Aws::String &&value)
IpAddressResponse & WithCreationTime(const char *value)
IpAddressResponse & WithModificationTime(const Aws::String &value)
IpAddressResponse & WithIp(Aws::String &&value)
IpAddressResponse & WithStatusMessage(const char *value)
IpAddressResponse & WithIpId(const char *value)
IpAddressResponse & WithModificationTime(const char *value)
IpAddressResponse & WithIpId(Aws::String &&value)
AWS_ROUTE53RESOLVER_API IpAddressResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const IpAddressStatus &value)
IpAddressResponse & WithCreationTime(Aws::String &&value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
IpAddressResponse & WithIpv6(const char *value)
IpAddressResponse & WithIpv6(Aws::String &&value)
AWS_ROUTE53RESOLVER_API IpAddressResponse(Aws::Utils::Json::JsonView jsonValue)
IpAddressResponse & WithIp(const char *value)
IpAddressResponse & WithSubnetId(const Aws::String &value)
void SetModificationTime(const Aws::String &value)
IpAddressResponse & WithSubnetId(Aws::String &&value)
IpAddressResponse & WithStatusMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue