AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CrawlerNodeDetails.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/Crawl.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API CrawlerNodeDetails() = default;
40
41
43
46 inline const Aws::Vector<Crawl>& GetCrawls() const { return m_crawls; }
47 inline bool CrawlsHasBeenSet() const { return m_crawlsHasBeenSet; }
48 template<typename CrawlsT = Aws::Vector<Crawl>>
49 void SetCrawls(CrawlsT&& value) { m_crawlsHasBeenSet = true; m_crawls = std::forward<CrawlsT>(value); }
50 template<typename CrawlsT = Aws::Vector<Crawl>>
51 CrawlerNodeDetails& WithCrawls(CrawlsT&& value) { SetCrawls(std::forward<CrawlsT>(value)); return *this;}
52 template<typename CrawlsT = Crawl>
53 CrawlerNodeDetails& AddCrawls(CrawlsT&& value) { m_crawlsHasBeenSet = true; m_crawls.emplace_back(std::forward<CrawlsT>(value)); return *this; }
55 private:
56
57 Aws::Vector<Crawl> m_crawls;
58 bool m_crawlsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Glue
63} // 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