AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
48 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
49 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
50 inline SearchTablesRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
51 inline SearchTablesRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
52 inline SearchTablesRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
54
56
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
63 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
64 inline SearchTablesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 inline SearchTablesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 inline SearchTablesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
68
70
84 inline const Aws::Vector<PropertyPredicate>& GetFilters() const{ return m_filters; }
85 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
86 inline void SetFilters(const Aws::Vector<PropertyPredicate>& value) { m_filtersHasBeenSet = true; m_filters = value; }
87 inline void SetFilters(Aws::Vector<PropertyPredicate>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
88 inline SearchTablesRequest& WithFilters(const Aws::Vector<PropertyPredicate>& value) { SetFilters(value); return *this;}
89 inline SearchTablesRequest& WithFilters(Aws::Vector<PropertyPredicate>&& value) { SetFilters(std::move(value)); return *this;}
90 inline SearchTablesRequest& AddFilters(const PropertyPredicate& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
91 inline SearchTablesRequest& AddFilters(PropertyPredicate&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
93
95
99 inline const Aws::String& GetSearchText() const{ return m_searchText; }
100 inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
101 inline void SetSearchText(const Aws::String& value) { m_searchTextHasBeenSet = true; m_searchText = value; }
102 inline void SetSearchText(Aws::String&& value) { m_searchTextHasBeenSet = true; m_searchText = std::move(value); }
103 inline void SetSearchText(const char* value) { m_searchTextHasBeenSet = true; m_searchText.assign(value); }
104 inline SearchTablesRequest& WithSearchText(const Aws::String& value) { SetSearchText(value); return *this;}
105 inline SearchTablesRequest& WithSearchText(Aws::String&& value) { SetSearchText(std::move(value)); return *this;}
106 inline SearchTablesRequest& WithSearchText(const char* value) { SetSearchText(value); return *this;}
108
110
114 inline const Aws::Vector<SortCriterion>& GetSortCriteria() const{ return m_sortCriteria; }
115 inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
116 inline void SetSortCriteria(const Aws::Vector<SortCriterion>& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
117 inline void SetSortCriteria(Aws::Vector<SortCriterion>&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
119 inline SearchTablesRequest& WithSortCriteria(Aws::Vector<SortCriterion>&& value) { SetSortCriteria(std::move(value)); return *this;}
120 inline SearchTablesRequest& AddSortCriteria(const SortCriterion& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria.push_back(value); return *this; }
121 inline SearchTablesRequest& AddSortCriteria(SortCriterion&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria.push_back(std::move(value)); return *this; }
123
125
128 inline int GetMaxResults() const{ return m_maxResults; }
129 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
130 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
131 inline SearchTablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
133
135
143 inline const ResourceShareType& GetResourceShareType() const{ return m_resourceShareType; }
144 inline bool ResourceShareTypeHasBeenSet() const { return m_resourceShareTypeHasBeenSet; }
145 inline void SetResourceShareType(const ResourceShareType& value) { m_resourceShareTypeHasBeenSet = true; m_resourceShareType = value; }
146 inline void SetResourceShareType(ResourceShareType&& value) { m_resourceShareTypeHasBeenSet = true; m_resourceShareType = std::move(value); }
148 inline SearchTablesRequest& WithResourceShareType(ResourceShareType&& value) { SetResourceShareType(std::move(value)); return *this;}
150
152
156 inline bool GetIncludeStatusDetails() const{ return m_includeStatusDetails; }
157 inline bool IncludeStatusDetailsHasBeenSet() const { return m_includeStatusDetailsHasBeenSet; }
158 inline void SetIncludeStatusDetails(bool value) { m_includeStatusDetailsHasBeenSet = true; m_includeStatusDetails = value; }
159 inline SearchTablesRequest& WithIncludeStatusDetails(bool value) { SetIncludeStatusDetails(value); return *this;}
161 private:
162
163 Aws::String m_catalogId;
164 bool m_catalogIdHasBeenSet = false;
165
166 Aws::String m_nextToken;
167 bool m_nextTokenHasBeenSet = false;
168
170 bool m_filtersHasBeenSet = false;
171
172 Aws::String m_searchText;
173 bool m_searchTextHasBeenSet = false;
174
175 Aws::Vector<SortCriterion> m_sortCriteria;
176 bool m_sortCriteriaHasBeenSet = false;
177
178 int m_maxResults;
179 bool m_maxResultsHasBeenSet = false;
180
181 ResourceShareType m_resourceShareType;
182 bool m_resourceShareTypeHasBeenSet = false;
183
184 bool m_includeStatusDetails;
185 bool m_includeStatusDetailsHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Glue
190} // namespace Aws
void SetSortCriteria(Aws::Vector< SortCriterion > &&value)
SearchTablesRequest & WithFilters(const Aws::Vector< PropertyPredicate > &value)
virtual const char * GetServiceRequestName() const override
SearchTablesRequest & WithSortCriteria(const Aws::Vector< SortCriterion > &value)
SearchTablesRequest & WithNextToken(Aws::String &&value)
SearchTablesRequest & WithFilters(Aws::Vector< PropertyPredicate > &&value)
void SetFilters(Aws::Vector< PropertyPredicate > &&value)
void SetSearchText(const Aws::String &value)
SearchTablesRequest & WithCatalogId(const char *value)
SearchTablesRequest & WithSearchText(Aws::String &&value)
SearchTablesRequest & WithCatalogId(Aws::String &&value)
const Aws::Vector< PropertyPredicate > & GetFilters() const
SearchTablesRequest & WithSearchText(const Aws::String &value)
SearchTablesRequest & WithMaxResults(int value)
SearchTablesRequest & AddSortCriteria(SortCriterion &&value)
const Aws::String & GetCatalogId() const
SearchTablesRequest & WithResourceShareType(ResourceShareType &&value)
void SetFilters(const Aws::Vector< PropertyPredicate > &value)
void SetResourceShareType(const ResourceShareType &value)
SearchTablesRequest & WithResourceShareType(const ResourceShareType &value)
const Aws::Vector< SortCriterion > & GetSortCriteria() const
SearchTablesRequest & AddSortCriteria(const SortCriterion &value)
SearchTablesRequest & WithCatalogId(const Aws::String &value)
const Aws::String & GetSearchText() const
void SetSortCriteria(const Aws::Vector< SortCriterion > &value)
void SetNextToken(const Aws::String &value)
const ResourceShareType & GetResourceShareType() const
SearchTablesRequest & AddFilters(const PropertyPredicate &value)
SearchTablesRequest & WithSearchText(const char *value)
const Aws::String & GetNextToken() const
SearchTablesRequest & WithIncludeStatusDetails(bool value)
SearchTablesRequest & WithSortCriteria(Aws::Vector< SortCriterion > &&value)
SearchTablesRequest & WithNextToken(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
SearchTablesRequest & WithNextToken(const char *value)
void SetResourceShareType(ResourceShareType &&value)
SearchTablesRequest & AddFilters(PropertyPredicate &&value)
void SetCatalogId(const Aws::String &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