AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
47 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
48 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
49 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
50 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
51 inline DescribeGatewayInformationResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
52 inline DescribeGatewayInformationResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
53 inline DescribeGatewayInformationResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
55
57
62 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
63 inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; }
64 inline void SetGatewayId(Aws::String&& value) { m_gatewayId = std::move(value); }
65 inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); }
66 inline DescribeGatewayInformationResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
67 inline DescribeGatewayInformationResult& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
68 inline DescribeGatewayInformationResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
70
72
75 inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
76 inline void SetGatewayName(const Aws::String& value) { m_gatewayName = value; }
77 inline void SetGatewayName(Aws::String&& value) { m_gatewayName = std::move(value); }
78 inline void SetGatewayName(const char* value) { m_gatewayName.assign(value); }
79 inline DescribeGatewayInformationResult& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
80 inline DescribeGatewayInformationResult& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
81 inline DescribeGatewayInformationResult& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
83
85
88 inline const Aws::String& GetGatewayTimezone() const{ return m_gatewayTimezone; }
89 inline void SetGatewayTimezone(const Aws::String& value) { m_gatewayTimezone = value; }
90 inline void SetGatewayTimezone(Aws::String&& value) { m_gatewayTimezone = std::move(value); }
91 inline void SetGatewayTimezone(const char* value) { m_gatewayTimezone.assign(value); }
93 inline DescribeGatewayInformationResult& WithGatewayTimezone(Aws::String&& value) { SetGatewayTimezone(std::move(value)); return *this;}
94 inline DescribeGatewayInformationResult& WithGatewayTimezone(const char* value) { SetGatewayTimezone(value); return *this;}
96
98
101 inline const Aws::String& GetGatewayState() const{ return m_gatewayState; }
102 inline void SetGatewayState(const Aws::String& value) { m_gatewayState = value; }
103 inline void SetGatewayState(Aws::String&& value) { m_gatewayState = std::move(value); }
104 inline void SetGatewayState(const char* value) { m_gatewayState.assign(value); }
106 inline DescribeGatewayInformationResult& WithGatewayState(Aws::String&& value) { SetGatewayState(std::move(value)); return *this;}
107 inline DescribeGatewayInformationResult& WithGatewayState(const char* value) { SetGatewayState(value); return *this;}
109
111
115 inline const Aws::Vector<NetworkInterface>& GetGatewayNetworkInterfaces() const{ return m_gatewayNetworkInterfaces; }
116 inline void SetGatewayNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_gatewayNetworkInterfaces = value; }
117 inline void SetGatewayNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_gatewayNetworkInterfaces = std::move(value); }
120 inline DescribeGatewayInformationResult& AddGatewayNetworkInterfaces(const NetworkInterface& value) { m_gatewayNetworkInterfaces.push_back(value); return *this; }
121 inline DescribeGatewayInformationResult& AddGatewayNetworkInterfaces(NetworkInterface&& value) { m_gatewayNetworkInterfaces.push_back(std::move(value)); return *this; }
123
125
133 inline const Aws::String& GetGatewayType() const{ return m_gatewayType; }
134 inline void SetGatewayType(const Aws::String& value) { m_gatewayType = value; }
135 inline void SetGatewayType(Aws::String&& value) { m_gatewayType = std::move(value); }
136 inline void SetGatewayType(const char* value) { m_gatewayType.assign(value); }
137 inline DescribeGatewayInformationResult& WithGatewayType(const Aws::String& value) { SetGatewayType(value); return *this;}
138 inline DescribeGatewayInformationResult& WithGatewayType(Aws::String&& value) { SetGatewayType(std::move(value)); return *this;}
139 inline DescribeGatewayInformationResult& WithGatewayType(const char* value) { SetGatewayType(value); return *this;}
141
143
148 inline const Aws::String& GetNextUpdateAvailabilityDate() const{ return m_nextUpdateAvailabilityDate; }
149 inline void SetNextUpdateAvailabilityDate(const Aws::String& value) { m_nextUpdateAvailabilityDate = value; }
150 inline void SetNextUpdateAvailabilityDate(Aws::String&& value) { m_nextUpdateAvailabilityDate = std::move(value); }
151 inline void SetNextUpdateAvailabilityDate(const char* value) { m_nextUpdateAvailabilityDate.assign(value); }
156
158
164 inline const Aws::String& GetLastSoftwareUpdate() const{ return m_lastSoftwareUpdate; }
165 inline void SetLastSoftwareUpdate(const Aws::String& value) { m_lastSoftwareUpdate = value; }
166 inline void SetLastSoftwareUpdate(Aws::String&& value) { m_lastSoftwareUpdate = std::move(value); }
167 inline void SetLastSoftwareUpdate(const char* value) { m_lastSoftwareUpdate.assign(value); }
170 inline DescribeGatewayInformationResult& WithLastSoftwareUpdate(const char* value) { SetLastSoftwareUpdate(value); return *this;}
172
174
177 inline const Aws::String& GetEc2InstanceId() const{ return m_ec2InstanceId; }
178 inline void SetEc2InstanceId(const Aws::String& value) { m_ec2InstanceId = value; }
179 inline void SetEc2InstanceId(Aws::String&& value) { m_ec2InstanceId = std::move(value); }
180 inline void SetEc2InstanceId(const char* value) { m_ec2InstanceId.assign(value); }
182 inline DescribeGatewayInformationResult& WithEc2InstanceId(Aws::String&& value) { SetEc2InstanceId(std::move(value)); return *this;}
183 inline DescribeGatewayInformationResult& WithEc2InstanceId(const char* value) { SetEc2InstanceId(value); return *this;}
185
187
190 inline const Aws::String& GetEc2InstanceRegion() const{ return m_ec2InstanceRegion; }
191 inline void SetEc2InstanceRegion(const Aws::String& value) { m_ec2InstanceRegion = value; }
192 inline void SetEc2InstanceRegion(Aws::String&& value) { m_ec2InstanceRegion = std::move(value); }
193 inline void SetEc2InstanceRegion(const char* value) { m_ec2InstanceRegion.assign(value); }
196 inline DescribeGatewayInformationResult& WithEc2InstanceRegion(const char* value) { SetEc2InstanceRegion(value); return *this;}
198
200
206 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
207 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
208 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
209 inline DescribeGatewayInformationResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
210 inline DescribeGatewayInformationResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
211 inline DescribeGatewayInformationResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
212 inline DescribeGatewayInformationResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
214
216
220 inline const Aws::String& GetVPCEndpoint() const{ return m_vPCEndpoint; }
221 inline void SetVPCEndpoint(const Aws::String& value) { m_vPCEndpoint = value; }
222 inline void SetVPCEndpoint(Aws::String&& value) { m_vPCEndpoint = std::move(value); }
223 inline void SetVPCEndpoint(const char* value) { m_vPCEndpoint.assign(value); }
224 inline DescribeGatewayInformationResult& WithVPCEndpoint(const Aws::String& value) { SetVPCEndpoint(value); return *this;}
225 inline DescribeGatewayInformationResult& WithVPCEndpoint(Aws::String&& value) { SetVPCEndpoint(std::move(value)); return *this;}
226 inline DescribeGatewayInformationResult& WithVPCEndpoint(const char* value) { SetVPCEndpoint(value); return *this;}
228
230
236 inline const Aws::String& GetCloudWatchLogGroupARN() const{ return m_cloudWatchLogGroupARN; }
237 inline void SetCloudWatchLogGroupARN(const Aws::String& value) { m_cloudWatchLogGroupARN = value; }
238 inline void SetCloudWatchLogGroupARN(Aws::String&& value) { m_cloudWatchLogGroupARN = std::move(value); }
239 inline void SetCloudWatchLogGroupARN(const char* value) { m_cloudWatchLogGroupARN.assign(value); }
244
246
251 inline const HostEnvironment& GetHostEnvironment() const{ return m_hostEnvironment; }
252 inline void SetHostEnvironment(const HostEnvironment& value) { m_hostEnvironment = value; }
253 inline void SetHostEnvironment(HostEnvironment&& value) { m_hostEnvironment = std::move(value); }
257
259
263 inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
264 inline void SetEndpointType(const Aws::String& value) { m_endpointType = value; }
265 inline void SetEndpointType(Aws::String&& value) { m_endpointType = std::move(value); }
266 inline void SetEndpointType(const char* value) { m_endpointType.assign(value); }
268 inline DescribeGatewayInformationResult& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
269 inline DescribeGatewayInformationResult& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
271
273
277 inline const Aws::String& GetSoftwareUpdatesEndDate() const{ return m_softwareUpdatesEndDate; }
278 inline void SetSoftwareUpdatesEndDate(const Aws::String& value) { m_softwareUpdatesEndDate = value; }
279 inline void SetSoftwareUpdatesEndDate(Aws::String&& value) { m_softwareUpdatesEndDate = std::move(value); }
280 inline void SetSoftwareUpdatesEndDate(const char* value) { m_softwareUpdatesEndDate.assign(value); }
285
287
291 inline const Aws::String& GetDeprecationDate() const{ return m_deprecationDate; }
292 inline void SetDeprecationDate(const Aws::String& value) { m_deprecationDate = value; }
293 inline void SetDeprecationDate(Aws::String&& value) { m_deprecationDate = std::move(value); }
294 inline void SetDeprecationDate(const char* value) { m_deprecationDate.assign(value); }
296 inline DescribeGatewayInformationResult& WithDeprecationDate(Aws::String&& value) { SetDeprecationDate(std::move(value)); return *this;}
297 inline DescribeGatewayInformationResult& WithDeprecationDate(const char* value) { SetDeprecationDate(value); return *this;}
299
301
304 inline const GatewayCapacity& GetGatewayCapacity() const{ return m_gatewayCapacity; }
305 inline void SetGatewayCapacity(const GatewayCapacity& value) { m_gatewayCapacity = value; }
306 inline void SetGatewayCapacity(GatewayCapacity&& value) { m_gatewayCapacity = std::move(value); }
310
312
316 inline const Aws::Vector<GatewayCapacity>& GetSupportedGatewayCapacities() const{ return m_supportedGatewayCapacities; }
317 inline void SetSupportedGatewayCapacities(const Aws::Vector<GatewayCapacity>& value) { m_supportedGatewayCapacities = value; }
318 inline void SetSupportedGatewayCapacities(Aws::Vector<GatewayCapacity>&& value) { m_supportedGatewayCapacities = std::move(value); }
321 inline DescribeGatewayInformationResult& AddSupportedGatewayCapacities(const GatewayCapacity& value) { m_supportedGatewayCapacities.push_back(value); return *this; }
322 inline DescribeGatewayInformationResult& AddSupportedGatewayCapacities(GatewayCapacity&& value) { m_supportedGatewayCapacities.push_back(std::move(value)); return *this; }
324
326
331 inline const Aws::String& GetHostEnvironmentId() const{ return m_hostEnvironmentId; }
332 inline void SetHostEnvironmentId(const Aws::String& value) { m_hostEnvironmentId = value; }
333 inline void SetHostEnvironmentId(Aws::String&& value) { m_hostEnvironmentId = std::move(value); }
334 inline void SetHostEnvironmentId(const char* value) { m_hostEnvironmentId.assign(value); }
337 inline DescribeGatewayInformationResult& WithHostEnvironmentId(const char* value) { SetHostEnvironmentId(value); return *this;}
339
341
344 inline const Aws::String& GetSoftwareVersion() const{ return m_softwareVersion; }
345 inline void SetSoftwareVersion(const Aws::String& value) { m_softwareVersion = value; }
346 inline void SetSoftwareVersion(Aws::String&& value) { m_softwareVersion = std::move(value); }
347 inline void SetSoftwareVersion(const char* value) { m_softwareVersion.assign(value); }
349 inline DescribeGatewayInformationResult& WithSoftwareVersion(Aws::String&& value) { SetSoftwareVersion(std::move(value)); return *this;}
350 inline DescribeGatewayInformationResult& WithSoftwareVersion(const char* value) { SetSoftwareVersion(value); return *this;}
352
354
355 inline const Aws::String& GetRequestId() const{ return m_requestId; }
356 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
357 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
358 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
359 inline DescribeGatewayInformationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
360 inline DescribeGatewayInformationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
361 inline DescribeGatewayInformationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
363 private:
364
365 Aws::String m_gatewayARN;
366
367 Aws::String m_gatewayId;
368
369 Aws::String m_gatewayName;
370
371 Aws::String m_gatewayTimezone;
372
373 Aws::String m_gatewayState;
374
375 Aws::Vector<NetworkInterface> m_gatewayNetworkInterfaces;
376
377 Aws::String m_gatewayType;
378
379 Aws::String m_nextUpdateAvailabilityDate;
380
381 Aws::String m_lastSoftwareUpdate;
382
383 Aws::String m_ec2InstanceId;
384
385 Aws::String m_ec2InstanceRegion;
386
387 Aws::Vector<Tag> m_tags;
388
389 Aws::String m_vPCEndpoint;
390
391 Aws::String m_cloudWatchLogGroupARN;
392
393 HostEnvironment m_hostEnvironment;
394
395 Aws::String m_endpointType;
396
397 Aws::String m_softwareUpdatesEndDate;
398
399 Aws::String m_deprecationDate;
400
401 GatewayCapacity m_gatewayCapacity;
402
403 Aws::Vector<GatewayCapacity> m_supportedGatewayCapacities;
404
405 Aws::String m_hostEnvironmentId;
406
407 Aws::String m_softwareVersion;
408
409 Aws::String m_requestId;
410 };
411
412} // namespace Model
413} // namespace StorageGateway
414} // namespace Aws
DescribeGatewayInformationResult & WithHostEnvironmentId(const Aws::String &value)
DescribeGatewayInformationResult & WithEc2InstanceRegion(const Aws::String &value)
DescribeGatewayInformationResult & WithHostEnvironment(const HostEnvironment &value)
DescribeGatewayInformationResult & WithDeprecationDate(Aws::String &&value)
DescribeGatewayInformationResult & AddSupportedGatewayCapacities(GatewayCapacity &&value)
DescribeGatewayInformationResult & WithEc2InstanceId(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
DescribeGatewayInformationResult & WithRequestId(const char *value)
DescribeGatewayInformationResult & WithGatewayARN(const char *value)
DescribeGatewayInformationResult & WithSupportedGatewayCapacities(Aws::Vector< GatewayCapacity > &&value)
DescribeGatewayInformationResult & WithGatewayCapacity(GatewayCapacity &&value)
DescribeGatewayInformationResult & WithRequestId(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayName(Aws::String &&value)
DescribeGatewayInformationResult & WithEndpointType(const char *value)
DescribeGatewayInformationResult & WithEndpointType(const Aws::String &value)
DescribeGatewayInformationResult & WithHostEnvironment(HostEnvironment &&value)
DescribeGatewayInformationResult & WithSupportedGatewayCapacities(const Aws::Vector< GatewayCapacity > &value)
DescribeGatewayInformationResult & WithGatewayNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
DescribeGatewayInformationResult & WithGatewayName(const char *value)
DescribeGatewayInformationResult & WithTags(const Aws::Vector< Tag > &value)
DescribeGatewayInformationResult & WithHostEnvironmentId(Aws::String &&value)
DescribeGatewayInformationResult & WithCloudWatchLogGroupARN(Aws::String &&value)
DescribeGatewayInformationResult & WithSoftwareUpdatesEndDate(Aws::String &&value)
DescribeGatewayInformationResult & WithEc2InstanceId(const char *value)
DescribeGatewayInformationResult & AddGatewayNetworkInterfaces(NetworkInterface &&value)
DescribeGatewayInformationResult & WithNextUpdateAvailabilityDate(Aws::String &&value)
DescribeGatewayInformationResult & WithSoftwareVersion(const Aws::String &value)
DescribeGatewayInformationResult & WithDeprecationDate(const char *value)
DescribeGatewayInformationResult & WithEc2InstanceRegion(const char *value)
DescribeGatewayInformationResult & WithGatewayCapacity(const GatewayCapacity &value)
DescribeGatewayInformationResult & WithGatewayState(const Aws::String &value)
void SetGatewayNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
DescribeGatewayInformationResult & AddSupportedGatewayCapacities(const GatewayCapacity &value)
DescribeGatewayInformationResult & WithGatewayARN(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayState(const char *value)
DescribeGatewayInformationResult & WithSoftwareUpdatesEndDate(const char *value)
DescribeGatewayInformationResult & WithVPCEndpoint(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayTimezone(const char *value)
DescribeGatewayInformationResult & WithNextUpdateAvailabilityDate(const char *value)
DescribeGatewayInformationResult & WithGatewayType(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayARN(const Aws::String &value)
DescribeGatewayInformationResult & WithCloudWatchLogGroupARN(const char *value)
DescribeGatewayInformationResult & AddGatewayNetworkInterfaces(const NetworkInterface &value)
AWS_STORAGEGATEWAY_API DescribeGatewayInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGatewayInformationResult & WithTags(Aws::Vector< Tag > &&value)
DescribeGatewayInformationResult & WithVPCEndpoint(const char *value)
DescribeGatewayInformationResult & WithGatewayType(const char *value)
DescribeGatewayInformationResult & WithNextUpdateAvailabilityDate(const Aws::String &value)
DescribeGatewayInformationResult & WithGatewayTimezone(Aws::String &&value)
AWS_STORAGEGATEWAY_API DescribeGatewayInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGatewayInformationResult & WithCloudWatchLogGroupARN(const Aws::String &value)
DescribeGatewayInformationResult & WithHostEnvironmentId(const char *value)
DescribeGatewayInformationResult & WithGatewayName(const Aws::String &value)
DescribeGatewayInformationResult & WithSoftwareVersion(const char *value)
DescribeGatewayInformationResult & WithGatewayId(const Aws::String &value)
const Aws::Vector< GatewayCapacity > & GetSupportedGatewayCapacities() const
DescribeGatewayInformationResult & WithGatewayState(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayId(Aws::String &&value)
void SetSupportedGatewayCapacities(const Aws::Vector< GatewayCapacity > &value)
DescribeGatewayInformationResult & WithEndpointType(Aws::String &&value)
DescribeGatewayInformationResult & WithLastSoftwareUpdate(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayTimezone(const Aws::String &value)
DescribeGatewayInformationResult & WithEc2InstanceRegion(Aws::String &&value)
DescribeGatewayInformationResult & WithLastSoftwareUpdate(const char *value)
DescribeGatewayInformationResult & WithGatewayType(const Aws::String &value)
DescribeGatewayInformationResult & WithRequestId(const Aws::String &value)
DescribeGatewayInformationResult & WithGatewayId(const char *value)
DescribeGatewayInformationResult & WithEc2InstanceId(const Aws::String &value)
const Aws::Vector< NetworkInterface > & GetGatewayNetworkInterfaces() const
DescribeGatewayInformationResult & WithLastSoftwareUpdate(const Aws::String &value)
DescribeGatewayInformationResult & WithDeprecationDate(const Aws::String &value)
DescribeGatewayInformationResult & WithSoftwareUpdatesEndDate(const Aws::String &value)
DescribeGatewayInformationResult & WithSoftwareVersion(Aws::String &&value)
DescribeGatewayInformationResult & WithVPCEndpoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue