AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetConnectionsRequest.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/GetConnectionsFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API GetConnectionsRequest();
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 "GetConnections"; }
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 GetConnectionsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline GetConnectionsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline GetConnectionsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
52
54
57 inline const GetConnectionsFilter& GetFilter() const{ return m_filter; }
58 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
59 inline void SetFilter(const GetConnectionsFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
60 inline void SetFilter(GetConnectionsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
61 inline GetConnectionsRequest& WithFilter(const GetConnectionsFilter& value) { SetFilter(value); return *this;}
62 inline GetConnectionsRequest& WithFilter(GetConnectionsFilter&& value) { SetFilter(std::move(value)); return *this;}
64
66
73 inline bool GetHidePassword() const{ return m_hidePassword; }
74 inline bool HidePasswordHasBeenSet() const { return m_hidePasswordHasBeenSet; }
75 inline void SetHidePassword(bool value) { m_hidePasswordHasBeenSet = true; m_hidePassword = value; }
76 inline GetConnectionsRequest& WithHidePassword(bool value) { SetHidePassword(value); return *this;}
78
80
83 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
86 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 inline GetConnectionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
89 inline GetConnectionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 inline GetConnectionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92
94
97 inline int GetMaxResults() const{ return m_maxResults; }
98 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
99 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 inline GetConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
102 private:
103
104 Aws::String m_catalogId;
105 bool m_catalogIdHasBeenSet = false;
106
107 GetConnectionsFilter m_filter;
108 bool m_filterHasBeenSet = false;
109
110 bool m_hidePassword;
111 bool m_hidePasswordHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 int m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Glue
122} // namespace Aws
GetConnectionsRequest & WithCatalogId(Aws::String &&value)
GetConnectionsRequest & WithFilter(const GetConnectionsFilter &value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetFilter(GetConnectionsFilter &&value)
GetConnectionsRequest & WithNextToken(const char *value)
GetConnectionsRequest & WithCatalogId(const char *value)
GetConnectionsRequest & WithFilter(GetConnectionsFilter &&value)
const GetConnectionsFilter & GetFilter() const
void SetCatalogId(const Aws::String &value)
void SetFilter(const GetConnectionsFilter &value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(const Aws::String &value)
GetConnectionsRequest & WithMaxResults(int value)
GetConnectionsRequest & WithCatalogId(const Aws::String &value)
GetConnectionsRequest & WithHidePassword(bool value)
GetConnectionsRequest & WithNextToken(Aws::String &&value)
GetConnectionsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String