AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeGatewayInformationResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace StorageGateway
34 {
35 namespace Model
36 {
41  {
42  public:
46 
47 
48  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
49 
50 
51  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
52 
53 
54  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = value; }
55 
56 
57  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
58 
59 
60  inline DescribeGatewayInformationResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
61 
62 
63  inline DescribeGatewayInformationResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(value); return *this;}
64 
65 
66  inline DescribeGatewayInformationResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
67 
73  inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
74 
80  inline void SetGatewayId(const Aws::String& value) { m_gatewayId = value; }
81 
87  inline void SetGatewayId(Aws::String&& value) { m_gatewayId = value; }
88 
94  inline void SetGatewayId(const char* value) { m_gatewayId.assign(value); }
95 
101  inline DescribeGatewayInformationResult& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
102 
108  inline DescribeGatewayInformationResult& WithGatewayId(Aws::String&& value) { SetGatewayId(value); return *this;}
109 
115  inline DescribeGatewayInformationResult& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
116 
120  inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
121 
125  inline void SetGatewayName(const Aws::String& value) { m_gatewayName = value; }
126 
130  inline void SetGatewayName(Aws::String&& value) { m_gatewayName = value; }
131 
135  inline void SetGatewayName(const char* value) { m_gatewayName.assign(value); }
136 
140  inline DescribeGatewayInformationResult& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
141 
145  inline DescribeGatewayInformationResult& WithGatewayName(Aws::String&& value) { SetGatewayName(value); return *this;}
146 
150  inline DescribeGatewayInformationResult& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
151 
155  inline const Aws::String& GetGatewayTimezone() const{ return m_gatewayTimezone; }
156 
160  inline void SetGatewayTimezone(const Aws::String& value) { m_gatewayTimezone = value; }
161 
165  inline void SetGatewayTimezone(Aws::String&& value) { m_gatewayTimezone = value; }
166 
170  inline void SetGatewayTimezone(const char* value) { m_gatewayTimezone.assign(value); }
171 
175  inline DescribeGatewayInformationResult& WithGatewayTimezone(const Aws::String& value) { SetGatewayTimezone(value); return *this;}
176 
180  inline DescribeGatewayInformationResult& WithGatewayTimezone(Aws::String&& value) { SetGatewayTimezone(value); return *this;}
181 
185  inline DescribeGatewayInformationResult& WithGatewayTimezone(const char* value) { SetGatewayTimezone(value); return *this;}
186 
190  inline const Aws::String& GetGatewayState() const{ return m_gatewayState; }
191 
195  inline void SetGatewayState(const Aws::String& value) { m_gatewayState = value; }
196 
200  inline void SetGatewayState(Aws::String&& value) { m_gatewayState = value; }
201 
205  inline void SetGatewayState(const char* value) { m_gatewayState.assign(value); }
206 
210  inline DescribeGatewayInformationResult& WithGatewayState(const Aws::String& value) { SetGatewayState(value); return *this;}
211 
215  inline DescribeGatewayInformationResult& WithGatewayState(Aws::String&& value) { SetGatewayState(value); return *this;}
216 
220  inline DescribeGatewayInformationResult& WithGatewayState(const char* value) { SetGatewayState(value); return *this;}
221 
226  inline const Aws::Vector<NetworkInterface>& GetGatewayNetworkInterfaces() const{ return m_gatewayNetworkInterfaces; }
227 
232  inline void SetGatewayNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_gatewayNetworkInterfaces = value; }
233 
238  inline void SetGatewayNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_gatewayNetworkInterfaces = value; }
239 
244  inline DescribeGatewayInformationResult& WithGatewayNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { SetGatewayNetworkInterfaces(value); return *this;}
245 
250  inline DescribeGatewayInformationResult& WithGatewayNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { SetGatewayNetworkInterfaces(value); return *this;}
251 
256  inline DescribeGatewayInformationResult& AddGatewayNetworkInterfaces(const NetworkInterface& value) { m_gatewayNetworkInterfaces.push_back(value); return *this; }
257 
262  inline DescribeGatewayInformationResult& AddGatewayNetworkInterfaces(NetworkInterface&& value) { m_gatewayNetworkInterfaces.push_back(value); return *this; }
263 
267  inline const Aws::String& GetGatewayType() const{ return m_gatewayType; }
268 
272  inline void SetGatewayType(const Aws::String& value) { m_gatewayType = value; }
273 
277  inline void SetGatewayType(Aws::String&& value) { m_gatewayType = value; }
278 
282  inline void SetGatewayType(const char* value) { m_gatewayType.assign(value); }
283 
287  inline DescribeGatewayInformationResult& WithGatewayType(const Aws::String& value) { SetGatewayType(value); return *this;}
288 
292  inline DescribeGatewayInformationResult& WithGatewayType(Aws::String&& value) { SetGatewayType(value); return *this;}
293 
297  inline DescribeGatewayInformationResult& WithGatewayType(const char* value) { SetGatewayType(value); return *this;}
298 
304  inline const Aws::String& GetNextUpdateAvailabilityDate() const{ return m_nextUpdateAvailabilityDate; }
305 
311  inline void SetNextUpdateAvailabilityDate(const Aws::String& value) { m_nextUpdateAvailabilityDate = value; }
312 
318  inline void SetNextUpdateAvailabilityDate(Aws::String&& value) { m_nextUpdateAvailabilityDate = value; }
319 
325  inline void SetNextUpdateAvailabilityDate(const char* value) { m_nextUpdateAvailabilityDate.assign(value); }
326 
332  inline DescribeGatewayInformationResult& WithNextUpdateAvailabilityDate(const Aws::String& value) { SetNextUpdateAvailabilityDate(value); return *this;}
333 
339  inline DescribeGatewayInformationResult& WithNextUpdateAvailabilityDate(Aws::String&& value) { SetNextUpdateAvailabilityDate(value); return *this;}
340 
346  inline DescribeGatewayInformationResult& WithNextUpdateAvailabilityDate(const char* value) { SetNextUpdateAvailabilityDate(value); return *this;}
347 
353  inline const Aws::String& GetLastSoftwareUpdate() const{ return m_lastSoftwareUpdate; }
354 
360  inline void SetLastSoftwareUpdate(const Aws::String& value) { m_lastSoftwareUpdate = value; }
361 
367  inline void SetLastSoftwareUpdate(Aws::String&& value) { m_lastSoftwareUpdate = value; }
368 
374  inline void SetLastSoftwareUpdate(const char* value) { m_lastSoftwareUpdate.assign(value); }
375 
381  inline DescribeGatewayInformationResult& WithLastSoftwareUpdate(const Aws::String& value) { SetLastSoftwareUpdate(value); return *this;}
382 
388  inline DescribeGatewayInformationResult& WithLastSoftwareUpdate(Aws::String&& value) { SetLastSoftwareUpdate(value); return *this;}
389 
395  inline DescribeGatewayInformationResult& WithLastSoftwareUpdate(const char* value) { SetLastSoftwareUpdate(value); return *this;}
396 
397  private:
398  Aws::String m_gatewayARN;
399  Aws::String m_gatewayId;
400  Aws::String m_gatewayName;
401  Aws::String m_gatewayTimezone;
402  Aws::String m_gatewayState;
403  Aws::Vector<NetworkInterface> m_gatewayNetworkInterfaces;
404  Aws::String m_gatewayType;
405  Aws::String m_nextUpdateAvailabilityDate;
406  Aws::String m_lastSoftwareUpdate;
407  };
408 
409 } // namespace Model
410 } // namespace StorageGateway
411 } // namespace Aws
DescribeGatewayInformationResult & WithGatewayARN(const char *value)
DescribeGatewayInformationResult & WithNextUpdateAvailabilityDate(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayId(const char *value)
DescribeGatewayInformationResult & WithLastSoftwareUpdate(const Aws::String &value)
DescribeGatewayInformationResult & WithGatewayName(Aws::String &&value)
DescribeGatewayInformationResult & AddGatewayNetworkInterfaces(NetworkInterface &&value)
DescribeGatewayInformationResult & WithGatewayType(const char *value)
DescribeGatewayInformationResult & WithGatewayState(const Aws::String &value)
DescribeGatewayInformationResult & WithGatewayARN(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeGatewayInformationResult & WithGatewayARN(Aws::String &&value)
DescribeGatewayInformationResult & WithLastSoftwareUpdate(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayName(const char *value)
DescribeGatewayInformationResult & WithNextUpdateAvailabilityDate(const char *value)
DescribeGatewayInformationResult & WithGatewayTimezone(Aws::String &&value)
const Aws::Vector< NetworkInterface > & GetGatewayNetworkInterfaces() const
DescribeGatewayInformationResult & AddGatewayNetworkInterfaces(const NetworkInterface &value)
DescribeGatewayInformationResult & WithGatewayId(const Aws::String &value)
void SetGatewayNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
DescribeGatewayInformationResult & WithGatewayName(const Aws::String &value)
DescribeGatewayInformationResult & WithGatewayType(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
DescribeGatewayInformationResult & WithGatewayNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
DescribeGatewayInformationResult & WithGatewayTimezone(const char *value)
DescribeGatewayInformationResult & WithGatewayType(const Aws::String &value)
DescribeGatewayInformationResult & WithGatewayId(Aws::String &&value)
DescribeGatewayInformationResult & WithGatewayState(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeGatewayInformationResult & WithGatewayTimezone(const Aws::String &value)
DescribeGatewayInformationResult & WithLastSoftwareUpdate(const char *value)
void SetGatewayNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
#define AWS_STORAGEGATEWAY_API
DescribeGatewayInformationResult & WithGatewayState(Aws::String &&value)
JSON (JavaScript Object Notation).
DescribeGatewayInformationResult & WithNextUpdateAvailabilityDate(const Aws::String &value)