AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectionRequest.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/glue/model/ConnectionInput.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 "UpdateConnection"; }
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 UpdateConnectionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline UpdateConnectionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline UpdateConnectionRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline UpdateConnectionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateConnectionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateConnectionRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
72 inline const ConnectionInput& GetConnectionInput() const{ return m_connectionInput; }
73 inline bool ConnectionInputHasBeenSet() const { return m_connectionInputHasBeenSet; }
74 inline void SetConnectionInput(const ConnectionInput& value) { m_connectionInputHasBeenSet = true; m_connectionInput = value; }
75 inline void SetConnectionInput(ConnectionInput&& value) { m_connectionInputHasBeenSet = true; m_connectionInput = std::move(value); }
77 inline UpdateConnectionRequest& WithConnectionInput(ConnectionInput&& value) { SetConnectionInput(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_catalogId;
82 bool m_catalogIdHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 ConnectionInput m_connectionInput;
88 bool m_connectionInputHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Glue
93} // namespace Aws
UpdateConnectionRequest & WithCatalogId(const Aws::String &value)
UpdateConnectionRequest & WithConnectionInput(const ConnectionInput &value)
const ConnectionInput & GetConnectionInput() const
UpdateConnectionRequest & WithConnectionInput(ConnectionInput &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetConnectionInput(const ConnectionInput &value)
UpdateConnectionRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateConnectionRequest & WithName(const Aws::String &value)
UpdateConnectionRequest & WithCatalogId(Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateConnectionRequest & WithName(Aws::String &&value)
UpdateConnectionRequest & WithCatalogId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String