AWS SDK for C++  1.9.109
AWS SDK for C++
GetConnectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glue
15 {
16 namespace 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 "GetConnection"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
42 
47  inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
48 
53  inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
54 
59  inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
60 
65  inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
66 
71  inline GetConnectionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
72 
77  inline GetConnectionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
78 
83  inline GetConnectionRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
84 
85 
89  inline const Aws::String& GetName() const{ return m_name; }
90 
94  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 
99  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
100 
104  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 
109  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 
114  inline GetConnectionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
115 
119  inline GetConnectionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 
124  inline GetConnectionRequest& WithName(const char* value) { SetName(value); return *this;}
125 
126 
134  inline bool GetHidePassword() const{ return m_hidePassword; }
135 
143  inline bool HidePasswordHasBeenSet() const { return m_hidePasswordHasBeenSet; }
144 
152  inline void SetHidePassword(bool value) { m_hidePasswordHasBeenSet = true; m_hidePassword = value; }
153 
161  inline GetConnectionRequest& WithHidePassword(bool value) { SetHidePassword(value); return *this;}
162 
163  private:
164 
165  Aws::String m_catalogId;
166  bool m_catalogIdHasBeenSet;
167 
168  Aws::String m_name;
169  bool m_nameHasBeenSet;
170 
171  bool m_hidePassword;
172  bool m_hidePasswordHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Glue
177 } // namespace Aws
Aws::Glue::Model::GetConnectionRequest::HidePasswordHasBeenSet
bool HidePasswordHasBeenSet() const
Definition: GetConnectionRequest.h:143
Aws::Glue::Model::GetConnectionRequest::WithName
GetConnectionRequest & WithName(const char *value)
Definition: GetConnectionRequest.h:124
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::GetConnectionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetConnectionRequest.h:94
Glue_EXPORTS.h
Aws::Glue::Model::GetConnectionRequest::WithCatalogId
GetConnectionRequest & WithCatalogId(const char *value)
Definition: GetConnectionRequest.h:83
Aws::Glue::Model::GetConnectionRequest::WithCatalogId
GetConnectionRequest & WithCatalogId(const Aws::String &value)
Definition: GetConnectionRequest.h:71
Aws::Glue::Model::GetConnectionRequest::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: GetConnectionRequest.h:47
Aws::Glue::Model::GetConnectionRequest::SetName
void SetName(Aws::String &&value)
Definition: GetConnectionRequest.h:104
Aws::Glue::Model::GetConnectionRequest
Definition: GetConnectionRequest.h:22
Aws::Glue::Model::GetConnectionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetConnectionRequest::WithCatalogId
GetConnectionRequest & WithCatalogId(Aws::String &&value)
Definition: GetConnectionRequest.h:77
Aws::Glue::Model::GetConnectionRequest::GetConnectionRequest
GetConnectionRequest()
AWSString.h
Aws::Glue::Model::GetConnectionRequest::GetName
const Aws::String & GetName() const
Definition: GetConnectionRequest.h:89
Aws::Glue::Model::GetConnectionRequest::SetHidePassword
void SetHidePassword(bool value)
Definition: GetConnectionRequest.h:152
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::GetConnectionRequest::SetName
void SetName(const Aws::String &value)
Definition: GetConnectionRequest.h:99
Aws::Glue::Model::GetConnectionRequest::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: GetConnectionRequest.h:53
Aws::Glue::Model::GetConnectionRequest::GetHidePassword
bool GetHidePassword() const
Definition: GetConnectionRequest.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetConnectionRequest::SetName
void SetName(const char *value)
Definition: GetConnectionRequest.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::GetConnectionRequest::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: GetConnectionRequest.h:41
Aws::Glue::Model::GetConnectionRequest::WithHidePassword
GetConnectionRequest & WithHidePassword(bool value)
Definition: GetConnectionRequest.h:161
Aws::Glue::Model::GetConnectionRequest::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: GetConnectionRequest.h:59
Aws::Glue::Model::GetConnectionRequest::WithName
GetConnectionRequest & WithName(Aws::String &&value)
Definition: GetConnectionRequest.h:119
Aws::Glue::Model::GetConnectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetConnectionRequest.h:30
Aws::Glue::Model::GetConnectionRequest::WithName
GetConnectionRequest & WithName(const Aws::String &value)
Definition: GetConnectionRequest.h:114
Aws::Glue::Model::GetConnectionRequest::SetCatalogId
void SetCatalogId(const char *value)
Definition: GetConnectionRequest.h:65
Aws::Glue::Model::GetConnectionRequest::SerializePayload
Aws::String SerializePayload() const override
GlueRequest.h