AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchDeleteConnectionRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API BatchDeleteConnectionRequest() = default;
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.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteConnection"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 template<typename CatalogIdT = Aws::String>
46 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
47 template<typename CatalogIdT = Aws::String>
48 BatchDeleteConnectionRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetConnectionNameList() const { return m_connectionNameList; }
56 inline bool ConnectionNameListHasBeenSet() const { return m_connectionNameListHasBeenSet; }
57 template<typename ConnectionNameListT = Aws::Vector<Aws::String>>
58 void SetConnectionNameList(ConnectionNameListT&& value) { m_connectionNameListHasBeenSet = true; m_connectionNameList = std::forward<ConnectionNameListT>(value); }
59 template<typename ConnectionNameListT = Aws::Vector<Aws::String>>
60 BatchDeleteConnectionRequest& WithConnectionNameList(ConnectionNameListT&& value) { SetConnectionNameList(std::forward<ConnectionNameListT>(value)); return *this;}
61 template<typename ConnectionNameListT = Aws::String>
62 BatchDeleteConnectionRequest& AddConnectionNameList(ConnectionNameListT&& value) { m_connectionNameListHasBeenSet = true; m_connectionNameList.emplace_back(std::forward<ConnectionNameListT>(value)); return *this; }
64 private:
65
66 Aws::String m_catalogId;
67 bool m_catalogIdHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_connectionNameList;
70 bool m_connectionNameListHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
AWS_GLUE_API BatchDeleteConnectionRequest()=default
BatchDeleteConnectionRequest & AddConnectionNameList(ConnectionNameListT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetConnectionNameList() const
BatchDeleteConnectionRequest & WithConnectionNameList(ConnectionNameListT &&value)
BatchDeleteConnectionRequest & WithCatalogId(CatalogIdT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector