AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SearchTablesRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/ResourceShareType.h>
12#include <aws/glue/model/PropertyPredicate.h>
13#include <aws/glue/model/SortCriterion.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Glue
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_GLUE_API SearchTablesRequest() = 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 "SearchTables"; }
35
36 AWS_GLUE_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
46 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
47 template<typename CatalogIdT = Aws::String>
48 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
49 template<typename CatalogIdT = Aws::String>
50 SearchTablesRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 template<typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<typename NextTokenT = Aws::String>
62 SearchTablesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
64
66
80 inline const Aws::Vector<PropertyPredicate>& GetFilters() const { return m_filters; }
81 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
82 template<typename FiltersT = Aws::Vector<PropertyPredicate>>
83 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
84 template<typename FiltersT = Aws::Vector<PropertyPredicate>>
85 SearchTablesRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
86 template<typename FiltersT = PropertyPredicate>
87 SearchTablesRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
89
91
95 inline const Aws::String& GetSearchText() const { return m_searchText; }
96 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
97 template<typename SearchTextT = Aws::String>
98 void SetSearchText(SearchTextT&& value) { m_searchTextHasBeenSet = true; m_searchText = std::forward<SearchTextT>(value); }
99 template<typename SearchTextT = Aws::String>
100 SearchTablesRequest& WithSearchText(SearchTextT&& value) { SetSearchText(std::forward<SearchTextT>(value)); return *this;}
102
104
108 inline const Aws::Vector<SortCriterion>& GetSortCriteria() const { return m_sortCriteria; }
109 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
110 template<typename SortCriteriaT = Aws::Vector<SortCriterion>>
111 void SetSortCriteria(SortCriteriaT&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::forward<SortCriteriaT>(value); }
112 template<typename SortCriteriaT = Aws::Vector<SortCriterion>>
113 SearchTablesRequest& WithSortCriteria(SortCriteriaT&& value) { SetSortCriteria(std::forward<SortCriteriaT>(value)); return *this;}
114 template<typename SortCriteriaT = SortCriterion>
115 SearchTablesRequest& AddSortCriteria(SortCriteriaT&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria.emplace_back(std::forward<SortCriteriaT>(value)); return *this; }
117
119
122 inline int GetMaxResults() const { return m_maxResults; }
123 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
124 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
125 inline SearchTablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
127
129
137 inline ResourceShareType GetResourceShareType() const { return m_resourceShareType; }
138 inline bool ResourceShareTypeHasBeenSet() const { return m_resourceShareTypeHasBeenSet; }
139 inline void SetResourceShareType(ResourceShareType value) { m_resourceShareTypeHasBeenSet = true; m_resourceShareType = value; }
142
144
148 inline bool GetIncludeStatusDetails() const { return m_includeStatusDetails; }
149 inline bool IncludeStatusDetailsHasBeenSet() const { return m_includeStatusDetailsHasBeenSet; }
150 inline void SetIncludeStatusDetails(bool value) { m_includeStatusDetailsHasBeenSet = true; m_includeStatusDetails = value; }
151 inline SearchTablesRequest& WithIncludeStatusDetails(bool value) { SetIncludeStatusDetails(value); return *this;}
153 private:
154
155 Aws::String m_catalogId;
156 bool m_catalogIdHasBeenSet = false;
157
158 Aws::String m_nextToken;
159 bool m_nextTokenHasBeenSet = false;
160
162 bool m_filtersHasBeenSet = false;
163
164 Aws::String m_searchText;
165 bool m_searchTextHasBeenSet = false;
166
167 Aws::Vector<SortCriterion> m_sortCriteria;
168 bool m_sortCriteriaHasBeenSet = false;
169
170 int m_maxResults{0};
171 bool m_maxResultsHasBeenSet = false;
172
174 bool m_resourceShareTypeHasBeenSet = false;
175
176 bool m_includeStatusDetails{false};
177 bool m_includeStatusDetailsHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace Glue
182} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::Vector< PropertyPredicate > & GetFilters() const
SearchTablesRequest & WithMaxResults(int value)
SearchTablesRequest & WithSearchText(SearchTextT &&value)
const Aws::String & GetCatalogId() const
void SetSortCriteria(SortCriteriaT &&value)
AWS_GLUE_API SearchTablesRequest()=default
SearchTablesRequest & WithSortCriteria(SortCriteriaT &&value)
SearchTablesRequest & WithFilters(FiltersT &&value)
SearchTablesRequest & AddFilters(FiltersT &&value)
const Aws::Vector< SortCriterion > & GetSortCriteria() const
const Aws::String & GetSearchText() const
SearchTablesRequest & WithNextToken(NextTokenT &&value)
SearchTablesRequest & WithCatalogId(CatalogIdT &&value)
const Aws::String & GetNextToken() const
SearchTablesRequest & WithIncludeStatusDetails(bool value)
ResourceShareType GetResourceShareType() const
AWS_GLUE_API Aws::String SerializePayload() const override
SearchTablesRequest & WithResourceShareType(ResourceShareType value)
SearchTablesRequest & AddSortCriteria(SortCriteriaT &&value)
void SetResourceShareType(ResourceShareType value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector