/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class BatchGetCrawlersRequest : public GlueRequest { public: AWS_GLUE_API BatchGetCrawlersRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchGetCrawlers"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline const Aws::Vector& GetCrawlerNames() const{ return m_crawlerNames; } /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline bool CrawlerNamesHasBeenSet() const { return m_crawlerNamesHasBeenSet; } /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline void SetCrawlerNames(const Aws::Vector& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames = value; } /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline void SetCrawlerNames(Aws::Vector&& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames = std::move(value); } /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline BatchGetCrawlersRequest& WithCrawlerNames(const Aws::Vector& value) { SetCrawlerNames(value); return *this;} /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline BatchGetCrawlersRequest& WithCrawlerNames(Aws::Vector&& value) { SetCrawlerNames(std::move(value)); return *this;} /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline BatchGetCrawlersRequest& AddCrawlerNames(const Aws::String& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames.push_back(value); return *this; } /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline BatchGetCrawlersRequest& AddCrawlerNames(Aws::String&& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames.push_back(std::move(value)); return *this; } /** *

A list of crawler names, which might be the names returned from the * ListCrawlers operation.

*/ inline BatchGetCrawlersRequest& AddCrawlerNames(const char* value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames.push_back(value); return *this; } private: Aws::Vector m_crawlerNames; bool m_crawlerNamesHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws