AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListTableBucketsRequest.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 <aws/s3tables/model/TableBucketType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace S3Tables
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_S3TABLES_API ListTableBucketsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListTableBuckets"; }
36
37 AWS_S3TABLES_API Aws::String SerializePayload() const override;
38
39 AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetPrefix() const { return m_prefix; }
47 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
48 template<typename PrefixT = Aws::String>
49 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
50 template<typename PrefixT = Aws::String>
51 ListTableBucketsRequest& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
53
55
61 inline const Aws::String& GetContinuationToken() const { return m_continuationToken; }
62 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
63 template<typename ContinuationTokenT = Aws::String>
64 void SetContinuationToken(ContinuationTokenT&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::forward<ContinuationTokenT>(value); }
65 template<typename ContinuationTokenT = Aws::String>
66 ListTableBucketsRequest& WithContinuationToken(ContinuationTokenT&& value) { SetContinuationToken(std::forward<ContinuationTokenT>(value)); return *this;}
68
70
73 inline int GetMaxBuckets() const { return m_maxBuckets; }
74 inline bool MaxBucketsHasBeenSet() const { return m_maxBucketsHasBeenSet; }
75 inline void SetMaxBuckets(int value) { m_maxBucketsHasBeenSet = true; m_maxBuckets = value; }
76 inline ListTableBucketsRequest& WithMaxBuckets(int value) { SetMaxBuckets(value); return *this;}
78
80
83 inline TableBucketType GetType() const { return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 inline void SetType(TableBucketType value) { m_typeHasBeenSet = true; m_type = value; }
86 inline ListTableBucketsRequest& WithType(TableBucketType value) { SetType(value); return *this;}
88 private:
89
90 Aws::String m_prefix;
91 bool m_prefixHasBeenSet = false;
92
93 Aws::String m_continuationToken;
94 bool m_continuationTokenHasBeenSet = false;
95
96 int m_maxBuckets{0};
97 bool m_maxBucketsHasBeenSet = false;
98
100 bool m_typeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace S3Tables
105} // namespace Aws
AWS_S3TABLES_API Aws::String SerializePayload() const override
ListTableBucketsRequest & WithType(TableBucketType value)
void SetContinuationToken(ContinuationTokenT &&value)
ListTableBucketsRequest & WithMaxBuckets(int value)
ListTableBucketsRequest & WithContinuationToken(ContinuationTokenT &&value)
AWS_S3TABLES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3TABLES_API ListTableBucketsRequest()=default
virtual const char * GetServiceRequestName() const override
ListTableBucketsRequest & WithPrefix(PrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String