AWS SDK for C++  1.9.125
AWS SDK for C++
DescribeTapeArchivesResult.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 
49  inline const Aws::Vector<TapeArchive>& GetTapeArchives() const{ return m_tapeArchives; }
50 
58  inline void SetTapeArchives(const Aws::Vector<TapeArchive>& value) { m_tapeArchives = value; }
59 
67  inline void SetTapeArchives(Aws::Vector<TapeArchive>&& value) { m_tapeArchives = std::move(value); }
68 
76  inline DescribeTapeArchivesResult& WithTapeArchives(const Aws::Vector<TapeArchive>& value) { SetTapeArchives(value); return *this;}
77 
85  inline DescribeTapeArchivesResult& WithTapeArchives(Aws::Vector<TapeArchive>&& value) { SetTapeArchives(std::move(value)); return *this;}
86 
94  inline DescribeTapeArchivesResult& AddTapeArchives(const TapeArchive& value) { m_tapeArchives.push_back(value); return *this; }
95 
103  inline DescribeTapeArchivesResult& AddTapeArchives(TapeArchive&& value) { m_tapeArchives.push_back(std::move(value)); return *this; }
104 
105 
113  inline const Aws::String& GetMarker() const{ return m_marker; }
114 
122  inline void SetMarker(const Aws::String& value) { m_marker = value; }
123 
131  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
132 
140  inline void SetMarker(const char* value) { m_marker.assign(value); }
141 
149  inline DescribeTapeArchivesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
150 
158  inline DescribeTapeArchivesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
159 
167  inline DescribeTapeArchivesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
168 
169  private:
170 
171  Aws::Vector<TapeArchive> m_tapeArchives;
172 
173  Aws::String m_marker;
174  };
175 
176 } // namespace Model
177 } // namespace StorageGateway
178 } // namespace Aws
Aws::StorageGateway::Model::DescribeTapeArchivesResult::WithMarker
DescribeTapeArchivesResult & WithMarker(const char *value)
Definition: DescribeTapeArchivesResult.h:167
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeTapeArchivesResult::SetTapeArchives
void SetTapeArchives(const Aws::Vector< TapeArchive > &value)
Definition: DescribeTapeArchivesResult.h:58
Aws::StorageGateway::Model::DescribeTapeArchivesResult::AddTapeArchives
DescribeTapeArchivesResult & AddTapeArchives(const TapeArchive &value)
Definition: DescribeTapeArchivesResult.h:94
Aws::StorageGateway::Model::DescribeTapeArchivesResult::DescribeTapeArchivesResult
DescribeTapeArchivesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeTapeArchivesResult::operator=
DescribeTapeArchivesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeTapeArchivesResult::WithTapeArchives
DescribeTapeArchivesResult & WithTapeArchives(Aws::Vector< TapeArchive > &&value)
Definition: DescribeTapeArchivesResult.h:85
AWSVector.h
Aws::StorageGateway::Model::DescribeTapeArchivesResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeTapeArchivesResult.h:113
Aws::StorageGateway::Model::DescribeTapeArchivesResult::GetTapeArchives
const Aws::Vector< TapeArchive > & GetTapeArchives() const
Definition: DescribeTapeArchivesResult.h:49
TapeArchive.h
Aws::StorageGateway::Model::TapeArchive
Definition: TapeArchive.h:34
Aws::StorageGateway::Model::DescribeTapeArchivesResult::WithMarker
DescribeTapeArchivesResult & WithMarker(const Aws::String &value)
Definition: DescribeTapeArchivesResult.h:149
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeTapeArchivesResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeTapeArchivesResult.h:140
Aws::StorageGateway::Model::DescribeTapeArchivesResult::SetTapeArchives
void SetTapeArchives(Aws::Vector< TapeArchive > &&value)
Definition: DescribeTapeArchivesResult.h:67
Aws::StorageGateway::Model::DescribeTapeArchivesResult
Definition: DescribeTapeArchivesResult.h:35
Aws::StorageGateway::Model::DescribeTapeArchivesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeTapeArchivesResult.h:131
Aws::StorageGateway::Model::DescribeTapeArchivesResult::AddTapeArchives
DescribeTapeArchivesResult & AddTapeArchives(TapeArchive &&value)
Definition: DescribeTapeArchivesResult.h:103
Aws::StorageGateway::Model::DescribeTapeArchivesResult::WithTapeArchives
DescribeTapeArchivesResult & WithTapeArchives(const Aws::Vector< TapeArchive > &value)
Definition: DescribeTapeArchivesResult.h:76
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
Aws::StorageGateway::Model::DescribeTapeArchivesResult::WithMarker
DescribeTapeArchivesResult & WithMarker(Aws::String &&value)
Definition: DescribeTapeArchivesResult.h:158
Aws::StorageGateway::Model::DescribeTapeArchivesResult::DescribeTapeArchivesResult
DescribeTapeArchivesResult()
Aws::StorageGateway::Model::DescribeTapeArchivesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeTapeArchivesResult.h:122