AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ListTablesResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10#include <aws/s3tables/model/TableSummary.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace S3Tables {
24namespace Model {
26 public:
27 AWS_S3TABLES_API ListTablesResult() = default;
30
32
35 inline const Aws::Vector<TableSummary>& GetTables() const { return m_tables; }
36 template <typename TablesT = Aws::Vector<TableSummary>>
37 void SetTables(TablesT&& value) {
38 m_tablesHasBeenSet = true;
39 m_tables = std::forward<TablesT>(value);
40 }
41 template <typename TablesT = Aws::Vector<TableSummary>>
42 ListTablesResult& WithTables(TablesT&& value) {
43 SetTables(std::forward<TablesT>(value));
44 return *this;
45 }
46 template <typename TablesT = TableSummary>
47 ListTablesResult& AddTables(TablesT&& value) {
48 m_tablesHasBeenSet = true;
49 m_tables.emplace_back(std::forward<TablesT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetContinuationToken() const { return m_continuationToken; }
60 template <typename ContinuationTokenT = Aws::String>
61 void SetContinuationToken(ContinuationTokenT&& value) {
62 m_continuationTokenHasBeenSet = true;
63 m_continuationToken = std::forward<ContinuationTokenT>(value);
64 }
65 template <typename ContinuationTokenT = Aws::String>
66 ListTablesResult& WithContinuationToken(ContinuationTokenT&& value) {
67 SetContinuationToken(std::forward<ContinuationTokenT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 ListTablesResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 private:
88
89 Aws::String m_continuationToken;
90
91 Aws::String m_requestId;
92 bool m_tablesHasBeenSet = false;
93 bool m_continuationTokenHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace S3Tables
99} // namespace Aws
const Aws::String & GetContinuationToken() const
void SetContinuationToken(ContinuationTokenT &&value)
AWS_S3TABLES_API ListTablesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< TableSummary > & GetTables() const
ListTablesResult & WithTables(TablesT &&value)
AWS_S3TABLES_API ListTablesResult()=default
AWS_S3TABLES_API ListTablesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListTablesResult & AddTables(TablesT &&value)
ListTablesResult & WithContinuationToken(ContinuationTokenT &&value)
const Aws::String & GetRequestId() const
ListTablesResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue