AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetConnectionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/ComputeEnvironment.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetConnectionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetConnection"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
40 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
41 template <typename CatalogIdT = Aws::String>
42 void SetCatalogId(CatalogIdT&& value) {
43 m_catalogIdHasBeenSet = true;
44 m_catalogId = std::forward<CatalogIdT>(value);
45 }
46 template <typename CatalogIdT = Aws::String>
47 GetConnectionRequest& WithCatalogId(CatalogIdT&& value) {
48 SetCatalogId(std::forward<CatalogIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
79 inline bool GetHidePassword() const { return m_hidePassword; }
80 inline bool HidePasswordHasBeenSet() const { return m_hidePasswordHasBeenSet; }
81 inline void SetHidePassword(bool value) {
82 m_hidePasswordHasBeenSet = true;
83 m_hidePassword = value;
84 }
86 SetHidePassword(value);
87 return *this;
88 }
90
92
96 inline ComputeEnvironment GetApplyOverrideForComputeEnvironment() const { return m_applyOverrideForComputeEnvironment; }
97 inline bool ApplyOverrideForComputeEnvironmentHasBeenSet() const { return m_applyOverrideForComputeEnvironmentHasBeenSet; }
99 m_applyOverrideForComputeEnvironmentHasBeenSet = true;
100 m_applyOverrideForComputeEnvironment = value;
101 }
104 return *this;
105 }
107 private:
108 Aws::String m_catalogId;
109
110 Aws::String m_name;
111
112 bool m_hidePassword{false};
113
114 ComputeEnvironment m_applyOverrideForComputeEnvironment{ComputeEnvironment::NOT_SET};
115 bool m_catalogIdHasBeenSet = false;
116 bool m_nameHasBeenSet = false;
117 bool m_hidePasswordHasBeenSet = false;
118 bool m_applyOverrideForComputeEnvironmentHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetApplyOverrideForComputeEnvironment(ComputeEnvironment value)
GetConnectionRequest & WithHidePassword(bool value)
AWS_GLUE_API Aws::String SerializePayload() const override
ComputeEnvironment GetApplyOverrideForComputeEnvironment() const
virtual const char * GetServiceRequestName() const override
GetConnectionRequest & WithName(NameT &&value)
GetConnectionRequest & WithCatalogId(CatalogIdT &&value)
GetConnectionRequest & WithApplyOverrideForComputeEnvironment(ComputeEnvironment value)
AWS_GLUE_API GetConnectionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String