AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ListConnectionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/ConnectionScope.h>
11#include <aws/datazone/model/ConnectionType.h>
12#include <aws/datazone/model/SortFieldConnection.h>
13#include <aws/datazone/model/SortOrder.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Http {
19class URI;
20} // namespace Http
21namespace DataZone {
22namespace Model {
23
27 public:
28 AWS_DATAZONE_API ListConnectionsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListConnections"; }
35
36 AWS_DATAZONE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
45 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
46 template <typename DomainIdentifierT = Aws::String>
47 void SetDomainIdentifier(DomainIdentifierT&& value) {
48 m_domainIdentifierHasBeenSet = true;
49 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
50 }
51 template <typename DomainIdentifierT = Aws::String>
52 ListConnectionsRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
53 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
63 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
64 template <typename EnvironmentIdentifierT = Aws::String>
65 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
66 m_environmentIdentifierHasBeenSet = true;
67 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
68 }
69 template <typename EnvironmentIdentifierT = Aws::String>
70 ListConnectionsRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
71 SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value));
72 return *this;
73 }
75
77
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) {
86 m_maxResultsHasBeenSet = true;
87 m_maxResults = value;
88 }
90 SetMaxResults(value);
91 return *this;
92 }
94
96
99 inline const Aws::String& GetName() const { return m_name; }
100 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 template <typename NameT = Aws::String>
102 void SetName(NameT&& value) {
103 m_nameHasBeenSet = true;
104 m_name = std::forward<NameT>(value);
105 }
106 template <typename NameT = Aws::String>
108 SetName(std::forward<NameT>(value));
109 return *this;
110 }
112
114
121 inline const Aws::String& GetNextToken() const { return m_nextToken; }
122 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
123 template <typename NextTokenT = Aws::String>
124 void SetNextToken(NextTokenT&& value) {
125 m_nextTokenHasBeenSet = true;
126 m_nextToken = std::forward<NextTokenT>(value);
127 }
128 template <typename NextTokenT = Aws::String>
130 SetNextToken(std::forward<NextTokenT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
140 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
141 template <typename ProjectIdentifierT = Aws::String>
142 void SetProjectIdentifier(ProjectIdentifierT&& value) {
143 m_projectIdentifierHasBeenSet = true;
144 m_projectIdentifier = std::forward<ProjectIdentifierT>(value);
145 }
146 template <typename ProjectIdentifierT = Aws::String>
147 ListConnectionsRequest& WithProjectIdentifier(ProjectIdentifierT&& value) {
148 SetProjectIdentifier(std::forward<ProjectIdentifierT>(value));
149 return *this;
150 }
152
154
157 inline ConnectionScope GetScope() const { return m_scope; }
158 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
159 inline void SetScope(ConnectionScope value) {
160 m_scopeHasBeenSet = true;
161 m_scope = value;
162 }
164 SetScope(value);
165 return *this;
166 }
168
170
173 inline SortFieldConnection GetSortBy() const { return m_sortBy; }
174 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
175 inline void SetSortBy(SortFieldConnection value) {
176 m_sortByHasBeenSet = true;
177 m_sortBy = value;
178 }
180 SetSortBy(value);
181 return *this;
182 }
184
186
189 inline SortOrder GetSortOrder() const { return m_sortOrder; }
190 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
191 inline void SetSortOrder(SortOrder value) {
192 m_sortOrderHasBeenSet = true;
193 m_sortOrder = value;
194 }
196 SetSortOrder(value);
197 return *this;
198 }
200
202
205 inline ConnectionType GetType() const { return m_type; }
206 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
207 inline void SetType(ConnectionType value) {
208 m_typeHasBeenSet = true;
209 m_type = value;
210 }
212 SetType(value);
213 return *this;
214 }
216 private:
217 Aws::String m_domainIdentifier;
218 bool m_domainIdentifierHasBeenSet = false;
219
220 Aws::String m_environmentIdentifier;
221 bool m_environmentIdentifierHasBeenSet = false;
222
223 int m_maxResults{0};
224 bool m_maxResultsHasBeenSet = false;
225
226 Aws::String m_name;
227 bool m_nameHasBeenSet = false;
228
229 Aws::String m_nextToken;
230 bool m_nextTokenHasBeenSet = false;
231
232 Aws::String m_projectIdentifier;
233 bool m_projectIdentifierHasBeenSet = false;
234
236 bool m_scopeHasBeenSet = false;
237
239 bool m_sortByHasBeenSet = false;
240
241 SortOrder m_sortOrder{SortOrder::NOT_SET};
242 bool m_sortOrderHasBeenSet = false;
243
245 bool m_typeHasBeenSet = false;
246};
247
248} // namespace Model
249} // namespace DataZone
250} // namespace Aws
ListConnectionsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListConnectionsRequest & WithScope(ConnectionScope value)
ListConnectionsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListConnectionsRequest & WithMaxResults(int value)
ListConnectionsRequest & WithSortOrder(SortOrder value)
ListConnectionsRequest & WithName(NameT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetDomainIdentifier(DomainIdentifierT &&value)
void SetProjectIdentifier(ProjectIdentifierT &&value)
ListConnectionsRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListConnectionsRequest & WithType(ConnectionType value)
ListConnectionsRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
AWS_DATAZONE_API ListConnectionsRequest()=default
ListConnectionsRequest & WithSortBy(SortFieldConnection value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String