AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DescribeTapeArchivesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/storagegateway/StorageGatewayRequest.h>
10#include <aws/storagegateway/StorageGateway_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace StorageGateway {
16namespace Model {
17
24 public:
25 AWS_STORAGEGATEWAY_API DescribeTapeArchivesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeTapeArchives"; }
32
33 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
34
35 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
42 inline const Aws::Vector<Aws::String>& GetTapeARNs() const { return m_tapeARNs; }
43 inline bool TapeARNsHasBeenSet() const { return m_tapeARNsHasBeenSet; }
44 template <typename TapeARNsT = Aws::Vector<Aws::String>>
45 void SetTapeARNs(TapeARNsT&& value) {
46 m_tapeARNsHasBeenSet = true;
47 m_tapeARNs = std::forward<TapeARNsT>(value);
48 }
49 template <typename TapeARNsT = Aws::Vector<Aws::String>>
51 SetTapeARNs(std::forward<TapeARNsT>(value));
52 return *this;
53 }
54 template <typename TapeARNsT = Aws::String>
56 m_tapeARNsHasBeenSet = true;
57 m_tapeARNs.emplace_back(std::forward<TapeARNsT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::String& GetMarker() const { return m_marker; }
68 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
69 template <typename MarkerT = Aws::String>
70 void SetMarker(MarkerT&& value) {
71 m_markerHasBeenSet = true;
72 m_marker = std::forward<MarkerT>(value);
73 }
74 template <typename MarkerT = Aws::String>
76 SetMarker(std::forward<MarkerT>(value));
77 return *this;
78 }
80
82
86 inline int GetLimit() const { return m_limit; }
87 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
88 inline void SetLimit(int value) {
89 m_limitHasBeenSet = true;
90 m_limit = value;
91 }
93 SetLimit(value);
94 return *this;
95 }
97 private:
98 Aws::Vector<Aws::String> m_tapeARNs;
99
100 Aws::String m_marker;
101
102 int m_limit{0};
103 bool m_tapeARNsHasBeenSet = false;
104 bool m_markerHasBeenSet = false;
105 bool m_limitHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace StorageGateway
110} // namespace Aws
DescribeTapeArchivesRequest & WithMarker(MarkerT &&value)
DescribeTapeArchivesRequest & AddTapeARNs(TapeARNsT &&value)
DescribeTapeArchivesRequest & WithTapeARNs(TapeARNsT &&value)
AWS_STORAGEGATEWAY_API DescribeTapeArchivesRequest()=default
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector