AWS SDK for C++  1.9.125
AWS SDK for C++
SearchTablesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Glue
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
45 
49  inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
50 
54  inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
55 
59  inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
60 
64  inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
65 
69  inline SearchTablesRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
70 
74  inline SearchTablesRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
75 
79  inline SearchTablesRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
80 
81 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
90  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 
95  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 
100  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 
105  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
106 
110  inline SearchTablesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
115  inline SearchTablesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
116 
120  inline SearchTablesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122 
137  inline const Aws::Vector<PropertyPredicate>& GetFilters() const{ return m_filters; }
138 
153  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
154 
169  inline void SetFilters(const Aws::Vector<PropertyPredicate>& value) { m_filtersHasBeenSet = true; m_filters = value; }
170 
185  inline void SetFilters(Aws::Vector<PropertyPredicate>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
186 
201  inline SearchTablesRequest& WithFilters(const Aws::Vector<PropertyPredicate>& value) { SetFilters(value); return *this;}
202 
217  inline SearchTablesRequest& WithFilters(Aws::Vector<PropertyPredicate>&& value) { SetFilters(std::move(value)); return *this;}
218 
233  inline SearchTablesRequest& AddFilters(const PropertyPredicate& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
234 
249  inline SearchTablesRequest& AddFilters(PropertyPredicate&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
250 
251 
256  inline const Aws::String& GetSearchText() const{ return m_searchText; }
257 
262  inline bool SearchTextHasBeenSet() const { return m_searchTextHasBeenSet; }
263 
268  inline void SetSearchText(const Aws::String& value) { m_searchTextHasBeenSet = true; m_searchText = value; }
269 
274  inline void SetSearchText(Aws::String&& value) { m_searchTextHasBeenSet = true; m_searchText = std::move(value); }
275 
280  inline void SetSearchText(const char* value) { m_searchTextHasBeenSet = true; m_searchText.assign(value); }
281 
286  inline SearchTablesRequest& WithSearchText(const Aws::String& value) { SetSearchText(value); return *this;}
287 
292  inline SearchTablesRequest& WithSearchText(Aws::String&& value) { SetSearchText(std::move(value)); return *this;}
293 
298  inline SearchTablesRequest& WithSearchText(const char* value) { SetSearchText(value); return *this;}
299 
300 
305  inline const Aws::Vector<SortCriterion>& GetSortCriteria() const{ return m_sortCriteria; }
306 
311  inline bool SortCriteriaHasBeenSet() const { return m_sortCriteriaHasBeenSet; }
312 
317  inline void SetSortCriteria(const Aws::Vector<SortCriterion>& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = value; }
318 
323  inline void SetSortCriteria(Aws::Vector<SortCriterion>&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria = std::move(value); }
324 
329  inline SearchTablesRequest& WithSortCriteria(const Aws::Vector<SortCriterion>& value) { SetSortCriteria(value); return *this;}
330 
335  inline SearchTablesRequest& WithSortCriteria(Aws::Vector<SortCriterion>&& value) { SetSortCriteria(std::move(value)); return *this;}
336 
341  inline SearchTablesRequest& AddSortCriteria(const SortCriterion& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria.push_back(value); return *this; }
342 
347  inline SearchTablesRequest& AddSortCriteria(SortCriterion&& value) { m_sortCriteriaHasBeenSet = true; m_sortCriteria.push_back(std::move(value)); return *this; }
348 
349 
353  inline int GetMaxResults() const{ return m_maxResults; }
354 
358  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
359 
363  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
364 
368  inline SearchTablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
369 
370 
379  inline const ResourceShareType& GetResourceShareType() const{ return m_resourceShareType; }
380 
389  inline bool ResourceShareTypeHasBeenSet() const { return m_resourceShareTypeHasBeenSet; }
390 
399  inline void SetResourceShareType(const ResourceShareType& value) { m_resourceShareTypeHasBeenSet = true; m_resourceShareType = value; }
400 
409  inline void SetResourceShareType(ResourceShareType&& value) { m_resourceShareTypeHasBeenSet = true; m_resourceShareType = std::move(value); }
410 
419  inline SearchTablesRequest& WithResourceShareType(const ResourceShareType& value) { SetResourceShareType(value); return *this;}
420 
429  inline SearchTablesRequest& WithResourceShareType(ResourceShareType&& value) { SetResourceShareType(std::move(value)); return *this;}
430 
431  private:
432 
433  Aws::String m_catalogId;
434  bool m_catalogIdHasBeenSet;
435 
436  Aws::String m_nextToken;
437  bool m_nextTokenHasBeenSet;
438 
440  bool m_filtersHasBeenSet;
441 
442  Aws::String m_searchText;
443  bool m_searchTextHasBeenSet;
444 
445  Aws::Vector<SortCriterion> m_sortCriteria;
446  bool m_sortCriteriaHasBeenSet;
447 
448  int m_maxResults;
449  bool m_maxResultsHasBeenSet;
450 
451  ResourceShareType m_resourceShareType;
452  bool m_resourceShareTypeHasBeenSet;
453  };
454 
455 } // namespace Model
456 } // namespace Glue
457 } // namespace Aws
Aws::Glue::Model::SearchTablesRequest::WithSortCriteria
SearchTablesRequest & WithSortCriteria(const Aws::Vector< SortCriterion > &value)
Definition: SearchTablesRequest.h:329
Aws::Glue::Model::SearchTablesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::SearchTablesRequest::GetResourceShareType
const ResourceShareType & GetResourceShareType() const
Definition: SearchTablesRequest.h:379
Aws::Glue::Model::SearchTablesRequest::WithResourceShareType
SearchTablesRequest & WithResourceShareType(const ResourceShareType &value)
Definition: SearchTablesRequest.h:419
Aws::Glue::Model::SearchTablesRequest::WithNextToken
SearchTablesRequest & WithNextToken(const char *value)
Definition: SearchTablesRequest.h:120
Aws::Glue::Model::SortCriterion
Definition: SortCriterion.h:33
Aws::Glue::Model::SearchTablesRequest::WithMaxResults
SearchTablesRequest & WithMaxResults(int value)
Definition: SearchTablesRequest.h:368
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::SearchTablesRequest::SetSearchText
void SetSearchText(const char *value)
Definition: SearchTablesRequest.h:280
Aws::Glue::Model::SearchTablesRequest::SearchTablesRequest
SearchTablesRequest()
ResourceShareType.h
Glue_EXPORTS.h
Aws::Glue::Model::SearchTablesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: SearchTablesRequest.h:153
Aws::Glue::Model::SearchTablesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchTablesRequest.h:34
Aws::Glue::Model::SearchTablesRequest::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: SearchTablesRequest.h:49
Aws::Glue::Model::SearchTablesRequest::AddFilters
SearchTablesRequest & AddFilters(PropertyPredicate &&value)
Definition: SearchTablesRequest.h:249
Aws::Glue::Model::SearchTablesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchTablesRequest.h:363
Aws::Glue::Model::SearchTablesRequest::SearchTextHasBeenSet
bool SearchTextHasBeenSet() const
Definition: SearchTablesRequest.h:262
Aws::Glue::Model::SearchTablesRequest::GetFilters
const Aws::Vector< PropertyPredicate > & GetFilters() const
Definition: SearchTablesRequest.h:137
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Glue::Model::SearchTablesRequest::WithSearchText
SearchTablesRequest & WithSearchText(const char *value)
Definition: SearchTablesRequest.h:298
Aws::Glue::Model::SearchTablesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchTablesRequest.h:95
Aws::Glue::Model::SearchTablesRequest
Definition: SearchTablesRequest.h:26
AWSVector.h
Aws::Glue::Model::SearchTablesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchTablesRequest.h:100
Aws::Glue::Model::SearchTablesRequest::AddSortCriteria
SearchTablesRequest & AddSortCriteria(SortCriterion &&value)
Definition: SearchTablesRequest.h:347
Aws::Glue::Model::SearchTablesRequest::WithCatalogId
SearchTablesRequest & WithCatalogId(Aws::String &&value)
Definition: SearchTablesRequest.h:74
Aws::Glue::Model::ResourceShareType
ResourceShareType
Definition: ResourceShareType.h:17
Aws::Glue::Model::SearchTablesRequest::AddFilters
SearchTablesRequest & AddFilters(const PropertyPredicate &value)
Definition: SearchTablesRequest.h:233
Aws::Glue::Model::SearchTablesRequest::SetSearchText
void SetSearchText(Aws::String &&value)
Definition: SearchTablesRequest.h:274
Aws::Glue::Model::SearchTablesRequest::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: SearchTablesRequest.h:59
Aws::Glue::Model::SearchTablesRequest::SetCatalogId
void SetCatalogId(const char *value)
Definition: SearchTablesRequest.h:64
Aws::Glue::Model::SearchTablesRequest::SetSortCriteria
void SetSortCriteria(const Aws::Vector< SortCriterion > &value)
Definition: SearchTablesRequest.h:317
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::SearchTablesRequest::SetResourceShareType
void SetResourceShareType(const ResourceShareType &value)
Definition: SearchTablesRequest.h:399
Aws::Glue::Model::SearchTablesRequest::GetSortCriteria
const Aws::Vector< SortCriterion > & GetSortCriteria() const
Definition: SearchTablesRequest.h:305
Aws::Glue::Model::SearchTablesRequest::WithNextToken
SearchTablesRequest & WithNextToken(Aws::String &&value)
Definition: SearchTablesRequest.h:115
AWSString.h
Aws::Glue::Model::SearchTablesRequest::GetSearchText
const Aws::String & GetSearchText() const
Definition: SearchTablesRequest.h:256
Aws::Glue::Model::SearchTablesRequest::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: SearchTablesRequest.h:54
Aws::Glue::Model::SearchTablesRequest::ResourceShareTypeHasBeenSet
bool ResourceShareTypeHasBeenSet() const
Definition: SearchTablesRequest.h:389
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::SearchTablesRequest::WithCatalogId
SearchTablesRequest & WithCatalogId(const Aws::String &value)
Definition: SearchTablesRequest.h:69
Aws::Glue::Model::SearchTablesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchTablesRequest.h:358
Aws::Glue::Model::SearchTablesRequest::SetFilters
void SetFilters(const Aws::Vector< PropertyPredicate > &value)
Definition: SearchTablesRequest.h:169
SortCriterion.h
Aws::Glue::Model::SearchTablesRequest::SetResourceShareType
void SetResourceShareType(ResourceShareType &&value)
Definition: SearchTablesRequest.h:409
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::SearchTablesRequest::WithResourceShareType
SearchTablesRequest & WithResourceShareType(ResourceShareType &&value)
Definition: SearchTablesRequest.h:429
Aws::Glue::Model::SearchTablesRequest::SetFilters
void SetFilters(Aws::Vector< PropertyPredicate > &&value)
Definition: SearchTablesRequest.h:185
Aws::Glue::Model::SearchTablesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::SearchTablesRequest::WithCatalogId
SearchTablesRequest & WithCatalogId(const char *value)
Definition: SearchTablesRequest.h:79
Aws::Glue::Model::SearchTablesRequest::WithNextToken
SearchTablesRequest & WithNextToken(const Aws::String &value)
Definition: SearchTablesRequest.h:110
Aws::Glue::Model::SearchTablesRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchTablesRequest.h:353
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::SearchTablesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchTablesRequest.h:90
Aws::Glue::Model::SearchTablesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchTablesRequest.h:105
Aws::Glue::Model::SearchTablesRequest::SortCriteriaHasBeenSet
bool SortCriteriaHasBeenSet() const
Definition: SearchTablesRequest.h:311
Aws::Glue::Model::SearchTablesRequest::WithSearchText
SearchTablesRequest & WithSearchText(const Aws::String &value)
Definition: SearchTablesRequest.h:286
Aws::Glue::Model::SearchTablesRequest::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: SearchTablesRequest.h:44
Aws::Glue::Model::SearchTablesRequest::WithSearchText
SearchTablesRequest & WithSearchText(Aws::String &&value)
Definition: SearchTablesRequest.h:292
Aws::Glue::Model::SearchTablesRequest::AddSortCriteria
SearchTablesRequest & AddSortCriteria(const SortCriterion &value)
Definition: SearchTablesRequest.h:341
Aws::Glue::Model::SearchTablesRequest::WithSortCriteria
SearchTablesRequest & WithSortCriteria(Aws::Vector< SortCriterion > &&value)
Definition: SearchTablesRequest.h:335
Aws::Glue::Model::PropertyPredicate
Definition: PropertyPredicate.h:33
Aws::Glue::Model::SearchTablesRequest::WithFilters
SearchTablesRequest & WithFilters(Aws::Vector< PropertyPredicate > &&value)
Definition: SearchTablesRequest.h:217
Aws::Glue::Model::SearchTablesRequest::SetSortCriteria
void SetSortCriteria(Aws::Vector< SortCriterion > &&value)
Definition: SearchTablesRequest.h:323
Aws::Glue::Model::SearchTablesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchTablesRequest.h:85
PropertyPredicate.h
GlueRequest.h
Aws::Glue::Model::SearchTablesRequest::SetSearchText
void SetSearchText(const Aws::String &value)
Definition: SearchTablesRequest.h:268
Aws::Glue::Model::SearchTablesRequest::WithFilters
SearchTablesRequest & WithFilters(const Aws::Vector< PropertyPredicate > &value)
Definition: SearchTablesRequest.h:201