AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetCrawlerMetricsRequest.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/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetCrawlerMetricsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetCrawlerMetrics"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::Vector<Aws::String>& GetCrawlerNameList() const { return m_crawlerNameList; }
39 inline bool CrawlerNameListHasBeenSet() const { return m_crawlerNameListHasBeenSet; }
40 template <typename CrawlerNameListT = Aws::Vector<Aws::String>>
41 void SetCrawlerNameList(CrawlerNameListT&& value) {
42 m_crawlerNameListHasBeenSet = true;
43 m_crawlerNameList = std::forward<CrawlerNameListT>(value);
44 }
45 template <typename CrawlerNameListT = Aws::Vector<Aws::String>>
46 GetCrawlerMetricsRequest& WithCrawlerNameList(CrawlerNameListT&& value) {
47 SetCrawlerNameList(std::forward<CrawlerNameListT>(value));
48 return *this;
49 }
50 template <typename CrawlerNameListT = Aws::String>
51 GetCrawlerMetricsRequest& AddCrawlerNameList(CrawlerNameListT&& value) {
52 m_crawlerNameListHasBeenSet = true;
53 m_crawlerNameList.emplace_back(std::forward<CrawlerNameListT>(value));
54 return *this;
55 }
57
59
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) {
65 m_maxResultsHasBeenSet = true;
66 m_maxResults = value;
67 }
69 SetMaxResults(value);
70 return *this;
71 }
73
75
78 inline const Aws::String& GetNextToken() const { return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 template <typename NextTokenT = Aws::String>
81 void SetNextToken(NextTokenT&& value) {
82 m_nextTokenHasBeenSet = true;
83 m_nextToken = std::forward<NextTokenT>(value);
84 }
85 template <typename NextTokenT = Aws::String>
87 SetNextToken(std::forward<NextTokenT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<Aws::String> m_crawlerNameList;
93 bool m_crawlerNameListHasBeenSet = false;
94
95 int m_maxResults{0};
96 bool m_maxResultsHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetCrawlerMetricsRequest & WithMaxResults(int value)
const Aws::Vector< Aws::String > & GetCrawlerNameList() const
AWS_GLUE_API GetCrawlerMetricsRequest()=default
GetCrawlerMetricsRequest & AddCrawlerNameList(CrawlerNameListT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
GetCrawlerMetricsRequest & WithCrawlerNameList(CrawlerNameListT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetCrawlerMetricsRequest & WithNextToken(NextTokenT &&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