AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
GetRequesterGatewayResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
13#include <aws/rtbfabric/model/RequesterGatewayStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace RTBFabric {
27namespace Model {
29 public:
30 AWS_RTBFABRIC_API GetRequesterGatewayResult() = default;
33
35
38 inline RequesterGatewayStatus GetStatus() const { return m_status; }
39 inline void SetStatus(RequesterGatewayStatus value) {
40 m_statusHasBeenSet = true;
41 m_status = value;
42 }
44 SetStatus(value);
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDomainName() const { return m_domainName; }
54 template <typename DomainNameT = Aws::String>
55 void SetDomainName(DomainNameT&& value) {
56 m_domainNameHasBeenSet = true;
57 m_domainName = std::forward<DomainNameT>(value);
58 }
59 template <typename DomainNameT = Aws::String>
61 SetDomainName(std::forward<DomainNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template <typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) {
73 m_descriptionHasBeenSet = true;
74 m_description = std::forward<DescriptionT>(value);
75 }
76 template <typename DescriptionT = Aws::String>
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
88 template <typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) {
90 m_createdAtHasBeenSet = true;
91 m_createdAt = std::forward<CreatedAtT>(value);
92 }
93 template <typename CreatedAtT = Aws::Utils::DateTime>
95 SetCreatedAt(std::forward<CreatedAtT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
105 template <typename UpdatedAtT = Aws::Utils::DateTime>
106 void SetUpdatedAt(UpdatedAtT&& value) {
107 m_updatedAtHasBeenSet = true;
108 m_updatedAt = std::forward<UpdatedAtT>(value);
109 }
110 template <typename UpdatedAtT = Aws::Utils::DateTime>
112 SetUpdatedAt(std::forward<UpdatedAtT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetVpcId() const { return m_vpcId; }
122 template <typename VpcIdT = Aws::String>
123 void SetVpcId(VpcIdT&& value) {
124 m_vpcIdHasBeenSet = true;
125 m_vpcId = std::forward<VpcIdT>(value);
126 }
127 template <typename VpcIdT = Aws::String>
129 SetVpcId(std::forward<VpcIdT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
139 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
140 void SetSubnetIds(SubnetIdsT&& value) {
141 m_subnetIdsHasBeenSet = true;
142 m_subnetIds = std::forward<SubnetIdsT>(value);
143 }
144 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
146 SetSubnetIds(std::forward<SubnetIdsT>(value));
147 return *this;
148 }
149 template <typename SubnetIdsT = Aws::String>
151 m_subnetIdsHasBeenSet = true;
152 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
162 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
163 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
164 m_securityGroupIdsHasBeenSet = true;
165 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
166 }
167 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
169 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
170 return *this;
171 }
172 template <typename SecurityGroupIdsT = Aws::String>
173 GetRequesterGatewayResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
174 m_securityGroupIdsHasBeenSet = true;
175 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
185 template <typename GatewayIdT = Aws::String>
186 void SetGatewayId(GatewayIdT&& value) {
187 m_gatewayIdHasBeenSet = true;
188 m_gatewayId = std::forward<GatewayIdT>(value);
189 }
190 template <typename GatewayIdT = Aws::String>
192 SetGatewayId(std::forward<GatewayIdT>(value));
193 return *this;
194 }
196
198
202 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
203 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 void SetTags(TagsT&& value) {
205 m_tagsHasBeenSet = true;
206 m_tags = std::forward<TagsT>(value);
207 }
208 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 SetTags(std::forward<TagsT>(value));
211 return *this;
212 }
213 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
214 GetRequesterGatewayResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
215 m_tagsHasBeenSet = true;
216 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
217 return *this;
218 }
220
222
225 inline int GetActiveLinksCount() const { return m_activeLinksCount; }
226 inline void SetActiveLinksCount(int value) {
227 m_activeLinksCountHasBeenSet = true;
228 m_activeLinksCount = value;
229 }
231 SetActiveLinksCount(value);
232 return *this;
233 }
235
237
240 inline int GetTotalLinksCount() const { return m_totalLinksCount; }
241 inline void SetTotalLinksCount(int value) {
242 m_totalLinksCountHasBeenSet = true;
243 m_totalLinksCount = value;
244 }
246 SetTotalLinksCount(value);
247 return *this;
248 }
250
252
253 inline const Aws::String& GetRequestId() const { return m_requestId; }
254 template <typename RequestIdT = Aws::String>
255 void SetRequestId(RequestIdT&& value) {
256 m_requestIdHasBeenSet = true;
257 m_requestId = std::forward<RequestIdT>(value);
258 }
259 template <typename RequestIdT = Aws::String>
261 SetRequestId(std::forward<RequestIdT>(value));
262 return *this;
263 }
265 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
266
267 private:
269
270 Aws::String m_domainName;
271
272 Aws::String m_description;
273
274 Aws::Utils::DateTime m_createdAt{};
275
276 Aws::Utils::DateTime m_updatedAt{};
277
278 Aws::String m_vpcId;
279
280 Aws::Vector<Aws::String> m_subnetIds;
281
282 Aws::Vector<Aws::String> m_securityGroupIds;
283
284 Aws::String m_gatewayId;
285
287
288 int m_activeLinksCount{0};
289
290 int m_totalLinksCount{0};
291
292 Aws::String m_requestId;
293 Aws::Http::HttpResponseCode m_HttpResponseCode;
294 bool m_statusHasBeenSet = false;
295 bool m_domainNameHasBeenSet = false;
296 bool m_descriptionHasBeenSet = false;
297 bool m_createdAtHasBeenSet = false;
298 bool m_updatedAtHasBeenSet = false;
299 bool m_vpcIdHasBeenSet = false;
300 bool m_subnetIdsHasBeenSet = false;
301 bool m_securityGroupIdsHasBeenSet = false;
302 bool m_gatewayIdHasBeenSet = false;
303 bool m_tagsHasBeenSet = false;
304 bool m_activeLinksCountHasBeenSet = false;
305 bool m_totalLinksCountHasBeenSet = false;
306 bool m_requestIdHasBeenSet = false;
307};
308
309} // namespace Model
310} // namespace RTBFabric
311} // namespace Aws
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
GetRequesterGatewayResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
GetRequesterGatewayResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
GetRequesterGatewayResult & WithGatewayId(GatewayIdT &&value)
GetRequesterGatewayResult & WithUpdatedAt(UpdatedAtT &&value)
GetRequesterGatewayResult & WithSubnetIds(SubnetIdsT &&value)
GetRequesterGatewayResult & WithDomainName(DomainNameT &&value)
GetRequesterGatewayResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_RTBFABRIC_API GetRequesterGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRequesterGatewayResult & WithVpcId(VpcIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetRequesterGatewayResult & WithRequestId(RequestIdT &&value)
GetRequesterGatewayResult & WithTotalLinksCount(int value)
AWS_RTBFABRIC_API GetRequesterGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRequesterGatewayResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetRequesterGatewayResult & WithStatus(RequesterGatewayStatus value)
GetRequesterGatewayResult & AddSubnetIds(SubnetIdsT &&value)
GetRequesterGatewayResult & WithTags(TagsT &&value)
GetRequesterGatewayResult & WithActiveLinksCount(int value)
GetRequesterGatewayResult & WithDescription(DescriptionT &&value)
AWS_RTBFABRIC_API GetRequesterGatewayResult()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue