AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeTapeArchivesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeTapeArchives"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::Vector<Aws::String>& GetTapeARNs() const{ return m_tapeARNs; }
46 
51  inline bool TapeARNsHasBeenSet() const { return m_tapeARNsHasBeenSet; }
52 
57  inline void SetTapeARNs(const Aws::Vector<Aws::String>& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = value; }
58 
63  inline void SetTapeARNs(Aws::Vector<Aws::String>&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = std::move(value); }
64 
69  inline DescribeTapeArchivesRequest& WithTapeARNs(const Aws::Vector<Aws::String>& value) { SetTapeARNs(value); return *this;}
70 
75  inline DescribeTapeArchivesRequest& WithTapeARNs(Aws::Vector<Aws::String>&& value) { SetTapeARNs(std::move(value)); return *this;}
76 
81  inline DescribeTapeArchivesRequest& AddTapeARNs(const Aws::String& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
82 
87  inline DescribeTapeArchivesRequest& AddTapeARNs(Aws::String&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(std::move(value)); return *this; }
88 
93  inline DescribeTapeArchivesRequest& AddTapeARNs(const char* value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
94 
95 
100  inline const Aws::String& GetMarker() const{ return m_marker; }
101 
106  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
107 
112  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
113 
118  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
119 
124  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
125 
130  inline DescribeTapeArchivesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
131 
136  inline DescribeTapeArchivesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
137 
142  inline DescribeTapeArchivesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
143 
144 
149  inline int GetLimit() const{ return m_limit; }
150 
155  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
156 
161  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
162 
167  inline DescribeTapeArchivesRequest& WithLimit(int value) { SetLimit(value); return *this;}
168 
169  private:
170 
171  Aws::Vector<Aws::String> m_tapeARNs;
172  bool m_tapeARNsHasBeenSet;
173 
174  Aws::String m_marker;
175  bool m_markerHasBeenSet;
176 
177  int m_limit;
178  bool m_limitHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace StorageGateway
183 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::SetTapeARNs
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeTapeArchivesRequest.h:57
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeTapeArchivesRequest.h:161
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeTapeArchivesRequest.h:124
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeTapeArchivesRequest.h:106
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::GetLimit
int GetLimit() const
Definition: DescribeTapeArchivesRequest.h:149
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeTapeArchivesRequest.h:112
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::AddTapeARNs
DescribeTapeArchivesRequest & AddTapeARNs(const char *value)
Definition: DescribeTapeArchivesRequest.h:93
AWSVector.h
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::DescribeTapeArchivesRequest
DescribeTapeArchivesRequest()
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeTapeArchivesRequest.h:100
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::WithTapeARNs
DescribeTapeArchivesRequest & WithTapeARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeTapeArchivesRequest.h:69
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::WithTapeARNs
DescribeTapeArchivesRequest & WithTapeARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeTapeArchivesRequest.h:75
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::GetTapeARNs
const Aws::Vector< Aws::String > & GetTapeARNs() const
Definition: DescribeTapeArchivesRequest.h:45
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::AddTapeARNs
DescribeTapeArchivesRequest & AddTapeARNs(const Aws::String &value)
Definition: DescribeTapeArchivesRequest.h:81
AWSString.h
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeTapeArchivesRequest.h:155
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::TapeARNsHasBeenSet
bool TapeARNsHasBeenSet() const
Definition: DescribeTapeArchivesRequest.h:51
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::WithMarker
DescribeTapeArchivesRequest & WithMarker(const Aws::String &value)
Definition: DescribeTapeArchivesRequest.h:130
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::WithMarker
DescribeTapeArchivesRequest & WithMarker(Aws::String &&value)
Definition: DescribeTapeArchivesRequest.h:136
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::AddTapeARNs
DescribeTapeArchivesRequest & AddTapeARNs(Aws::String &&value)
Definition: DescribeTapeArchivesRequest.h:87
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::WithMarker
DescribeTapeArchivesRequest & WithMarker(const char *value)
Definition: DescribeTapeArchivesRequest.h:142
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::SetTapeARNs
void SetTapeARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeTapeArchivesRequest.h:63
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeTapeArchivesRequest.h:34
Aws::StorageGateway::Model::DescribeTapeArchivesRequest
Definition: DescribeTapeArchivesRequest.h:26
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::WithLimit
DescribeTapeArchivesRequest & WithLimit(int value)
Definition: DescribeTapeArchivesRequest.h:167
Aws::StorageGateway::Model::DescribeTapeArchivesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeTapeArchivesRequest.h:118