AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListTapesRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace StorageGateway
16{
17namespace Model
18{
19
29 {
30 public:
31 AWS_STORAGEGATEWAY_API ListTapesRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListTapes"; }
38
39 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
40
41 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
46 inline const Aws::Vector<Aws::String>& GetTapeARNs() const { return m_tapeARNs; }
47 inline bool TapeARNsHasBeenSet() const { return m_tapeARNsHasBeenSet; }
48 template<typename TapeARNsT = Aws::Vector<Aws::String>>
49 void SetTapeARNs(TapeARNsT&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = std::forward<TapeARNsT>(value); }
50 template<typename TapeARNsT = Aws::Vector<Aws::String>>
51 ListTapesRequest& WithTapeARNs(TapeARNsT&& value) { SetTapeARNs(std::forward<TapeARNsT>(value)); return *this;}
52 template<typename TapeARNsT = Aws::String>
53 ListTapesRequest& AddTapeARNs(TapeARNsT&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.emplace_back(std::forward<TapeARNsT>(value)); return *this; }
55
57
61 inline const Aws::String& GetMarker() const { return m_marker; }
62 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
63 template<typename MarkerT = Aws::String>
64 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
65 template<typename MarkerT = Aws::String>
66 ListTapesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
68
70
73 inline int GetLimit() const { return m_limit; }
74 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
75 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
76 inline ListTapesRequest& WithLimit(int value) { SetLimit(value); return *this;}
78 private:
79
80 Aws::Vector<Aws::String> m_tapeARNs;
81 bool m_tapeARNsHasBeenSet = false;
82
83 Aws::String m_marker;
84 bool m_markerHasBeenSet = false;
85
86 int m_limit{0};
87 bool m_limitHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace StorageGateway
92} // namespace Aws
ListTapesRequest & WithTapeARNs(TapeARNsT &&value)
const Aws::Vector< Aws::String > & GetTapeARNs() const
ListTapesRequest & AddTapeARNs(TapeARNsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_STORAGEGATEWAY_API ListTapesRequest()=default
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListTapesRequest & WithMarker(MarkerT &&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