AWS SDK for C++  1.9.129
AWS SDK for C++
ListVolumesResult.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 {
37  {
38  public:
42 
43 
44 
45  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
46 
47 
48  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
49 
50 
51  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
52 
53 
54  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
55 
56 
57  inline ListVolumesResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
58 
59 
60  inline ListVolumesResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
61 
62 
63  inline ListVolumesResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
64 
65 
71  inline const Aws::String& GetMarker() const{ return m_marker; }
72 
78  inline void SetMarker(const Aws::String& value) { m_marker = value; }
79 
85  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
86 
92  inline void SetMarker(const char* value) { m_marker.assign(value); }
93 
99  inline ListVolumesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
100 
106  inline ListVolumesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
107 
113  inline ListVolumesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
114 
115 
121  inline const Aws::Vector<VolumeInfo>& GetVolumeInfos() const{ return m_volumeInfos; }
122 
128  inline void SetVolumeInfos(const Aws::Vector<VolumeInfo>& value) { m_volumeInfos = value; }
129 
135  inline void SetVolumeInfos(Aws::Vector<VolumeInfo>&& value) { m_volumeInfos = std::move(value); }
136 
142  inline ListVolumesResult& WithVolumeInfos(const Aws::Vector<VolumeInfo>& value) { SetVolumeInfos(value); return *this;}
143 
149  inline ListVolumesResult& WithVolumeInfos(Aws::Vector<VolumeInfo>&& value) { SetVolumeInfos(std::move(value)); return *this;}
150 
156  inline ListVolumesResult& AddVolumeInfos(const VolumeInfo& value) { m_volumeInfos.push_back(value); return *this; }
157 
163  inline ListVolumesResult& AddVolumeInfos(VolumeInfo&& value) { m_volumeInfos.push_back(std::move(value)); return *this; }
164 
165  private:
166 
167  Aws::String m_gatewayARN;
168 
169  Aws::String m_marker;
170 
171  Aws::Vector<VolumeInfo> m_volumeInfos;
172  };
173 
174 } // namespace Model
175 } // namespace StorageGateway
176 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::ListVolumesResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: ListVolumesResult.h:45
Aws::StorageGateway::Model::ListVolumesResult::ListVolumesResult
ListVolumesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListVolumesResult::ListVolumesResult
ListVolumesResult()
Aws::StorageGateway::Model::ListVolumesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListVolumesResult.h:85
Aws::StorageGateway::Model::ListVolumesResult::SetMarker
void SetMarker(const char *value)
Definition: ListVolumesResult.h:92
Aws::StorageGateway::Model::ListVolumesResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListVolumesResult.h:71
Aws::StorageGateway::Model::ListVolumesResult::WithMarker
ListVolumesResult & WithMarker(const char *value)
Definition: ListVolumesResult.h:113
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::ListVolumesResult::WithMarker
ListVolumesResult & WithMarker(Aws::String &&value)
Definition: ListVolumesResult.h:106
Aws::StorageGateway::Model::ListVolumesResult::WithVolumeInfos
ListVolumesResult & WithVolumeInfos(Aws::Vector< VolumeInfo > &&value)
Definition: ListVolumesResult.h:149
Aws::StorageGateway::Model::ListVolumesResult
Definition: ListVolumesResult.h:37
Aws::StorageGateway::Model::ListVolumesResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: ListVolumesResult.h:54
Aws::StorageGateway::Model::ListVolumesResult::WithGatewayARN
ListVolumesResult & WithGatewayARN(const char *value)
Definition: ListVolumesResult.h:63
Aws::StorageGateway::Model::ListVolumesResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: ListVolumesResult.h:48
Aws::StorageGateway::Model::ListVolumesResult::WithMarker
ListVolumesResult & WithMarker(const Aws::String &value)
Definition: ListVolumesResult.h:99
AWSString.h
Aws::StorageGateway::Model::ListVolumesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListVolumesResult.h:78
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListVolumesResult::GetVolumeInfos
const Aws::Vector< VolumeInfo > & GetVolumeInfos() const
Definition: ListVolumesResult.h:121
Aws::StorageGateway::Model::ListVolumesResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: ListVolumesResult.h:51
Aws::StorageGateway::Model::ListVolumesResult::WithGatewayARN
ListVolumesResult & WithGatewayARN(Aws::String &&value)
Definition: ListVolumesResult.h:60
Aws::StorageGateway::Model::ListVolumesResult::SetVolumeInfos
void SetVolumeInfos(Aws::Vector< VolumeInfo > &&value)
Definition: ListVolumesResult.h:135
Aws::StorageGateway::Model::ListVolumesResult::WithVolumeInfos
ListVolumesResult & WithVolumeInfos(const Aws::Vector< VolumeInfo > &value)
Definition: ListVolumesResult.h:142
Aws::StorageGateway::Model::ListVolumesResult::SetVolumeInfos
void SetVolumeInfos(const Aws::Vector< VolumeInfo > &value)
Definition: ListVolumesResult.h:128
Aws::StorageGateway::Model::ListVolumesResult::operator=
ListVolumesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListVolumesResult::AddVolumeInfos
ListVolumesResult & AddVolumeInfos(const VolumeInfo &value)
Definition: ListVolumesResult.h:156
Aws::StorageGateway::Model::ListVolumesResult::AddVolumeInfos
ListVolumesResult & AddVolumeInfos(VolumeInfo &&value)
Definition: ListVolumesResult.h:163
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
VolumeInfo.h
Aws::StorageGateway::Model::VolumeInfo
Definition: VolumeInfo.h:32
Aws::StorageGateway::Model::ListVolumesResult::WithGatewayARN
ListVolumesResult & WithGatewayARN(const Aws::String &value)
Definition: ListVolumesResult.h:57