AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ListNamespacesRequest.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 ListNamespacesRequest() = 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 "ListNamespaces"; }
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 ListNamespacesRequest& WithTableBucketARN(TableBucketARNT&& value) {
49 SetTableBucketARN(std::forward<TableBucketARNT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPrefix() const { return m_prefix; }
59 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
60 template <typename PrefixT = Aws::String>
61 void SetPrefix(PrefixT&& value) {
62 m_prefixHasBeenSet = true;
63 m_prefix = std::forward<PrefixT>(value);
64 }
65 template <typename PrefixT = Aws::String>
67 SetPrefix(std::forward<PrefixT>(value));
68 return *this;
69 }
71
73
79 inline const Aws::String& GetContinuationToken() const { return m_continuationToken; }
80 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
81 template <typename ContinuationTokenT = Aws::String>
82 void SetContinuationToken(ContinuationTokenT&& value) {
83 m_continuationTokenHasBeenSet = true;
84 m_continuationToken = std::forward<ContinuationTokenT>(value);
85 }
86 template <typename ContinuationTokenT = Aws::String>
87 ListNamespacesRequest& WithContinuationToken(ContinuationTokenT&& value) {
88 SetContinuationToken(std::forward<ContinuationTokenT>(value));
89 return *this;
90 }
92
94
97 inline int GetMaxNamespaces() const { return m_maxNamespaces; }
98 inline bool MaxNamespacesHasBeenSet() const { return m_maxNamespacesHasBeenSet; }
99 inline void SetMaxNamespaces(int value) {
100 m_maxNamespacesHasBeenSet = true;
101 m_maxNamespaces = value;
102 }
104 SetMaxNamespaces(value);
105 return *this;
106 }
108 private:
109 Aws::String m_tableBucketARN;
110
111 Aws::String m_prefix;
112
113 Aws::String m_continuationToken;
114
115 int m_maxNamespaces{0};
116 bool m_tableBucketARNHasBeenSet = false;
117 bool m_prefixHasBeenSet = false;
118 bool m_continuationTokenHasBeenSet = false;
119 bool m_maxNamespacesHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace S3Tables
124} // namespace Aws
AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetContinuationToken(ContinuationTokenT &&value)
ListNamespacesRequest & WithMaxNamespaces(int value)
AWS_S3TABLES_API Aws::String SerializePayload() const override
AWS_S3TABLES_API ListNamespacesRequest()=default
ListNamespacesRequest & WithPrefix(PrefixT &&value)
ListNamespacesRequest & WithTableBucketARN(TableBucketARNT &&value)
virtual const char * GetServiceRequestName() const override
ListNamespacesRequest & WithContinuationToken(ContinuationTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String