AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListTablesRequest.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/S3TablesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace S3Tables
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_S3TABLES_API ListTablesRequest() = 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 "ListTables"; }
35
36 AWS_S3TABLES_API Aws::String SerializePayload() const override;
37
38 AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
46 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
47 template<typename TableBucketARNT = Aws::String>
48 void SetTableBucketARN(TableBucketARNT&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::forward<TableBucketARNT>(value); }
49 template<typename TableBucketARNT = Aws::String>
50 ListTablesRequest& WithTableBucketARN(TableBucketARNT&& value) { SetTableBucketARN(std::forward<TableBucketARNT>(value)); return *this;}
52
54
57 inline const Aws::String& GetNamespace() const { return m_namespace; }
58 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
59 template<typename NamespaceT = Aws::String>
60 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
61 template<typename NamespaceT = Aws::String>
62 ListTablesRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
64
66
69 inline const Aws::String& GetPrefix() const { return m_prefix; }
70 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
71 template<typename PrefixT = Aws::String>
72 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
73 template<typename PrefixT = Aws::String>
74 ListTablesRequest& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
76
78
84 inline const Aws::String& GetContinuationToken() const { return m_continuationToken; }
85 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
86 template<typename ContinuationTokenT = Aws::String>
87 void SetContinuationToken(ContinuationTokenT&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::forward<ContinuationTokenT>(value); }
88 template<typename ContinuationTokenT = Aws::String>
89 ListTablesRequest& WithContinuationToken(ContinuationTokenT&& value) { SetContinuationToken(std::forward<ContinuationTokenT>(value)); return *this;}
91
93
96 inline int GetMaxTables() const { return m_maxTables; }
97 inline bool MaxTablesHasBeenSet() const { return m_maxTablesHasBeenSet; }
98 inline void SetMaxTables(int value) { m_maxTablesHasBeenSet = true; m_maxTables = value; }
99 inline ListTablesRequest& WithMaxTables(int value) { SetMaxTables(value); return *this;}
101 private:
102
103 Aws::String m_tableBucketARN;
104 bool m_tableBucketARNHasBeenSet = false;
105
106 Aws::String m_namespace;
107 bool m_namespaceHasBeenSet = false;
108
109 Aws::String m_prefix;
110 bool m_prefixHasBeenSet = false;
111
112 Aws::String m_continuationToken;
113 bool m_continuationTokenHasBeenSet = false;
114
115 int m_maxTables{0};
116 bool m_maxTablesHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace S3Tables
121} // 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