/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The details of a Crawler node present in the workflow.

See * Also:

AWS * API Reference

*/ class CrawlerNodeDetails { public: AWS_GLUE_API CrawlerNodeDetails(); AWS_GLUE_API CrawlerNodeDetails(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API CrawlerNodeDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of crawls represented by the crawl node.

*/ inline const Aws::Vector& GetCrawls() const{ return m_crawls; } /** *

A list of crawls represented by the crawl node.

*/ inline bool CrawlsHasBeenSet() const { return m_crawlsHasBeenSet; } /** *

A list of crawls represented by the crawl node.

*/ inline void SetCrawls(const Aws::Vector& value) { m_crawlsHasBeenSet = true; m_crawls = value; } /** *

A list of crawls represented by the crawl node.

*/ inline void SetCrawls(Aws::Vector&& value) { m_crawlsHasBeenSet = true; m_crawls = std::move(value); } /** *

A list of crawls represented by the crawl node.

*/ inline CrawlerNodeDetails& WithCrawls(const Aws::Vector& value) { SetCrawls(value); return *this;} /** *

A list of crawls represented by the crawl node.

*/ inline CrawlerNodeDetails& WithCrawls(Aws::Vector&& value) { SetCrawls(std::move(value)); return *this;} /** *

A list of crawls represented by the crawl node.

*/ inline CrawlerNodeDetails& AddCrawls(const Crawl& value) { m_crawlsHasBeenSet = true; m_crawls.push_back(value); return *this; } /** *

A list of crawls represented by the crawl node.

*/ inline CrawlerNodeDetails& AddCrawls(Crawl&& value) { m_crawlsHasBeenSet = true; m_crawls.push_back(std::move(value)); return *this; } private: Aws::Vector m_crawls; bool m_crawlsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws