AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListCrawlsRequest.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/CrawlsFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUE_API ListCrawlsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListCrawls"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetCrawlerName() const{ return m_crawlerName; }
44 inline bool CrawlerNameHasBeenSet() const { return m_crawlerNameHasBeenSet; }
45 inline void SetCrawlerName(const Aws::String& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = value; }
46 inline void SetCrawlerName(Aws::String&& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = std::move(value); }
47 inline void SetCrawlerName(const char* value) { m_crawlerNameHasBeenSet = true; m_crawlerName.assign(value); }
48 inline ListCrawlsRequest& WithCrawlerName(const Aws::String& value) { SetCrawlerName(value); return *this;}
49 inline ListCrawlsRequest& WithCrawlerName(Aws::String&& value) { SetCrawlerName(std::move(value)); return *this;}
50 inline ListCrawlsRequest& WithCrawlerName(const char* value) { SetCrawlerName(value); return *this;}
52
54
58 inline int GetMaxResults() const{ return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListCrawlsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
69 inline const Aws::Vector<CrawlsFilter>& GetFilters() const{ return m_filters; }
70 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
71 inline void SetFilters(const Aws::Vector<CrawlsFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
72 inline void SetFilters(Aws::Vector<CrawlsFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
73 inline ListCrawlsRequest& WithFilters(const Aws::Vector<CrawlsFilter>& value) { SetFilters(value); return *this;}
74 inline ListCrawlsRequest& WithFilters(Aws::Vector<CrawlsFilter>&& value) { SetFilters(std::move(value)); return *this;}
75 inline ListCrawlsRequest& AddFilters(const CrawlsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
76 inline ListCrawlsRequest& AddFilters(CrawlsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
78
80
83 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
86 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 inline ListCrawlsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
89 inline ListCrawlsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 inline ListCrawlsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 private:
93
94 Aws::String m_crawlerName;
95 bool m_crawlerNameHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
101 bool m_filtersHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
ListCrawlsRequest & WithCrawlerName(const char *value)
ListCrawlsRequest & WithNextToken(const char *value)
ListCrawlsRequest & WithCrawlerName(const Aws::String &value)
void SetCrawlerName(Aws::String &&value)
ListCrawlsRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< CrawlsFilter > & GetFilters() const
void SetCrawlerName(const char *value)
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::String SerializePayload() const override
void SetNextToken(Aws::String &&value)
ListCrawlsRequest & WithFilters(Aws::Vector< CrawlsFilter > &&value)
void SetFilters(Aws::Vector< CrawlsFilter > &&value)
ListCrawlsRequest & WithFilters(const Aws::Vector< CrawlsFilter > &value)
ListCrawlsRequest & AddFilters(const CrawlsFilter &value)
ListCrawlsRequest & AddFilters(CrawlsFilter &&value)
void SetCrawlerName(const Aws::String &value)
ListCrawlsRequest & WithCrawlerName(Aws::String &&value)
ListCrawlsRequest & WithMaxResults(int value)
const Aws::String & GetCrawlerName() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetNextToken() const
ListCrawlsRequest & WithNextToken(const Aws::String &value)
void SetFilters(const Aws::Vector< CrawlsFilter > &value)
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