AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DescribeTapesRequest.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 DescribeTapesRequest() = 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 "DescribeTapes"; }
32
33 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
34
35 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
39 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
40 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
41 template <typename GatewayARNT = Aws::String>
42 void SetGatewayARN(GatewayARNT&& value) {
43 m_gatewayARNHasBeenSet = true;
44 m_gatewayARN = std::forward<GatewayARNT>(value);
45 }
46 template <typename GatewayARNT = Aws::String>
47 DescribeTapesRequest& WithGatewayARN(GatewayARNT&& value) {
48 SetGatewayARN(std::forward<GatewayARNT>(value));
49 return *this;
50 }
52
54
60 inline const Aws::Vector<Aws::String>& GetTapeARNs() const { return m_tapeARNs; }
61 inline bool TapeARNsHasBeenSet() const { return m_tapeARNsHasBeenSet; }
62 template <typename TapeARNsT = Aws::Vector<Aws::String>>
63 void SetTapeARNs(TapeARNsT&& value) {
64 m_tapeARNsHasBeenSet = true;
65 m_tapeARNs = std::forward<TapeARNsT>(value);
66 }
67 template <typename TapeARNsT = Aws::Vector<Aws::String>>
68 DescribeTapesRequest& WithTapeARNs(TapeARNsT&& value) {
69 SetTapeARNs(std::forward<TapeARNsT>(value));
70 return *this;
71 }
72 template <typename TapeARNsT = Aws::String>
73 DescribeTapesRequest& AddTapeARNs(TapeARNsT&& value) {
74 m_tapeARNsHasBeenSet = true;
75 m_tapeARNs.emplace_back(std::forward<TapeARNsT>(value));
76 return *this;
77 }
79
81
86 inline const Aws::String& GetMarker() const { return m_marker; }
87 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
88 template <typename MarkerT = Aws::String>
89 void SetMarker(MarkerT&& value) {
90 m_markerHasBeenSet = true;
91 m_marker = std::forward<MarkerT>(value);
92 }
93 template <typename MarkerT = Aws::String>
94 DescribeTapesRequest& WithMarker(MarkerT&& value) {
95 SetMarker(std::forward<MarkerT>(value));
96 return *this;
97 }
99
101
106 inline int GetLimit() const { return m_limit; }
107 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
108 inline void SetLimit(int value) {
109 m_limitHasBeenSet = true;
110 m_limit = value;
111 }
112 inline DescribeTapesRequest& WithLimit(int value) {
113 SetLimit(value);
114 return *this;
115 }
117 private:
118 Aws::String m_gatewayARN;
119
120 Aws::Vector<Aws::String> m_tapeARNs;
121
122 Aws::String m_marker;
123
124 int m_limit{0};
125 bool m_gatewayARNHasBeenSet = false;
126 bool m_tapeARNsHasBeenSet = false;
127 bool m_markerHasBeenSet = false;
128 bool m_limitHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace StorageGateway
133} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribeTapesRequest & WithGatewayARN(GatewayARNT &&value)
DescribeTapesRequest & WithTapeARNs(TapeARNsT &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeTapesRequest & WithMarker(MarkerT &&value)
AWS_STORAGEGATEWAY_API DescribeTapesRequest()=default
const Aws::Vector< Aws::String > & GetTapeARNs() const
DescribeTapesRequest & AddTapeARNs(TapeARNsT &&value)
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