AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeVTLDevicesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace StorageGateway
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
42 
43  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
44 
45 
46  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
47 
48 
49  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
50 
51 
52  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
53 
54 
55  inline DescribeVTLDevicesResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
56 
57 
58  inline DescribeVTLDevicesResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
59 
60 
61  inline DescribeVTLDevicesResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
62 
63 
68  inline const Aws::Vector<VTLDevice>& GetVTLDevices() const{ return m_vTLDevices; }
69 
74  inline void SetVTLDevices(const Aws::Vector<VTLDevice>& value) { m_vTLDevices = value; }
75 
80  inline void SetVTLDevices(Aws::Vector<VTLDevice>&& value) { m_vTLDevices = std::move(value); }
81 
86  inline DescribeVTLDevicesResult& WithVTLDevices(const Aws::Vector<VTLDevice>& value) { SetVTLDevices(value); return *this;}
87 
92  inline DescribeVTLDevicesResult& WithVTLDevices(Aws::Vector<VTLDevice>&& value) { SetVTLDevices(std::move(value)); return *this;}
93 
98  inline DescribeVTLDevicesResult& AddVTLDevices(const VTLDevice& value) { m_vTLDevices.push_back(value); return *this; }
99 
104  inline DescribeVTLDevicesResult& AddVTLDevices(VTLDevice&& value) { m_vTLDevices.push_back(std::move(value)); return *this; }
105 
106 
113  inline const Aws::String& GetMarker() const{ return m_marker; }
114 
121  inline void SetMarker(const Aws::String& value) { m_marker = value; }
122 
129  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
130 
137  inline void SetMarker(const char* value) { m_marker.assign(value); }
138 
145  inline DescribeVTLDevicesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
146 
153  inline DescribeVTLDevicesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
154 
161  inline DescribeVTLDevicesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
162 
163  private:
164 
165  Aws::String m_gatewayARN;
166 
167  Aws::Vector<VTLDevice> m_vTLDevices;
168 
169  Aws::String m_marker;
170  };
171 
172 } // namespace Model
173 } // namespace StorageGateway
174 } // namespace Aws
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithGatewayARN
DescribeVTLDevicesResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeVTLDevicesResult.h:55
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeVTLDevicesResult.h:49
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeVTLDevicesResult
Definition: DescribeVTLDevicesResult.h:35
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeVTLDevicesResult.h:121
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeVTLDevicesResult.h:129
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeVTLDevicesResult::GetVTLDevices
const Aws::Vector< VTLDevice > & GetVTLDevices() const
Definition: DescribeVTLDevicesResult.h:68
AWSVector.h
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithMarker
DescribeVTLDevicesResult & WithMarker(const Aws::String &value)
Definition: DescribeVTLDevicesResult.h:145
Aws::StorageGateway::Model::DescribeVTLDevicesResult::AddVTLDevices
DescribeVTLDevicesResult & AddVTLDevices(const VTLDevice &value)
Definition: DescribeVTLDevicesResult.h:98
Aws::StorageGateway::Model::DescribeVTLDevicesResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeVTLDevicesResult.h:43
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithVTLDevices
DescribeVTLDevicesResult & WithVTLDevices(const Aws::Vector< VTLDevice > &value)
Definition: DescribeVTLDevicesResult.h:86
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithMarker
DescribeVTLDevicesResult & WithMarker(Aws::String &&value)
Definition: DescribeVTLDevicesResult.h:153
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeVTLDevicesResult.h:137
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetVTLDevices
void SetVTLDevices(const Aws::Vector< VTLDevice > &value)
Definition: DescribeVTLDevicesResult.h:74
Aws::StorageGateway::Model::DescribeVTLDevicesResult::operator=
DescribeVTLDevicesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeVTLDevicesResult::AddVTLDevices
DescribeVTLDevicesResult & AddVTLDevices(VTLDevice &&value)
Definition: DescribeVTLDevicesResult.h:104
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeVTLDevicesResult::DescribeVTLDevicesResult
DescribeVTLDevicesResult()
Aws::StorageGateway::Model::DescribeVTLDevicesResult::DescribeVTLDevicesResult
DescribeVTLDevicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeVTLDevicesResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeVTLDevicesResult.h:113
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithMarker
DescribeVTLDevicesResult & WithMarker(const char *value)
Definition: DescribeVTLDevicesResult.h:161
VTLDevice.h
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithGatewayARN
DescribeVTLDevicesResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeVTLDevicesResult.h:58
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithVTLDevices
DescribeVTLDevicesResult & WithVTLDevices(Aws::Vector< VTLDevice > &&value)
Definition: DescribeVTLDevicesResult.h:92
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetVTLDevices
void SetVTLDevices(Aws::Vector< VTLDevice > &&value)
Definition: DescribeVTLDevicesResult.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeVTLDevicesResult::WithGatewayARN
DescribeVTLDevicesResult & WithGatewayARN(const char *value)
Definition: DescribeVTLDevicesResult.h:61
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeVTLDevicesResult.h:46
Aws::StorageGateway::Model::DescribeVTLDevicesResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeVTLDevicesResult.h:52
Aws::StorageGateway::Model::VTLDevice
Definition: VTLDevice.h:34