AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeVTLDevicesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeVTLDevices"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
41 
42  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
43 
44 
45  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
46 
47 
48  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
49 
50 
51  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
52 
53 
54  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
55 
56 
57  inline DescribeVTLDevicesRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
58 
59 
60  inline DescribeVTLDevicesRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
61 
62 
63  inline DescribeVTLDevicesRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
64 
65 
72  inline const Aws::Vector<Aws::String>& GetVTLDeviceARNs() const{ return m_vTLDeviceARNs; }
73 
80  inline bool VTLDeviceARNsHasBeenSet() const { return m_vTLDeviceARNsHasBeenSet; }
81 
88  inline void SetVTLDeviceARNs(const Aws::Vector<Aws::String>& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs = value; }
89 
96  inline void SetVTLDeviceARNs(Aws::Vector<Aws::String>&& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs = std::move(value); }
97 
104  inline DescribeVTLDevicesRequest& WithVTLDeviceARNs(const Aws::Vector<Aws::String>& value) { SetVTLDeviceARNs(value); return *this;}
105 
112  inline DescribeVTLDevicesRequest& WithVTLDeviceARNs(Aws::Vector<Aws::String>&& value) { SetVTLDeviceARNs(std::move(value)); return *this;}
113 
120  inline DescribeVTLDevicesRequest& AddVTLDeviceARNs(const Aws::String& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs.push_back(value); return *this; }
121 
128  inline DescribeVTLDevicesRequest& AddVTLDeviceARNs(Aws::String&& value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs.push_back(std::move(value)); return *this; }
129 
136  inline DescribeVTLDevicesRequest& AddVTLDeviceARNs(const char* value) { m_vTLDeviceARNsHasBeenSet = true; m_vTLDeviceARNs.push_back(value); return *this; }
137 
138 
143  inline const Aws::String& GetMarker() const{ return m_marker; }
144 
149  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
150 
155  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
156 
161  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
162 
167  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
168 
173  inline DescribeVTLDevicesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
174 
179  inline DescribeVTLDevicesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
180 
185  inline DescribeVTLDevicesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
186 
187 
192  inline int GetLimit() const{ return m_limit; }
193 
198  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
199 
204  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
205 
210  inline DescribeVTLDevicesRequest& WithLimit(int value) { SetLimit(value); return *this;}
211 
212  private:
213 
214  Aws::String m_gatewayARN;
215  bool m_gatewayARNHasBeenSet;
216 
217  Aws::Vector<Aws::String> m_vTLDeviceARNs;
218  bool m_vTLDeviceARNsHasBeenSet;
219 
220  Aws::String m_marker;
221  bool m_markerHasBeenSet;
222 
223  int m_limit;
224  bool m_limitHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace StorageGateway
229 } // namespace Aws
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeVTLDevicesRequest.h:204
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::DescribeVTLDevicesRequest
DescribeVTLDevicesRequest()
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeVTLDevicesRequest.h:161
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::AddVTLDeviceARNs
DescribeVTLDevicesRequest & AddVTLDeviceARNs(const Aws::String &value)
Definition: DescribeVTLDevicesRequest.h:120
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeVTLDevicesRequest.h:42
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeVTLDevicesRequest.h:149
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeVTLDevicesRequest.h:48
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithMarker
DescribeVTLDevicesRequest & WithMarker(const Aws::String &value)
Definition: DescribeVTLDevicesRequest.h:173
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeVTLDevicesRequest.h:34
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::AddVTLDeviceARNs
DescribeVTLDevicesRequest & AddVTLDeviceARNs(Aws::String &&value)
Definition: DescribeVTLDevicesRequest.h:128
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithGatewayARN
DescribeVTLDevicesRequest & WithGatewayARN(Aws::String &&value)
Definition: DescribeVTLDevicesRequest.h:60
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeVTLDevicesRequest.h:51
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::VTLDeviceARNsHasBeenSet
bool VTLDeviceARNsHasBeenSet() const
Definition: DescribeVTLDevicesRequest.h:80
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeVTLDevicesRequest.h:155
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithVTLDeviceARNs
DescribeVTLDevicesRequest & WithVTLDeviceARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeVTLDevicesRequest.h:104
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeVTLDevicesRequest.h:54
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetVTLDeviceARNs
void SetVTLDeviceARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeVTLDevicesRequest.h:88
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithMarker
DescribeVTLDevicesRequest & WithMarker(const char *value)
Definition: DescribeVTLDevicesRequest.h:185
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::GetVTLDeviceARNs
const Aws::Vector< Aws::String > & GetVTLDeviceARNs() const
Definition: DescribeVTLDevicesRequest.h:72
AWSString.h
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithMarker
DescribeVTLDevicesRequest & WithMarker(Aws::String &&value)
Definition: DescribeVTLDevicesRequest.h:179
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::AddVTLDeviceARNs
DescribeVTLDevicesRequest & AddVTLDeviceARNs(const char *value)
Definition: DescribeVTLDevicesRequest.h:136
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::GetLimit
int GetLimit() const
Definition: DescribeVTLDevicesRequest.h:192
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithGatewayARN
DescribeVTLDevicesRequest & WithGatewayARN(const char *value)
Definition: DescribeVTLDevicesRequest.h:63
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetVTLDeviceARNs
void SetVTLDeviceARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeVTLDevicesRequest.h:96
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithLimit
DescribeVTLDevicesRequest & WithLimit(int value)
Definition: DescribeVTLDevicesRequest.h:210
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeVTLDevicesRequest.h:167
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithGatewayARN
DescribeVTLDevicesRequest & WithGatewayARN(const Aws::String &value)
Definition: DescribeVTLDevicesRequest.h:57
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeVTLDevicesRequest.h:143
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::WithVTLDeviceARNs
DescribeVTLDevicesRequest & WithVTLDeviceARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeVTLDevicesRequest.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::DescribeVTLDevicesRequest
Definition: DescribeVTLDevicesRequest.h:26
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: DescribeVTLDevicesRequest.h:45
Aws::StorageGateway::Model::DescribeVTLDevicesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeVTLDevicesRequest.h:198