AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 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 GetConnectionsRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
55 inline const GetConnectionsFilter& GetFilter() const { return m_filter; }
56 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
57 template<typename FilterT = GetConnectionsFilter>
58 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
59 template<typename FilterT = GetConnectionsFilter>
60 GetConnectionsRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(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 GetConnectionsRequest& WithHidePassword(bool value) { SetHidePassword(value); return *this;}
76
78
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template<typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
85 template<typename NextTokenT = Aws::String>
86 GetConnectionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
88
90
93 inline int GetMaxResults() const { return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline GetConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98 private:
99
100 Aws::String m_catalogId;
101 bool m_catalogIdHasBeenSet = false;
102
103 GetConnectionsFilter m_filter;
104 bool m_filterHasBeenSet = false;
105
106 bool m_hidePassword{false};
107 bool m_hidePasswordHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults{0};
113 bool m_maxResultsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Glue
118} // 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