AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeGatewayInformationResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/storagegateway/model/HostEnvironment.h>
11#include <aws/storagegateway/model/GatewayCapacity.h>
12#include <aws/storagegateway/model/NetworkInterface.h>
13#include <aws/storagegateway/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace StorageGateway
29{
30namespace Model
31{
38 {
39 public:
40 AWS_STORAGEGATEWAY_API DescribeGatewayInformationResult() = default;
43
44
46
47 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
48 template<typename GatewayARNT = Aws::String>
49 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
50 template<typename GatewayARNT = Aws::String>
51 DescribeGatewayInformationResult& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
53
55
60 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
61 template<typename GatewayIdT = Aws::String>
62 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::forward<GatewayIdT>(value); }
63 template<typename GatewayIdT = Aws::String>
64 DescribeGatewayInformationResult& WithGatewayId(GatewayIdT&& value) { SetGatewayId(std::forward<GatewayIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetGatewayName() const { return m_gatewayName; }
72 template<typename GatewayNameT = Aws::String>
73 void SetGatewayName(GatewayNameT&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::forward<GatewayNameT>(value); }
74 template<typename GatewayNameT = Aws::String>
75 DescribeGatewayInformationResult& WithGatewayName(GatewayNameT&& value) { SetGatewayName(std::forward<GatewayNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetGatewayTimezone() const { return m_gatewayTimezone; }
83 template<typename GatewayTimezoneT = Aws::String>
84 void SetGatewayTimezone(GatewayTimezoneT&& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = std::forward<GatewayTimezoneT>(value); }
85 template<typename GatewayTimezoneT = Aws::String>
86 DescribeGatewayInformationResult& WithGatewayTimezone(GatewayTimezoneT&& value) { SetGatewayTimezone(std::forward<GatewayTimezoneT>(value)); return *this;}
88
90
93 inline const Aws::String& GetGatewayState() const { return m_gatewayState; }
94 template<typename GatewayStateT = Aws::String>
95 void SetGatewayState(GatewayStateT&& value) { m_gatewayStateHasBeenSet = true; m_gatewayState = std::forward<GatewayStateT>(value); }
96 template<typename GatewayStateT = Aws::String>
97 DescribeGatewayInformationResult& WithGatewayState(GatewayStateT&& value) { SetGatewayState(std::forward<GatewayStateT>(value)); return *this;}
99
101
105 inline const Aws::Vector<NetworkInterface>& GetGatewayNetworkInterfaces() const { return m_gatewayNetworkInterfaces; }
106 template<typename GatewayNetworkInterfacesT = Aws::Vector<NetworkInterface>>
107 void SetGatewayNetworkInterfaces(GatewayNetworkInterfacesT&& value) { m_gatewayNetworkInterfacesHasBeenSet = true; m_gatewayNetworkInterfaces = std::forward<GatewayNetworkInterfacesT>(value); }
108 template<typename GatewayNetworkInterfacesT = Aws::Vector<NetworkInterface>>
109 DescribeGatewayInformationResult& WithGatewayNetworkInterfaces(GatewayNetworkInterfacesT&& value) { SetGatewayNetworkInterfaces(std::forward<GatewayNetworkInterfacesT>(value)); return *this;}
110 template<typename GatewayNetworkInterfacesT = NetworkInterface>
111 DescribeGatewayInformationResult& AddGatewayNetworkInterfaces(GatewayNetworkInterfacesT&& value) { m_gatewayNetworkInterfacesHasBeenSet = true; m_gatewayNetworkInterfaces.emplace_back(std::forward<GatewayNetworkInterfacesT>(value)); return *this; }
113
115
123 inline const Aws::String& GetGatewayType() const { return m_gatewayType; }
124 template<typename GatewayTypeT = Aws::String>
125 void SetGatewayType(GatewayTypeT&& value) { m_gatewayTypeHasBeenSet = true; m_gatewayType = std::forward<GatewayTypeT>(value); }
126 template<typename GatewayTypeT = Aws::String>
127 DescribeGatewayInformationResult& WithGatewayType(GatewayTypeT&& value) { SetGatewayType(std::forward<GatewayTypeT>(value)); return *this;}
129
131
136 inline const Aws::String& GetNextUpdateAvailabilityDate() const { return m_nextUpdateAvailabilityDate; }
137 template<typename NextUpdateAvailabilityDateT = Aws::String>
138 void SetNextUpdateAvailabilityDate(NextUpdateAvailabilityDateT&& value) { m_nextUpdateAvailabilityDateHasBeenSet = true; m_nextUpdateAvailabilityDate = std::forward<NextUpdateAvailabilityDateT>(value); }
139 template<typename NextUpdateAvailabilityDateT = Aws::String>
140 DescribeGatewayInformationResult& WithNextUpdateAvailabilityDate(NextUpdateAvailabilityDateT&& value) { SetNextUpdateAvailabilityDate(std::forward<NextUpdateAvailabilityDateT>(value)); return *this;}
142
144
150 inline const Aws::String& GetLastSoftwareUpdate() const { return m_lastSoftwareUpdate; }
151 template<typename LastSoftwareUpdateT = Aws::String>
152 void SetLastSoftwareUpdate(LastSoftwareUpdateT&& value) { m_lastSoftwareUpdateHasBeenSet = true; m_lastSoftwareUpdate = std::forward<LastSoftwareUpdateT>(value); }
153 template<typename LastSoftwareUpdateT = Aws::String>
154 DescribeGatewayInformationResult& WithLastSoftwareUpdate(LastSoftwareUpdateT&& value) { SetLastSoftwareUpdate(std::forward<LastSoftwareUpdateT>(value)); return *this;}
156
158
161 inline const Aws::String& GetEc2InstanceId() const { return m_ec2InstanceId; }
162 template<typename Ec2InstanceIdT = Aws::String>
163 void SetEc2InstanceId(Ec2InstanceIdT&& value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId = std::forward<Ec2InstanceIdT>(value); }
164 template<typename Ec2InstanceIdT = Aws::String>
165 DescribeGatewayInformationResult& WithEc2InstanceId(Ec2InstanceIdT&& value) { SetEc2InstanceId(std::forward<Ec2InstanceIdT>(value)); return *this;}
167
169
172 inline const Aws::String& GetEc2InstanceRegion() const { return m_ec2InstanceRegion; }
173 template<typename Ec2InstanceRegionT = Aws::String>
174 void SetEc2InstanceRegion(Ec2InstanceRegionT&& value) { m_ec2InstanceRegionHasBeenSet = true; m_ec2InstanceRegion = std::forward<Ec2InstanceRegionT>(value); }
175 template<typename Ec2InstanceRegionT = Aws::String>
176 DescribeGatewayInformationResult& WithEc2InstanceRegion(Ec2InstanceRegionT&& value) { SetEc2InstanceRegion(std::forward<Ec2InstanceRegionT>(value)); return *this;}
178
180
186 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
187 template<typename TagsT = Aws::Vector<Tag>>
188 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
189 template<typename TagsT = Aws::Vector<Tag>>
190 DescribeGatewayInformationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
191 template<typename TagsT = Tag>
192 DescribeGatewayInformationResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
194
196
200 inline const Aws::String& GetVPCEndpoint() const { return m_vPCEndpoint; }
201 template<typename VPCEndpointT = Aws::String>
202 void SetVPCEndpoint(VPCEndpointT&& value) { m_vPCEndpointHasBeenSet = true; m_vPCEndpoint = std::forward<VPCEndpointT>(value); }
203 template<typename VPCEndpointT = Aws::String>
204 DescribeGatewayInformationResult& WithVPCEndpoint(VPCEndpointT&& value) { SetVPCEndpoint(std::forward<VPCEndpointT>(value)); return *this;}
206
208
214 inline const Aws::String& GetCloudWatchLogGroupARN() const { return m_cloudWatchLogGroupARN; }
215 template<typename CloudWatchLogGroupARNT = Aws::String>
216 void SetCloudWatchLogGroupARN(CloudWatchLogGroupARNT&& value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN = std::forward<CloudWatchLogGroupARNT>(value); }
217 template<typename CloudWatchLogGroupARNT = Aws::String>
218 DescribeGatewayInformationResult& WithCloudWatchLogGroupARN(CloudWatchLogGroupARNT&& value) { SetCloudWatchLogGroupARN(std::forward<CloudWatchLogGroupARNT>(value)); return *this;}
220
222
227 inline HostEnvironment GetHostEnvironment() const { return m_hostEnvironment; }
228 inline void SetHostEnvironment(HostEnvironment value) { m_hostEnvironmentHasBeenSet = true; m_hostEnvironment = value; }
231
233
237 inline const Aws::String& GetEndpointType() const { return m_endpointType; }
238 template<typename EndpointTypeT = Aws::String>
239 void SetEndpointType(EndpointTypeT&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::forward<EndpointTypeT>(value); }
240 template<typename EndpointTypeT = Aws::String>
241 DescribeGatewayInformationResult& WithEndpointType(EndpointTypeT&& value) { SetEndpointType(std::forward<EndpointTypeT>(value)); return *this;}
243
245
249 inline const Aws::String& GetSoftwareUpdatesEndDate() const { return m_softwareUpdatesEndDate; }
250 template<typename SoftwareUpdatesEndDateT = Aws::String>
251 void SetSoftwareUpdatesEndDate(SoftwareUpdatesEndDateT&& value) { m_softwareUpdatesEndDateHasBeenSet = true; m_softwareUpdatesEndDate = std::forward<SoftwareUpdatesEndDateT>(value); }
252 template<typename SoftwareUpdatesEndDateT = Aws::String>
253 DescribeGatewayInformationResult& WithSoftwareUpdatesEndDate(SoftwareUpdatesEndDateT&& value) { SetSoftwareUpdatesEndDate(std::forward<SoftwareUpdatesEndDateT>(value)); return *this;}
255
257
261 inline const Aws::String& GetDeprecationDate() const { return m_deprecationDate; }
262 template<typename DeprecationDateT = Aws::String>
263 void SetDeprecationDate(DeprecationDateT&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::forward<DeprecationDateT>(value); }
264 template<typename DeprecationDateT = Aws::String>
265 DescribeGatewayInformationResult& WithDeprecationDate(DeprecationDateT&& value) { SetDeprecationDate(std::forward<DeprecationDateT>(value)); return *this;}
267
269
272 inline GatewayCapacity GetGatewayCapacity() const { return m_gatewayCapacity; }
273 inline void SetGatewayCapacity(GatewayCapacity value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = value; }
276
278
282 inline const Aws::Vector<GatewayCapacity>& GetSupportedGatewayCapacities() const { return m_supportedGatewayCapacities; }
283 template<typename SupportedGatewayCapacitiesT = Aws::Vector<GatewayCapacity>>
284 void SetSupportedGatewayCapacities(SupportedGatewayCapacitiesT&& value) { m_supportedGatewayCapacitiesHasBeenSet = true; m_supportedGatewayCapacities = std::forward<SupportedGatewayCapacitiesT>(value); }
285 template<typename SupportedGatewayCapacitiesT = Aws::Vector<GatewayCapacity>>
286 DescribeGatewayInformationResult& WithSupportedGatewayCapacities(SupportedGatewayCapacitiesT&& value) { SetSupportedGatewayCapacities(std::forward<SupportedGatewayCapacitiesT>(value)); return *this;}
287 inline DescribeGatewayInformationResult& AddSupportedGatewayCapacities(GatewayCapacity value) { m_supportedGatewayCapacitiesHasBeenSet = true; m_supportedGatewayCapacities.push_back(value); return *this; }
289
291
296 inline const Aws::String& GetHostEnvironmentId() const { return m_hostEnvironmentId; }
297 template<typename HostEnvironmentIdT = Aws::String>
298 void SetHostEnvironmentId(HostEnvironmentIdT&& value) { m_hostEnvironmentIdHasBeenSet = true; m_hostEnvironmentId = std::forward<HostEnvironmentIdT>(value); }
299 template<typename HostEnvironmentIdT = Aws::String>
300 DescribeGatewayInformationResult& WithHostEnvironmentId(HostEnvironmentIdT&& value) { SetHostEnvironmentId(std::forward<HostEnvironmentIdT>(value)); return *this;}
302
304
307 inline const Aws::String& GetSoftwareVersion() const { return m_softwareVersion; }
308 template<typename SoftwareVersionT = Aws::String>
309 void SetSoftwareVersion(SoftwareVersionT&& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = std::forward<SoftwareVersionT>(value); }
310 template<typename SoftwareVersionT = Aws::String>
311 DescribeGatewayInformationResult& WithSoftwareVersion(SoftwareVersionT&& value) { SetSoftwareVersion(std::forward<SoftwareVersionT>(value)); return *this;}
313
315
316 inline const Aws::String& GetRequestId() const { return m_requestId; }
317 template<typename RequestIdT = Aws::String>
318 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
319 template<typename RequestIdT = Aws::String>
320 DescribeGatewayInformationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
322 private:
323
324 Aws::String m_gatewayARN;
325 bool m_gatewayARNHasBeenSet = false;
326
327 Aws::String m_gatewayId;
328 bool m_gatewayIdHasBeenSet = false;
329
330 Aws::String m_gatewayName;
331 bool m_gatewayNameHasBeenSet = false;
332
333 Aws::String m_gatewayTimezone;
334 bool m_gatewayTimezoneHasBeenSet = false;
335
336 Aws::String m_gatewayState;
337 bool m_gatewayStateHasBeenSet = false;
338
339 Aws::Vector<NetworkInterface> m_gatewayNetworkInterfaces;
340 bool m_gatewayNetworkInterfacesHasBeenSet = false;
341
342 Aws::String m_gatewayType;
343 bool m_gatewayTypeHasBeenSet = false;
344
345 Aws::String m_nextUpdateAvailabilityDate;
346 bool m_nextUpdateAvailabilityDateHasBeenSet = false;
347
348 Aws::String m_lastSoftwareUpdate;
349 bool m_lastSoftwareUpdateHasBeenSet = false;
350
351 Aws::String m_ec2InstanceId;
352 bool m_ec2InstanceIdHasBeenSet = false;
353
354 Aws::String m_ec2InstanceRegion;
355 bool m_ec2InstanceRegionHasBeenSet = false;
356
357 Aws::Vector<Tag> m_tags;
358 bool m_tagsHasBeenSet = false;
359
360 Aws::String m_vPCEndpoint;
361 bool m_vPCEndpointHasBeenSet = false;
362
363 Aws::String m_cloudWatchLogGroupARN;
364 bool m_cloudWatchLogGroupARNHasBeenSet = false;
365
366 HostEnvironment m_hostEnvironment{HostEnvironment::NOT_SET};
367 bool m_hostEnvironmentHasBeenSet = false;
368
369 Aws::String m_endpointType;
370 bool m_endpointTypeHasBeenSet = false;
371
372 Aws::String m_softwareUpdatesEndDate;
373 bool m_softwareUpdatesEndDateHasBeenSet = false;
374
375 Aws::String m_deprecationDate;
376 bool m_deprecationDateHasBeenSet = false;
377
378 GatewayCapacity m_gatewayCapacity{GatewayCapacity::NOT_SET};
379 bool m_gatewayCapacityHasBeenSet = false;
380
381 Aws::Vector<GatewayCapacity> m_supportedGatewayCapacities;
382 bool m_supportedGatewayCapacitiesHasBeenSet = false;
383
384 Aws::String m_hostEnvironmentId;
385 bool m_hostEnvironmentIdHasBeenSet = false;
386
387 Aws::String m_softwareVersion;
388 bool m_softwareVersionHasBeenSet = false;
389
390 Aws::String m_requestId;
391 bool m_requestIdHasBeenSet = false;
392 };
393
394} // namespace Model
395} // namespace StorageGateway
396} // namespace Aws
DescribeGatewayInformationResult & AddGatewayNetworkInterfaces(GatewayNetworkInterfacesT &&value)
DescribeGatewayInformationResult & WithNextUpdateAvailabilityDate(NextUpdateAvailabilityDateT &&value)
DescribeGatewayInformationResult & WithEc2InstanceId(Ec2InstanceIdT &&value)
AWS_STORAGEGATEWAY_API DescribeGatewayInformationResult()=default
DescribeGatewayInformationResult & WithCloudWatchLogGroupARN(CloudWatchLogGroupARNT &&value)
DescribeGatewayInformationResult & WithGatewayState(GatewayStateT &&value)
DescribeGatewayInformationResult & WithSoftwareVersion(SoftwareVersionT &&value)
DescribeGatewayInformationResult & WithLastSoftwareUpdate(LastSoftwareUpdateT &&value)
DescribeGatewayInformationResult & WithSoftwareUpdatesEndDate(SoftwareUpdatesEndDateT &&value)
DescribeGatewayInformationResult & WithRequestId(RequestIdT &&value)
DescribeGatewayInformationResult & WithDeprecationDate(DeprecationDateT &&value)
DescribeGatewayInformationResult & AddSupportedGatewayCapacities(GatewayCapacity value)
DescribeGatewayInformationResult & WithHostEnvironmentId(HostEnvironmentIdT &&value)
DescribeGatewayInformationResult & WithHostEnvironment(HostEnvironment value)
DescribeGatewayInformationResult & WithSupportedGatewayCapacities(SupportedGatewayCapacitiesT &&value)
DescribeGatewayInformationResult & WithGatewayNetworkInterfaces(GatewayNetworkInterfacesT &&value)
DescribeGatewayInformationResult & WithGatewayARN(GatewayARNT &&value)
DescribeGatewayInformationResult & WithGatewayType(GatewayTypeT &&value)
DescribeGatewayInformationResult & WithEndpointType(EndpointTypeT &&value)
AWS_STORAGEGATEWAY_API DescribeGatewayInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGatewayInformationResult & WithGatewayTimezone(GatewayTimezoneT &&value)
DescribeGatewayInformationResult & WithGatewayCapacity(GatewayCapacity value)
AWS_STORAGEGATEWAY_API DescribeGatewayInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGatewayInformationResult & WithVPCEndpoint(VPCEndpointT &&value)
DescribeGatewayInformationResult & WithEc2InstanceRegion(Ec2InstanceRegionT &&value)
DescribeGatewayInformationResult & WithGatewayId(GatewayIdT &&value)
const Aws::Vector< GatewayCapacity > & GetSupportedGatewayCapacities() const
DescribeGatewayInformationResult & WithGatewayName(GatewayNameT &&value)
const Aws::Vector< NetworkInterface > & GetGatewayNetworkInterfaces() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue