AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
45 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
46 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
47 inline DeleteConnectionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
48 inline DeleteConnectionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
49 inline DeleteConnectionRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
51
53
56 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
57 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
58 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
59 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
60 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
61 inline DeleteConnectionRequest& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
62 inline DeleteConnectionRequest& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
63 inline DeleteConnectionRequest& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
65 private:
66
67 Aws::String m_catalogId;
68 bool m_catalogIdHasBeenSet = false;
69
70 Aws::String m_connectionName;
71 bool m_connectionNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
DeleteConnectionRequest & WithConnectionName(const Aws::String &value)
DeleteConnectionRequest & WithConnectionName(Aws::String &&value)
DeleteConnectionRequest & WithCatalogId(Aws::String &&value)
DeleteConnectionRequest & WithCatalogId(const char *value)
DeleteConnectionRequest & WithConnectionName(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteConnectionRequest & WithCatalogId(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetConnectionName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String