AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeTapesResult.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 
45  inline const Aws::Vector<Tape>& GetTapes() const{ return m_tapes; }
46 
50  inline void SetTapes(const Aws::Vector<Tape>& value) { m_tapes = value; }
51 
55  inline void SetTapes(Aws::Vector<Tape>&& value) { m_tapes = std::move(value); }
56 
60  inline DescribeTapesResult& WithTapes(const Aws::Vector<Tape>& value) { SetTapes(value); return *this;}
61 
65  inline DescribeTapesResult& WithTapes(Aws::Vector<Tape>&& value) { SetTapes(std::move(value)); return *this;}
66 
70  inline DescribeTapesResult& AddTapes(const Tape& value) { m_tapes.push_back(value); return *this; }
71 
75  inline DescribeTapesResult& AddTapes(Tape&& value) { m_tapes.push_back(std::move(value)); return *this; }
76 
77 
84  inline const Aws::String& GetMarker() const{ return m_marker; }
85 
92  inline void SetMarker(const Aws::String& value) { m_marker = value; }
93 
100  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
101 
108  inline void SetMarker(const char* value) { m_marker.assign(value); }
109 
116  inline DescribeTapesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
117 
124  inline DescribeTapesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
125 
132  inline DescribeTapesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
133 
134  private:
135 
136  Aws::Vector<Tape> m_tapes;
137 
138  Aws::String m_marker;
139  };
140 
141 } // namespace Model
142 } // namespace StorageGateway
143 } // namespace Aws
Aws::StorageGateway::Model::DescribeTapesResult::DescribeTapesResult
DescribeTapesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeTapesResult::SetTapes
void SetTapes(const Aws::Vector< Tape > &value)
Definition: DescribeTapesResult.h:50
Aws::StorageGateway::Model::DescribeTapesResult::SetTapes
void SetTapes(Aws::Vector< Tape > &&value)
Definition: DescribeTapesResult.h:55
Aws::StorageGateway::Model::DescribeTapesResult::AddTapes
DescribeTapesResult & AddTapes(const Tape &value)
Definition: DescribeTapesResult.h:70
Aws::StorageGateway::Model::DescribeTapesResult::WithMarker
DescribeTapesResult & WithMarker(Aws::String &&value)
Definition: DescribeTapesResult.h:124
Aws::StorageGateway::Model::Tape
Definition: Tape.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeTapesResult::GetTapes
const Aws::Vector< Tape > & GetTapes() const
Definition: DescribeTapesResult.h:45
Aws::StorageGateway::Model::DescribeTapesResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeTapesResult.h:84
Aws::StorageGateway::Model::DescribeTapesResult
Definition: DescribeTapesResult.h:35
AWSVector.h
Aws::StorageGateway::Model::DescribeTapesResult::AddTapes
DescribeTapesResult & AddTapes(Tape &&value)
Definition: DescribeTapesResult.h:75
Aws::StorageGateway::Model::DescribeTapesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeTapesResult.h:92
Aws::StorageGateway::Model::DescribeTapesResult::WithTapes
DescribeTapesResult & WithTapes(const Aws::Vector< Tape > &value)
Definition: DescribeTapesResult.h:60
Aws::StorageGateway::Model::DescribeTapesResult::operator=
DescribeTapesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeTapesResult::WithMarker
DescribeTapesResult & WithMarker(const Aws::String &value)
Definition: DescribeTapesResult.h:116
Aws::StorageGateway::Model::DescribeTapesResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeTapesResult.h:108
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeTapesResult::WithTapes
DescribeTapesResult & WithTapes(Aws::Vector< Tape > &&value)
Definition: DescribeTapesResult.h:65
Aws::StorageGateway::Model::DescribeTapesResult::DescribeTapesResult
DescribeTapesResult()
Tape.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeTapesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeTapesResult.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeTapesResult::WithMarker
DescribeTapesResult & WithMarker(const char *value)
Definition: DescribeTapesResult.h:132