AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ListTablesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3tables/S3TablesRequest.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace S3Tables {
18namespace Model {
19
23 public:
24 AWS_S3TABLES_API ListTablesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListTables"; }
31
32 AWS_S3TABLES_API Aws::String SerializePayload() const override;
33
34 AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
41 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
42 template <typename TableBucketARNT = Aws::String>
43 void SetTableBucketARN(TableBucketARNT&& value) {
44 m_tableBucketARNHasBeenSet = true;
45 m_tableBucketARN = std::forward<TableBucketARNT>(value);
46 }
47 template <typename TableBucketARNT = Aws::String>
48 ListTablesRequest& WithTableBucketARN(TableBucketARNT&& value) {
49 SetTableBucketARN(std::forward<TableBucketARNT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetNamespace() const { return m_namespace; }
59 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
60 template <typename NamespaceT = Aws::String>
61 void SetNamespace(NamespaceT&& value) {
62 m_namespaceHasBeenSet = true;
63 m_namespace = std::forward<NamespaceT>(value);
64 }
65 template <typename NamespaceT = Aws::String>
66 ListTablesRequest& WithNamespace(NamespaceT&& value) {
67 SetNamespace(std::forward<NamespaceT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetPrefix() const { return m_prefix; }
77 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
78 template <typename PrefixT = Aws::String>
79 void SetPrefix(PrefixT&& value) {
80 m_prefixHasBeenSet = true;
81 m_prefix = std::forward<PrefixT>(value);
82 }
83 template <typename PrefixT = Aws::String>
84 ListTablesRequest& WithPrefix(PrefixT&& value) {
85 SetPrefix(std::forward<PrefixT>(value));
86 return *this;
87 }
89
91
97 inline const Aws::String& GetContinuationToken() const { return m_continuationToken; }
98 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
99 template <typename ContinuationTokenT = Aws::String>
100 void SetContinuationToken(ContinuationTokenT&& value) {
101 m_continuationTokenHasBeenSet = true;
102 m_continuationToken = std::forward<ContinuationTokenT>(value);
103 }
104 template <typename ContinuationTokenT = Aws::String>
105 ListTablesRequest& WithContinuationToken(ContinuationTokenT&& value) {
106 SetContinuationToken(std::forward<ContinuationTokenT>(value));
107 return *this;
108 }
110
112
115 inline int GetMaxTables() const { return m_maxTables; }
116 inline bool MaxTablesHasBeenSet() const { return m_maxTablesHasBeenSet; }
117 inline void SetMaxTables(int value) {
118 m_maxTablesHasBeenSet = true;
119 m_maxTables = value;
120 }
121 inline ListTablesRequest& WithMaxTables(int value) {
122 SetMaxTables(value);
123 return *this;
124 }
126 private:
127 Aws::String m_tableBucketARN;
128
129 Aws::String m_namespace;
130
131 Aws::String m_prefix;
132
133 Aws::String m_continuationToken;
134
135 int m_maxTables{0};
136 bool m_tableBucketARNHasBeenSet = false;
137 bool m_namespaceHasBeenSet = false;
138 bool m_prefixHasBeenSet = false;
139 bool m_continuationTokenHasBeenSet = false;
140 bool m_maxTablesHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace S3Tables
145} // namespace Aws
AWS_S3TABLES_API ListTablesRequest()=default
ListTablesRequest & WithNamespace(NamespaceT &&value)
virtual const char * GetServiceRequestName() const override
ListTablesRequest & WithTableBucketARN(TableBucketARNT &&value)
void SetContinuationToken(ContinuationTokenT &&value)
ListTablesRequest & WithMaxTables(int value)
const Aws::String & GetContinuationToken() const
AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3TABLES_API Aws::String SerializePayload() const override
const Aws::String & GetPrefix() const
void SetTableBucketARN(TableBucketARNT &&value)
const Aws::String & GetTableBucketARN() const
const Aws::String & GetNamespace() const
ListTablesRequest & WithContinuationToken(ContinuationTokenT &&value)
ListTablesRequest & WithPrefix(PrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String