AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetCrawlerMetricsRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API GetCrawlerMetricsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetCrawlerMetrics"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::Vector<Aws::String>& GetCrawlerNameList() const { return m_crawlerNameList; }
43 inline bool CrawlerNameListHasBeenSet() const { return m_crawlerNameListHasBeenSet; }
44 template<typename CrawlerNameListT = Aws::Vector<Aws::String>>
45 void SetCrawlerNameList(CrawlerNameListT&& value) { m_crawlerNameListHasBeenSet = true; m_crawlerNameList = std::forward<CrawlerNameListT>(value); }
46 template<typename CrawlerNameListT = Aws::Vector<Aws::String>>
47 GetCrawlerMetricsRequest& WithCrawlerNameList(CrawlerNameListT&& value) { SetCrawlerNameList(std::forward<CrawlerNameListT>(value)); return *this;}
48 template<typename CrawlerNameListT = Aws::String>
49 GetCrawlerMetricsRequest& AddCrawlerNameList(CrawlerNameListT&& value) { m_crawlerNameListHasBeenSet = true; m_crawlerNameList.emplace_back(std::forward<CrawlerNameListT>(value)); return *this; }
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline GetCrawlerMetricsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
66 inline const Aws::String& GetNextToken() const { return m_nextToken; }
67 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
68 template<typename NextTokenT = Aws::String>
69 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
70 template<typename NextTokenT = Aws::String>
71 GetCrawlerMetricsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
73 private:
74
75 Aws::Vector<Aws::String> m_crawlerNameList;
76 bool m_crawlerNameListHasBeenSet = false;
77
78 int m_maxResults{0};
79 bool m_maxResultsHasBeenSet = false;
80
81 Aws::String m_nextToken;
82 bool m_nextTokenHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Glue
87} // 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