AWS SDK for C++  1.9.108
AWS SDK for C++
ListTapePoolsResult.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 {
30  {
31  public:
35 
36 
42  inline const Aws::Vector<PoolInfo>& GetPoolInfos() const{ return m_poolInfos; }
43 
49  inline void SetPoolInfos(const Aws::Vector<PoolInfo>& value) { m_poolInfos = value; }
50 
56  inline void SetPoolInfos(Aws::Vector<PoolInfo>&& value) { m_poolInfos = std::move(value); }
57 
63  inline ListTapePoolsResult& WithPoolInfos(const Aws::Vector<PoolInfo>& value) { SetPoolInfos(value); return *this;}
64 
70  inline ListTapePoolsResult& WithPoolInfos(Aws::Vector<PoolInfo>&& value) { SetPoolInfos(std::move(value)); return *this;}
71 
77  inline ListTapePoolsResult& AddPoolInfos(const PoolInfo& value) { m_poolInfos.push_back(value); return *this; }
78 
84  inline ListTapePoolsResult& AddPoolInfos(PoolInfo&& value) { m_poolInfos.push_back(std::move(value)); return *this; }
85 
86 
93  inline const Aws::String& GetMarker() const{ return m_marker; }
94 
101  inline void SetMarker(const Aws::String& value) { m_marker = value; }
102 
109  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
110 
117  inline void SetMarker(const char* value) { m_marker.assign(value); }
118 
125  inline ListTapePoolsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
126 
133  inline ListTapePoolsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
134 
141  inline ListTapePoolsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<PoolInfo> m_poolInfos;
146 
147  Aws::String m_marker;
148  };
149 
150 } // namespace Model
151 } // namespace StorageGateway
152 } // namespace Aws
Aws::StorageGateway::Model::PoolInfo
Definition: PoolInfo.h:35
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
PoolInfo.h
Aws::StorageGateway::Model::ListTapePoolsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListTapePoolsResult.h:93
Aws::StorageGateway::Model::ListTapePoolsResult
Definition: ListTapePoolsResult.h:30
Aws::StorageGateway::Model::ListTapePoolsResult::SetMarker
void SetMarker(const char *value)
Definition: ListTapePoolsResult.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::ListTapePoolsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListTapePoolsResult.h:109
Aws::StorageGateway::Model::ListTapePoolsResult::WithMarker
ListTapePoolsResult & WithMarker(const Aws::String &value)
Definition: ListTapePoolsResult.h:125
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListTapePoolsResult::ListTapePoolsResult
ListTapePoolsResult()
Aws::StorageGateway::Model::ListTapePoolsResult::AddPoolInfos
ListTapePoolsResult & AddPoolInfos(const PoolInfo &value)
Definition: ListTapePoolsResult.h:77
Aws::StorageGateway::Model::ListTapePoolsResult::WithMarker
ListTapePoolsResult & WithMarker(const char *value)
Definition: ListTapePoolsResult.h:141
Aws::StorageGateway::Model::ListTapePoolsResult::SetPoolInfos
void SetPoolInfos(Aws::Vector< PoolInfo > &&value)
Definition: ListTapePoolsResult.h:56
Aws::StorageGateway::Model::ListTapePoolsResult::WithPoolInfos
ListTapePoolsResult & WithPoolInfos(Aws::Vector< PoolInfo > &&value)
Definition: ListTapePoolsResult.h:70
Aws::StorageGateway::Model::ListTapePoolsResult::AddPoolInfos
ListTapePoolsResult & AddPoolInfos(PoolInfo &&value)
Definition: ListTapePoolsResult.h:84
Aws::StorageGateway::Model::ListTapePoolsResult::ListTapePoolsResult
ListTapePoolsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListTapePoolsResult::operator=
ListTapePoolsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::ListTapePoolsResult::SetPoolInfos
void SetPoolInfos(const Aws::Vector< PoolInfo > &value)
Definition: ListTapePoolsResult.h:49
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListTapePoolsResult::WithPoolInfos
ListTapePoolsResult & WithPoolInfos(const Aws::Vector< PoolInfo > &value)
Definition: ListTapePoolsResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListTapePoolsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListTapePoolsResult.h:101
Aws::StorageGateway::Model::ListTapePoolsResult::GetPoolInfos
const Aws::Vector< PoolInfo > & GetPoolInfos() const
Definition: ListTapePoolsResult.h:42
Aws::StorageGateway::Model::ListTapePoolsResult::WithMarker
ListTapePoolsResult & WithMarker(Aws::String &&value)
Definition: ListTapePoolsResult.h:133