AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeTapeArchivesRequest.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
26 {
27 public:
28 AWS_STORAGEGATEWAY_API DescribeTapeArchivesRequest() = 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 "DescribeTapeArchives"; }
35
36 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
37
38 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
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 DescribeTapeArchivesRequest& WithTapeARNs(TapeARNsT&& value) { SetTapeARNs(std::forward<TapeARNsT>(value)); return *this;}
52 template<typename TapeARNsT = Aws::String>
53 DescribeTapeArchivesRequest& 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 DescribeTapeArchivesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
68
70
74 inline int GetLimit() const { return m_limit; }
75 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
76 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
77 inline DescribeTapeArchivesRequest& WithLimit(int value) { SetLimit(value); return *this;}
79 private:
80
81 Aws::Vector<Aws::String> m_tapeARNs;
82 bool m_tapeARNsHasBeenSet = false;
83
84 Aws::String m_marker;
85 bool m_markerHasBeenSet = false;
86
87 int m_limit{0};
88 bool m_limitHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace StorageGateway
93} // 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