AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteConnectionRequest.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 <utility>
11
12namespace Aws
13{
14namespace Glue
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GLUE_API DeleteConnectionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteConnection"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 template<typename CatalogIdT = Aws::String>
45 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
46 template<typename CatalogIdT = Aws::String>
47 DeleteConnectionRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
55 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
56 template<typename ConnectionNameT = Aws::String>
57 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
58 template<typename ConnectionNameT = Aws::String>
59 DeleteConnectionRequest& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
61 private:
62
63 Aws::String m_catalogId;
64 bool m_catalogIdHasBeenSet = false;
65
66 Aws::String m_connectionName;
67 bool m_connectionNameHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Glue
72} // namespace Aws
DeleteConnectionRequest & WithCatalogId(CatalogIdT &&value)
DeleteConnectionRequest & WithConnectionName(ConnectionNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API DeleteConnectionRequest()=default
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String