AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
ListCrawlersResult.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/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
25 public:
26 AWS_GLUE_API ListCrawlersResult() = default;
29
31
35 inline const Aws::Vector<Aws::String>& GetCrawlerNames() const { return m_crawlerNames; }
36 template <typename CrawlerNamesT = Aws::Vector<Aws::String>>
37 void SetCrawlerNames(CrawlerNamesT&& value) {
38 m_crawlerNamesHasBeenSet = true;
39 m_crawlerNames = std::forward<CrawlerNamesT>(value);
40 }
41 template <typename CrawlerNamesT = Aws::Vector<Aws::String>>
42 ListCrawlersResult& WithCrawlerNames(CrawlerNamesT&& value) {
43 SetCrawlerNames(std::forward<CrawlerNamesT>(value));
44 return *this;
45 }
46 template <typename CrawlerNamesT = Aws::String>
47 ListCrawlersResult& AddCrawlerNames(CrawlerNamesT&& value) {
48 m_crawlerNamesHasBeenSet = true;
49 m_crawlerNames.emplace_back(std::forward<CrawlerNamesT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
66 ListCrawlersResult& WithNextToken(NextTokenT&& value) {
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 ListCrawlersResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::Vector<Aws::String> m_crawlerNames;
88 bool m_crawlerNamesHasBeenSet = false;
89
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Glue
99} // namespace Aws
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
ListCrawlersResult & WithRequestId(RequestIdT &&value)
ListCrawlersResult & AddCrawlerNames(CrawlerNamesT &&value)
AWS_GLUE_API ListCrawlersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API ListCrawlersResult()=default
ListCrawlersResult & WithNextToken(NextTokenT &&value)
ListCrawlersResult & WithCrawlerNames(CrawlerNamesT &&value)
const Aws::Vector< Aws::String > & GetCrawlerNames() const
AWS_GLUE_API ListCrawlersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCrawlerNames(CrawlerNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue