AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
46 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
47 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
48 inline DescribeTapesRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
49 inline DescribeTapesRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
50 inline DescribeTapesRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
52
54
60 inline const Aws::Vector<Aws::String>& GetTapeARNs() const{ return m_tapeARNs; }
61 inline bool TapeARNsHasBeenSet() const { return m_tapeARNsHasBeenSet; }
62 inline void SetTapeARNs(const Aws::Vector<Aws::String>& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = value; }
63 inline void SetTapeARNs(Aws::Vector<Aws::String>&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = std::move(value); }
64 inline DescribeTapesRequest& WithTapeARNs(const Aws::Vector<Aws::String>& value) { SetTapeARNs(value); return *this;}
65 inline DescribeTapesRequest& WithTapeARNs(Aws::Vector<Aws::String>&& value) { SetTapeARNs(std::move(value)); return *this;}
66 inline DescribeTapesRequest& AddTapeARNs(const Aws::String& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
67 inline DescribeTapesRequest& AddTapeARNs(Aws::String&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(std::move(value)); return *this; }
68 inline DescribeTapesRequest& AddTapeARNs(const char* value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
70
72
77 inline const Aws::String& GetMarker() const{ return m_marker; }
78 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
79 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
82 inline DescribeTapesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline DescribeTapesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline DescribeTapesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
93 inline int GetLimit() const{ return m_limit; }
94 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
95 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
96 inline DescribeTapesRequest& WithLimit(int value) { SetLimit(value); return *this;}
98 private:
99
100 Aws::String m_gatewayARN;
101 bool m_gatewayARNHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_tapeARNs;
104 bool m_tapeARNsHasBeenSet = false;
105
106 Aws::String m_marker;
107 bool m_markerHasBeenSet = false;
108
109 int m_limit;
110 bool m_limitHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace StorageGateway
115} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribeTapesRequest & AddTapeARNs(Aws::String &&value)
DescribeTapesRequest & AddTapeARNs(const char *value)
void SetTapeARNs(Aws::Vector< Aws::String > &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeTapesRequest & WithTapeARNs(const Aws::Vector< Aws::String > &value)
DescribeTapesRequest & WithMarker(const char *value)
DescribeTapesRequest & WithGatewayARN(const Aws::String &value)
DescribeTapesRequest & WithGatewayARN(const char *value)
DescribeTapesRequest & WithGatewayARN(Aws::String &&value)
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
DescribeTapesRequest & WithTapeARNs(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTapeARNs() const
DescribeTapesRequest & WithMarker(Aws::String &&value)
DescribeTapesRequest & WithMarker(const Aws::String &value)
DescribeTapesRequest & AddTapeARNs(const Aws::String &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