AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
GetConnectionsRequest.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/GetConnectionsFilter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetConnectionsRequest() = 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 "GetConnections"; }
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 GetConnectionsRequest& WithCatalogId(CatalogIdT&& value) {
48 SetCatalogId(std::forward<CatalogIdT>(value));
49 return *this;
50 }
52
54
57 inline const GetConnectionsFilter& GetFilter() const { return m_filter; }
58 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
59 template <typename FilterT = GetConnectionsFilter>
60 void SetFilter(FilterT&& value) {
61 m_filterHasBeenSet = true;
62 m_filter = std::forward<FilterT>(value);
63 }
64 template <typename FilterT = GetConnectionsFilter>
66 SetFilter(std::forward<FilterT>(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
95 inline const Aws::String& GetNextToken() const { return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 template <typename NextTokenT = Aws::String>
98 void SetNextToken(NextTokenT&& value) {
99 m_nextTokenHasBeenSet = true;
100 m_nextToken = std::forward<NextTokenT>(value);
101 }
102 template <typename NextTokenT = Aws::String>
104 SetNextToken(std::forward<NextTokenT>(value));
105 return *this;
106 }
108
110
113 inline int GetMaxResults() const { return m_maxResults; }
114 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
115 inline void SetMaxResults(int value) {
116 m_maxResultsHasBeenSet = true;
117 m_maxResults = value;
118 }
120 SetMaxResults(value);
121 return *this;
122 }
124 private:
125 Aws::String m_catalogId;
126 bool m_catalogIdHasBeenSet = false;
127
128 GetConnectionsFilter m_filter;
129 bool m_filterHasBeenSet = false;
130
131 bool m_hidePassword{false};
132 bool m_hidePasswordHasBeenSet = false;
133
134 Aws::String m_nextToken;
135 bool m_nextTokenHasBeenSet = false;
136
137 int m_maxResults{0};
138 bool m_maxResultsHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Glue
143} // namespace Aws
AWS_GLUE_API GetConnectionsRequest()=default
GetConnectionsRequest & WithFilter(FilterT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetConnectionsRequest & WithNextToken(NextTokenT &&value)
const GetConnectionsFilter & GetFilter() const
virtual const char * GetServiceRequestName() const override
GetConnectionsRequest & WithMaxResults(int value)
GetConnectionsRequest & WithCatalogId(CatalogIdT &&value)
GetConnectionsRequest & WithHidePassword(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String