1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/glue/Glue_EXPORTS.h>
8 #include <aws/glue/GlueRequest.h>
9 #include <aws/core/utils/memory/stl/AWSVector.h>
10 #include <aws/core/utils/memory/stl/AWSString.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Glue
16 {
17 namespace Model
18 {
19 
20   /**
21    */
22   class AWS_GLUE_API BatchGetCrawlersRequest : public GlueRequest
23   {
24   public:
25     BatchGetCrawlersRequest();
26 
27     // Service request name is the Operation name which will send this request out,
28     // each operation should has unique request name, so that we can get operation's name from this request.
29     // Note: this is not true for response, multiple operations may have the same response name,
30     // so we can not get operation's name from response.
GetServiceRequestName()31     inline virtual const char* GetServiceRequestName() const override { return "BatchGetCrawlers"; }
32 
33     Aws::String SerializePayload() const override;
34 
35     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
38     /**
39      * <p>A list of crawler names, which might be the names returned from the
40      * <code>ListCrawlers</code> operation.</p>
41      */
GetCrawlerNames()42     inline const Aws::Vector<Aws::String>& GetCrawlerNames() const{ return m_crawlerNames; }
43 
44     /**
45      * <p>A list of crawler names, which might be the names returned from the
46      * <code>ListCrawlers</code> operation.</p>
47      */
CrawlerNamesHasBeenSet()48     inline bool CrawlerNamesHasBeenSet() const { return m_crawlerNamesHasBeenSet; }
49 
50     /**
51      * <p>A list of crawler names, which might be the names returned from the
52      * <code>ListCrawlers</code> operation.</p>
53      */
SetCrawlerNames(const Aws::Vector<Aws::String> & value)54     inline void SetCrawlerNames(const Aws::Vector<Aws::String>& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames = value; }
55 
56     /**
57      * <p>A list of crawler names, which might be the names returned from the
58      * <code>ListCrawlers</code> operation.</p>
59      */
SetCrawlerNames(Aws::Vector<Aws::String> && value)60     inline void SetCrawlerNames(Aws::Vector<Aws::String>&& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames = std::move(value); }
61 
62     /**
63      * <p>A list of crawler names, which might be the names returned from the
64      * <code>ListCrawlers</code> operation.</p>
65      */
WithCrawlerNames(const Aws::Vector<Aws::String> & value)66     inline BatchGetCrawlersRequest& WithCrawlerNames(const Aws::Vector<Aws::String>& value) { SetCrawlerNames(value); return *this;}
67 
68     /**
69      * <p>A list of crawler names, which might be the names returned from the
70      * <code>ListCrawlers</code> operation.</p>
71      */
WithCrawlerNames(Aws::Vector<Aws::String> && value)72     inline BatchGetCrawlersRequest& WithCrawlerNames(Aws::Vector<Aws::String>&& value) { SetCrawlerNames(std::move(value)); return *this;}
73 
74     /**
75      * <p>A list of crawler names, which might be the names returned from the
76      * <code>ListCrawlers</code> operation.</p>
77      */
AddCrawlerNames(const Aws::String & value)78     inline BatchGetCrawlersRequest& AddCrawlerNames(const Aws::String& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames.push_back(value); return *this; }
79 
80     /**
81      * <p>A list of crawler names, which might be the names returned from the
82      * <code>ListCrawlers</code> operation.</p>
83      */
AddCrawlerNames(Aws::String && value)84     inline BatchGetCrawlersRequest& AddCrawlerNames(Aws::String&& value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames.push_back(std::move(value)); return *this; }
85 
86     /**
87      * <p>A list of crawler names, which might be the names returned from the
88      * <code>ListCrawlers</code> operation.</p>
89      */
AddCrawlerNames(const char * value)90     inline BatchGetCrawlersRequest& AddCrawlerNames(const char* value) { m_crawlerNamesHasBeenSet = true; m_crawlerNames.push_back(value); return *this; }
91 
92   private:
93 
94     Aws::Vector<Aws::String> m_crawlerNames;
95     bool m_crawlerNamesHasBeenSet;
96   };
97 
98 } // namespace Model
99 } // namespace Glue
100 } // namespace Aws
101