AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
50 inline ListTapesRequest& WithTapeARNs(const Aws::Vector<Aws::String>& value) { SetTapeARNs(value); return *this;}
51 inline ListTapesRequest& WithTapeARNs(Aws::Vector<Aws::String>&& value) { SetTapeARNs(std::move(value)); return *this;}
52 inline ListTapesRequest& AddTapeARNs(const Aws::String& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; }
53 inline ListTapesRequest& AddTapeARNs(Aws::String&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(std::move(value)); return *this; }
54 inline ListTapesRequest& 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 ListTapesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
68 inline ListTapesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
69 inline ListTapesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
71
73
76 inline int GetLimit() const{ return m_limit; }
77 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
78 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
79 inline ListTapesRequest& WithLimit(int value) { SetLimit(value); return *this;}
81 private:
82
83 Aws::Vector<Aws::String> m_tapeARNs;
84 bool m_tapeARNsHasBeenSet = false;
85
86 Aws::String m_marker;
87 bool m_markerHasBeenSet = false;
88
89 int m_limit;
90 bool m_limitHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace StorageGateway
95} // namespace Aws
void SetMarker(const Aws::String &value)
ListTapesRequest & AddTapeARNs(const Aws::String &value)
ListTapesRequest & WithTapeARNs(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetTapeARNs() const
void SetTapeARNs(Aws::Vector< Aws::String > &&value)
ListTapesRequest & AddTapeARNs(Aws::String &&value)
ListTapesRequest & WithTapeARNs(Aws::Vector< Aws::String > &&value)
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
ListTapesRequest & WithMarker(const char *value)
ListTapesRequest & WithMarker(const Aws::String &value)
ListTapesRequest & WithMarker(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
ListTapesRequest & AddTapeARNs(const char *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