AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListNamespacesRequest.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 ListNamespacesRequest() = 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 "ListNamespaces"; }
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 ListNamespacesRequest& WithTableBucketARN(TableBucketARNT&& value) { SetTableBucketARN(std::forward<TableBucketARNT>(value)); return *this;}
52
54
57 inline const Aws::String& GetPrefix() const { return m_prefix; }
58 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
59 template<typename PrefixT = Aws::String>
60 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
61 template<typename PrefixT = Aws::String>
62 ListNamespacesRequest& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
64
66
72 inline const Aws::String& GetContinuationToken() const { return m_continuationToken; }
73 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
74 template<typename ContinuationTokenT = Aws::String>
75 void SetContinuationToken(ContinuationTokenT&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::forward<ContinuationTokenT>(value); }
76 template<typename ContinuationTokenT = Aws::String>
77 ListNamespacesRequest& WithContinuationToken(ContinuationTokenT&& value) { SetContinuationToken(std::forward<ContinuationTokenT>(value)); return *this;}
79
81
84 inline int GetMaxNamespaces() const { return m_maxNamespaces; }
85 inline bool MaxNamespacesHasBeenSet() const { return m_maxNamespacesHasBeenSet; }
86 inline void SetMaxNamespaces(int value) { m_maxNamespacesHasBeenSet = true; m_maxNamespaces = value; }
87 inline ListNamespacesRequest& WithMaxNamespaces(int value) { SetMaxNamespaces(value); return *this;}
89 private:
90
91 Aws::String m_tableBucketARN;
92 bool m_tableBucketARNHasBeenSet = false;
93
94 Aws::String m_prefix;
95 bool m_prefixHasBeenSet = false;
96
97 Aws::String m_continuationToken;
98 bool m_continuationTokenHasBeenSet = false;
99
100 int m_maxNamespaces{0};
101 bool m_maxNamespacesHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace S3Tables
106} // 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