AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeVTLDevicesRequest.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 namespace StorageGateway
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
40  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
41 
42 
43  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
44 
45 
46  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
47 
48 
49  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
50 
51 
52  inline DescribeVTLDevicesRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
53 
54 
55  inline DescribeVTLDevicesRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(value); return *this;}
56 
57 
58  inline DescribeVTLDevicesRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
59 
66  inline const Aws::Vector<Aws::String>& GetVTLDeviceARNs() const{ return m_vTLDeviceARNs; }
67 
74  inline void SetVTLDeviceARNs(const Aws::Vector<Aws::String>& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs = value; }
75 
82  inline void SetVTLDeviceARNs(Aws::Vector<Aws::String>&& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs = value; }
83 
90  inline DescribeVTLDevicesRequest& WithVTLDeviceARNs(const Aws::Vector<Aws::String>& value) { SetVTLDeviceARNs(value); return *this;}
91 
98  inline DescribeVTLDevicesRequest& WithVTLDeviceARNs(Aws::Vector<Aws::String>&& value) { SetVTLDeviceARNs(value); return *this;}
99 
106  inline DescribeVTLDevicesRequest& AddVTLDeviceARNs(const Aws::String& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs.push_back(value); return *this; }
107 
114  inline DescribeVTLDevicesRequest& AddVTLDeviceARNs(Aws::String&& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs.push_back(value); return *this; }
115 
122  inline DescribeVTLDevicesRequest& AddVTLDeviceARNs(const char* value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs.push_back(value); return *this; }
123 
128  inline const Aws::String& GetMarker() const{ return m_marker; }
129 
134  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
135 
140  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
141 
146  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
147 
152  inline DescribeVTLDevicesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
153 
158  inline DescribeVTLDevicesRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
159 
164  inline DescribeVTLDevicesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
165 
170  inline int GetLimit() const{ return m_limit; }
171 
176  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
177 
182  inline DescribeVTLDevicesRequest& WithLimit(int value) { SetLimit(value); return *this;}
183 
184  private:
185  Aws::String m_gatewayARN;
186  bool m_gatewayARNHasBeenSet;
187  Aws::Vector<Aws::String> m_vTLDeviceARNs;
188  bool m_vTLDeviceARNsHasBeenSet;
189  Aws::String m_marker;
190  bool m_markerHasBeenSet;
191  int m_limit;
192  bool m_limitHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace StorageGateway
197 } // namespace Aws
DescribeVTLDevicesRequest & WithGatewayARN(const char *value)
void SetVTLDeviceARNs(const Aws::Vector< Aws::String > &value)
DescribeVTLDevicesRequest & WithMarker(const char *value)
DescribeVTLDevicesRequest & WithGatewayARN(Aws::String &&value)
DescribeVTLDevicesRequest & WithVTLDeviceARNs(const Aws::Vector< Aws::String > &value)
DescribeVTLDevicesRequest & WithMarker(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeVTLDevicesRequest & WithVTLDeviceARNs(Aws::Vector< Aws::String > &&value)
DescribeVTLDevicesRequest & WithMarker(Aws::String &&value)
DescribeVTLDevicesRequest & AddVTLDeviceARNs(Aws::String &&value)
DescribeVTLDevicesRequest & AddVTLDeviceARNs(const Aws::String &value)
DescribeVTLDevicesRequest & WithGatewayARN(const Aws::String &value)
void SetVTLDeviceARNs(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeVTLDevicesRequest & AddVTLDeviceARNs(const char *value)
#define AWS_STORAGEGATEWAY_API
const Aws::Vector< Aws::String > & GetVTLDeviceARNs() const
JSON (JavaScript Object Notation).