AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
SearchTablesResult.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/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/Table.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 Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API SearchTablesResult() = default;
30
32
36 inline const Aws::String& GetNextToken() const { return m_nextToken; }
37 template <typename NextTokenT = Aws::String>
38 void SetNextToken(NextTokenT&& value) {
39 m_nextTokenHasBeenSet = true;
40 m_nextToken = std::forward<NextTokenT>(value);
41 }
42 template <typename NextTokenT = Aws::String>
43 SearchTablesResult& WithNextToken(NextTokenT&& value) {
44 SetNextToken(std::forward<NextTokenT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::Vector<Table>& GetTableList() const { return m_tableList; }
56 template <typename TableListT = Aws::Vector<Table>>
57 void SetTableList(TableListT&& value) {
58 m_tableListHasBeenSet = true;
59 m_tableList = std::forward<TableListT>(value);
60 }
61 template <typename TableListT = Aws::Vector<Table>>
62 SearchTablesResult& WithTableList(TableListT&& value) {
63 SetTableList(std::forward<TableListT>(value));
64 return *this;
65 }
66 template <typename TableListT = Table>
67 SearchTablesResult& AddTableList(TableListT&& value) {
68 m_tableListHasBeenSet = true;
69 m_tableList.emplace_back(std::forward<TableListT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
83 SearchTablesResult& WithRequestId(RequestIdT&& value) {
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_nextToken;
90 bool m_nextTokenHasBeenSet = false;
91
92 Aws::Vector<Table> m_tableList;
93 bool m_tableListHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
AWS_GLUE_API SearchTablesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchTablesResult & WithTableList(TableListT &&value)
const Aws::Vector< Table > & GetTableList() const
const Aws::String & GetRequestId() const
AWS_GLUE_API SearchTablesResult()=default
SearchTablesResult & WithRequestId(RequestIdT &&value)
SearchTablesResult & AddTableList(TableListT &&value)
AWS_GLUE_API SearchTablesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
SearchTablesResult & WithNextToken(NextTokenT &&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