AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTapeARNs(const Aws::Vector<Aws::String>& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = value; }
49 inline void SetTapeARNs(Aws::Vector<Aws::String>&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = std::move(value); }
51 inline DescribeTapeArchivesRequest& WithTapeARNs(Aws::Vector<Aws::String>&& value) { SetTapeARNs(std::move(value)); return *this;}
52 inline DescribeTapeArchivesRequest& AddTapeARNs(const Aws::String& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
53 inline DescribeTapeArchivesRequest& AddTapeARNs(Aws::String&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(std::move(value)); return *this; }
54 inline DescribeTapeArchivesRequest& AddTapeARNs(const char* value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
56
58
62 inline const Aws::String& GetMarker() const{ return m_marker; }
63 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
64 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
65 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
66 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
67 inline DescribeTapeArchivesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
68 inline DescribeTapeArchivesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
69 inline DescribeTapeArchivesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
71
73
77 inline int GetLimit() const{ return m_limit; }
78 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
79 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
80 inline DescribeTapeArchivesRequest& WithLimit(int value) { SetLimit(value); return *this;}
82 private:
83
84 Aws::Vector<Aws::String> m_tapeARNs;
85 bool m_tapeARNsHasBeenSet = false;
86
87 Aws::String m_marker;
88 bool m_markerHasBeenSet = false;
89
90 int m_limit;
91 bool m_limitHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace StorageGateway
96} // namespace Aws
DescribeTapeArchivesRequest & WithTapeARNs(const Aws::Vector< Aws::String > &value)
DescribeTapeArchivesRequest & AddTapeARNs(const char *value)
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
DescribeTapeArchivesRequest & WithTapeARNs(Aws::Vector< Aws::String > &&value)
DescribeTapeArchivesRequest & AddTapeARNs(const Aws::String &value)
DescribeTapeArchivesRequest & WithMarker(Aws::String &&value)
DescribeTapeArchivesRequest & WithMarker(const char *value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeTapeArchivesRequest & WithMarker(const Aws::String &value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
DescribeTapeArchivesRequest & AddTapeARNs(Aws::String &&value)
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