AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CrawlerNodeDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/Crawl.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API CrawlerNodeDetails() = default;
35
37
40 inline const Aws::Vector<Crawl>& GetCrawls() const { return m_crawls; }
41 inline bool CrawlsHasBeenSet() const { return m_crawlsHasBeenSet; }
42 template <typename CrawlsT = Aws::Vector<Crawl>>
43 void SetCrawls(CrawlsT&& value) {
44 m_crawlsHasBeenSet = true;
45 m_crawls = std::forward<CrawlsT>(value);
46 }
47 template <typename CrawlsT = Aws::Vector<Crawl>>
48 CrawlerNodeDetails& WithCrawls(CrawlsT&& value) {
49 SetCrawls(std::forward<CrawlsT>(value));
50 return *this;
51 }
52 template <typename CrawlsT = Crawl>
53 CrawlerNodeDetails& AddCrawls(CrawlsT&& value) {
54 m_crawlsHasBeenSet = true;
55 m_crawls.emplace_back(std::forward<CrawlsT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Crawl> m_crawls;
61 bool m_crawlsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Glue
66} // namespace Aws
AWS_GLUE_API CrawlerNodeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Crawl > & GetCrawls() const
AWS_GLUE_API CrawlerNodeDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API CrawlerNodeDetails()=default
CrawlerNodeDetails & AddCrawls(CrawlsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CrawlerNodeDetails & WithCrawls(CrawlsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue