AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeTapesRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace StorageGateway
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_STORAGEGATEWAY_API DescribeTapesRequest() = default;
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 "DescribeTapes"; }
35
36 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
37
38 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
43 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
44 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
45 template<typename GatewayARNT = Aws::String>
46 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
47 template<typename GatewayARNT = Aws::String>
48 DescribeTapesRequest& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
50
52
58 inline const Aws::Vector<Aws::String>& GetTapeARNs() const { return m_tapeARNs; }
59 inline bool TapeARNsHasBeenSet() const { return m_tapeARNsHasBeenSet; }
60 template<typename TapeARNsT = Aws::Vector<Aws::String>>
61 void SetTapeARNs(TapeARNsT&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = std::forward<TapeARNsT>(value); }
62 template<typename TapeARNsT = Aws::Vector<Aws::String>>
63 DescribeTapesRequest& WithTapeARNs(TapeARNsT&& value) { SetTapeARNs(std::forward<TapeARNsT>(value)); return *this;}
64 template<typename TapeARNsT = Aws::String>
65 DescribeTapesRequest& AddTapeARNs(TapeARNsT&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.emplace_back(std::forward<TapeARNsT>(value)); return *this; }
67
69
74 inline const Aws::String& GetMarker() const { return m_marker; }
75 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
76 template<typename MarkerT = Aws::String>
77 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
78 template<typename MarkerT = Aws::String>
79 DescribeTapesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
81
83
88 inline int GetLimit() const { return m_limit; }
89 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
90 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
91 inline DescribeTapesRequest& WithLimit(int value) { SetLimit(value); return *this;}
93 private:
94
95 Aws::String m_gatewayARN;
96 bool m_gatewayARNHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_tapeARNs;
99 bool m_tapeARNsHasBeenSet = false;
100
101 Aws::String m_marker;
102 bool m_markerHasBeenSet = false;
103
104 int m_limit{0};
105 bool m_limitHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace StorageGateway
110} // 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