AWS SDK for C++  1.9.132
AWS SDK for C++
ListTapesResult.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::Vector<TapeInfo>& GetTapeInfos() const{ return m_tapeInfos; }
46 
47 
48  inline void SetTapeInfos(const Aws::Vector<TapeInfo>& value) { m_tapeInfos = value; }
49 
50 
51  inline void SetTapeInfos(Aws::Vector<TapeInfo>&& value) { m_tapeInfos = std::move(value); }
52 
53 
54  inline ListTapesResult& WithTapeInfos(const Aws::Vector<TapeInfo>& value) { SetTapeInfos(value); return *this;}
55 
56 
57  inline ListTapesResult& WithTapeInfos(Aws::Vector<TapeInfo>&& value) { SetTapeInfos(std::move(value)); return *this;}
58 
59 
60  inline ListTapesResult& AddTapeInfos(const TapeInfo& value) { m_tapeInfos.push_back(value); return *this; }
61 
62 
63  inline ListTapesResult& AddTapeInfos(TapeInfo&& value) { m_tapeInfos.push_back(std::move(value)); return *this; }
64 
65 
72  inline const Aws::String& GetMarker() const{ return m_marker; }
73 
80  inline void SetMarker(const Aws::String& value) { m_marker = value; }
81 
88  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
89 
96  inline void SetMarker(const char* value) { m_marker.assign(value); }
97 
104  inline ListTapesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
105 
112  inline ListTapesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
113 
120  inline ListTapesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<TapeInfo> m_tapeInfos;
125 
126  Aws::String m_marker;
127  };
128 
129 } // namespace Model
130 } // namespace StorageGateway
131 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::ListTapesResult::SetMarker
void SetMarker(const char *value)
Definition: ListTapesResult.h:96
Aws::StorageGateway::Model::ListTapesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListTapesResult.h:88
TapeInfo.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::ListTapesResult::AddTapeInfos
ListTapesResult & AddTapeInfos(const TapeInfo &value)
Definition: ListTapesResult.h:60
Aws::StorageGateway::Model::ListTapesResult::WithMarker
ListTapesResult & WithMarker(Aws::String &&value)
Definition: ListTapesResult.h:112
AWSVector.h
Aws::StorageGateway::Model::ListTapesResult::ListTapesResult
ListTapesResult()
Aws::StorageGateway::Model::TapeInfo
Definition: TapeInfo.h:33
Aws::StorageGateway::Model::ListTapesResult::WithMarker
ListTapesResult & WithMarker(const Aws::String &value)
Definition: ListTapesResult.h:104
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListTapesResult::SetTapeInfos
void SetTapeInfos(Aws::Vector< TapeInfo > &&value)
Definition: ListTapesResult.h:51
Aws::StorageGateway::Model::ListTapesResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListTapesResult.h:72
Aws::StorageGateway::Model::ListTapesResult::GetTapeInfos
const Aws::Vector< TapeInfo > & GetTapeInfos() const
Definition: ListTapesResult.h:45
Aws::StorageGateway::Model::ListTapesResult::AddTapeInfos
ListTapesResult & AddTapeInfos(TapeInfo &&value)
Definition: ListTapesResult.h:63
Aws::StorageGateway::Model::ListTapesResult::ListTapesResult
ListTapesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListTapesResult::SetTapeInfos
void SetTapeInfos(const Aws::Vector< TapeInfo > &value)
Definition: ListTapesResult.h:48
Aws::StorageGateway::Model::ListTapesResult::WithTapeInfos
ListTapesResult & WithTapeInfos(Aws::Vector< TapeInfo > &&value)
Definition: ListTapesResult.h:57
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListTapesResult
Definition: ListTapesResult.h:37
Aws::StorageGateway::Model::ListTapesResult::WithTapeInfos
ListTapesResult & WithTapeInfos(const Aws::Vector< TapeInfo > &value)
Definition: ListTapesResult.h:54
Aws::StorageGateway::Model::ListTapesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListTapesResult.h:80
Aws::StorageGateway::Model::ListTapesResult::WithMarker
ListTapesResult & WithMarker(const char *value)
Definition: ListTapesResult.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListTapesResult::operator=
ListTapesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)