AWS SDK for C++  1.8.71
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 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
DescribeTapeArchivesRequest & AddTapeARNs(const Aws::String &value)
DescribeTapeArchivesRequest & AddTapeARNs(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeTapeArchivesRequest & WithMarker(const Aws::String &value)
DescribeTapeArchivesRequest & AddTapeARNs(const char *value)
DescribeTapeArchivesRequest & WithMarker(Aws::String &&value)
#define AWS_STORAGEGATEWAY_API
DescribeTapeArchivesRequest & WithMarker(const char *value)
DescribeTapeArchivesRequest & WithTapeARNs(Aws::Vector< Aws::String > &&value)
DescribeTapeArchivesRequest & WithTapeARNs(const Aws::Vector< Aws::String > &value)