AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_GLUE_API UpdateConnectionRequest() = 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 "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 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 UpdateConnectionRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 UpdateConnectionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
68 inline const ConnectionInput& GetConnectionInput() const { return m_connectionInput; }
69 inline bool ConnectionInputHasBeenSet() const { return m_connectionInputHasBeenSet; }
70 template<typename ConnectionInputT = ConnectionInput>
71 void SetConnectionInput(ConnectionInputT&& value) { m_connectionInputHasBeenSet = true; m_connectionInput = std::forward<ConnectionInputT>(value); }
72 template<typename ConnectionInputT = ConnectionInput>
73 UpdateConnectionRequest& WithConnectionInput(ConnectionInputT&& value) { SetConnectionInput(std::forward<ConnectionInputT>(value)); return *this;}
75 private:
76
77 Aws::String m_catalogId;
78 bool m_catalogIdHasBeenSet = false;
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
83 ConnectionInput m_connectionInput;
84 bool m_connectionInputHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Glue
89} // namespace Aws
void SetConnectionInput(ConnectionInputT &&value)
AWS_GLUE_API UpdateConnectionRequest()=default
const ConnectionInput & GetConnectionInput() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateConnectionRequest & WithName(NameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateConnectionRequest & WithCatalogId(CatalogIdT &&value)
UpdateConnectionRequest & WithConnectionInput(ConnectionInputT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String