AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
46 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
47 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
48 inline BatchDeleteConnectionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline BatchDeleteConnectionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline BatchDeleteConnectionRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetConnectionNameList() const{ return m_connectionNameList; }
58 inline bool ConnectionNameListHasBeenSet() const { return m_connectionNameListHasBeenSet; }
59 inline void SetConnectionNameList(const Aws::Vector<Aws::String>& value) { m_connectionNameListHasBeenSet = true; m_connectionNameList = value; }
60 inline void SetConnectionNameList(Aws::Vector<Aws::String>&& value) { m_connectionNameListHasBeenSet = true; m_connectionNameList = std::move(value); }
63 inline BatchDeleteConnectionRequest& AddConnectionNameList(const Aws::String& value) { m_connectionNameListHasBeenSet = true; m_connectionNameList.push_back(value); return *this; }
64 inline BatchDeleteConnectionRequest& AddConnectionNameList(Aws::String&& value) { m_connectionNameListHasBeenSet = true; m_connectionNameList.push_back(std::move(value)); return *this; }
65 inline BatchDeleteConnectionRequest& AddConnectionNameList(const char* value) { m_connectionNameListHasBeenSet = true; m_connectionNameList.push_back(value); return *this; }
67 private:
68
69 Aws::String m_catalogId;
70 bool m_catalogIdHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_connectionNameList;
73 bool m_connectionNameListHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetConnectionNameList() const
BatchDeleteConnectionRequest & AddConnectionNameList(Aws::String &&value)
void SetConnectionNameList(const Aws::Vector< Aws::String > &value)
BatchDeleteConnectionRequest & WithCatalogId(const Aws::String &value)
BatchDeleteConnectionRequest & AddConnectionNameList(const Aws::String &value)
void SetConnectionNameList(Aws::Vector< Aws::String > &&value)
BatchDeleteConnectionRequest & WithConnectionNameList(Aws::Vector< Aws::String > &&value)
BatchDeleteConnectionRequest & AddConnectionNameList(const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteConnectionRequest & WithCatalogId(const char *value)
virtual const char * GetServiceRequestName() const override
BatchDeleteConnectionRequest & WithCatalogId(Aws::String &&value)
BatchDeleteConnectionRequest & WithConnectionNameList(const Aws::Vector< Aws::String > &value)
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