AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeTapeRecoveryPointsResult.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 
42 
43  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
44 
45 
46  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
47 
48 
49  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
50 
51 
52  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
53 
54 
55  inline DescribeTapeRecoveryPointsResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
56 
57 
58  inline DescribeTapeRecoveryPointsResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
59 
60 
61  inline DescribeTapeRecoveryPointsResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
62 
63 
68  inline const Aws::Vector<TapeRecoveryPointInfo>& GetTapeRecoveryPointInfos() const{ return m_tapeRecoveryPointInfos; }
69 
74  inline void SetTapeRecoveryPointInfos(const Aws::Vector<TapeRecoveryPointInfo>& value) { m_tapeRecoveryPointInfos = value; }
75 
80  inline void SetTapeRecoveryPointInfos(Aws::Vector<TapeRecoveryPointInfo>&& value) { m_tapeRecoveryPointInfos = std::move(value); }
81 
86  inline DescribeTapeRecoveryPointsResult& WithTapeRecoveryPointInfos(const Aws::Vector<TapeRecoveryPointInfo>& value) { SetTapeRecoveryPointInfos(value); return *this;}
87 
92  inline DescribeTapeRecoveryPointsResult& WithTapeRecoveryPointInfos(Aws::Vector<TapeRecoveryPointInfo>&& value) { SetTapeRecoveryPointInfos(std::move(value)); return *this;}
93 
98  inline DescribeTapeRecoveryPointsResult& AddTapeRecoveryPointInfos(const TapeRecoveryPointInfo& value) { m_tapeRecoveryPointInfos.push_back(value); return *this; }
99 
104  inline DescribeTapeRecoveryPointsResult& AddTapeRecoveryPointInfos(TapeRecoveryPointInfo&& value) { m_tapeRecoveryPointInfos.push_back(std::move(value)); return *this; }
105 
106 
114  inline const Aws::String& GetMarker() const{ return m_marker; }
115 
123  inline void SetMarker(const Aws::String& value) { m_marker = value; }
124 
132  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
133 
141  inline void SetMarker(const char* value) { m_marker.assign(value); }
142 
150  inline DescribeTapeRecoveryPointsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
151 
159  inline DescribeTapeRecoveryPointsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
160 
168  inline DescribeTapeRecoveryPointsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
169 
170  private:
171 
172  Aws::String m_gatewayARN;
173 
174  Aws::Vector<TapeRecoveryPointInfo> m_tapeRecoveryPointInfos;
175 
176  Aws::String m_marker;
177  };
178 
179 } // namespace Model
180 } // namespace StorageGateway
181 } // namespace Aws
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::AddTapeRecoveryPointInfos
DescribeTapeRecoveryPointsResult & AddTapeRecoveryPointInfos(const TapeRecoveryPointInfo &value)
Definition: DescribeTapeRecoveryPointsResult.h:98
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeTapeRecoveryPointsResult.h:141
Aws::StorageGateway::Model::TapeRecoveryPointInfo
Definition: TapeRecoveryPointInfo.h:33
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithGatewayARN
DescribeTapeRecoveryPointsResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeTapeRecoveryPointsResult.h:58
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::GetTapeRecoveryPointInfos
const Aws::Vector< TapeRecoveryPointInfo > & GetTapeRecoveryPointInfos() const
Definition: DescribeTapeRecoveryPointsResult.h:68
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::DescribeTapeRecoveryPointsResult
DescribeTapeRecoveryPointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetTapeRecoveryPointInfos
void SetTapeRecoveryPointInfos(Aws::Vector< TapeRecoveryPointInfo > &&value)
Definition: DescribeTapeRecoveryPointsResult.h:80
AWSVector.h
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::operator=
DescribeTapeRecoveryPointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult
Definition: DescribeTapeRecoveryPointsResult.h:35
TapeRecoveryPointInfo.h
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithGatewayARN
DescribeTapeRecoveryPointsResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeTapeRecoveryPointsResult.h:55
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeTapeRecoveryPointsResult.h:114
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithTapeRecoveryPointInfos
DescribeTapeRecoveryPointsResult & WithTapeRecoveryPointInfos(Aws::Vector< TapeRecoveryPointInfo > &&value)
Definition: DescribeTapeRecoveryPointsResult.h:92
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeTapeRecoveryPointsResult.h:43
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::DescribeTapeRecoveryPointsResult
DescribeTapeRecoveryPointsResult()
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithTapeRecoveryPointInfos
DescribeTapeRecoveryPointsResult & WithTapeRecoveryPointInfos(const Aws::Vector< TapeRecoveryPointInfo > &value)
Definition: DescribeTapeRecoveryPointsResult.h:86
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeTapeRecoveryPointsResult.h:52
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithMarker
DescribeTapeRecoveryPointsResult & WithMarker(const Aws::String &value)
Definition: DescribeTapeRecoveryPointsResult.h:150
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeTapeRecoveryPointsResult.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::AddTapeRecoveryPointInfos
DescribeTapeRecoveryPointsResult & AddTapeRecoveryPointInfos(TapeRecoveryPointInfo &&value)
Definition: DescribeTapeRecoveryPointsResult.h:104
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeTapeRecoveryPointsResult.h:46
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithMarker
DescribeTapeRecoveryPointsResult & WithMarker(const char *value)
Definition: DescribeTapeRecoveryPointsResult.h:168
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithGatewayARN
DescribeTapeRecoveryPointsResult & WithGatewayARN(const char *value)
Definition: DescribeTapeRecoveryPointsResult.h:61
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::WithMarker
DescribeTapeRecoveryPointsResult & WithMarker(Aws::String &&value)
Definition: DescribeTapeRecoveryPointsResult.h:159
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeTapeRecoveryPointsResult.h:132
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetTapeRecoveryPointInfos
void SetTapeRecoveryPointInfos(const Aws::Vector< TapeRecoveryPointInfo > &value)
Definition: DescribeTapeRecoveryPointsResult.h:74
Aws::StorageGateway::Model::DescribeTapeRecoveryPointsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeTapeRecoveryPointsResult.h:123