AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetConnectionRequest.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/ComputeEnvironment.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API GetConnectionRequest() = 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 "GetConnection"; }
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 GetConnectionRequest& 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 GetConnectionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
71 inline bool GetHidePassword() const { return m_hidePassword; }
72 inline bool HidePasswordHasBeenSet() const { return m_hidePasswordHasBeenSet; }
73 inline void SetHidePassword(bool value) { m_hidePasswordHasBeenSet = true; m_hidePassword = value; }
74 inline GetConnectionRequest& WithHidePassword(bool value) { SetHidePassword(value); return *this;}
76
78
82 inline ComputeEnvironment GetApplyOverrideForComputeEnvironment() const { return m_applyOverrideForComputeEnvironment; }
83 inline bool ApplyOverrideForComputeEnvironmentHasBeenSet() const { return m_applyOverrideForComputeEnvironmentHasBeenSet; }
84 inline void SetApplyOverrideForComputeEnvironment(ComputeEnvironment value) { m_applyOverrideForComputeEnvironmentHasBeenSet = true; m_applyOverrideForComputeEnvironment = value; }
87 private:
88
89 Aws::String m_catalogId;
90 bool m_catalogIdHasBeenSet = false;
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 bool m_hidePassword{false};
96 bool m_hidePasswordHasBeenSet = false;
97
98 ComputeEnvironment m_applyOverrideForComputeEnvironment{ComputeEnvironment::NOT_SET};
99 bool m_applyOverrideForComputeEnvironmentHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Glue
104} // 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