AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListConnectionsRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/SortFieldConnection.h>
11#include <aws/datazone/model/SortOrder.h>
12#include <aws/datazone/model/ConnectionType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace DataZone
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_DATAZONE_API ListConnectionsRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListConnections"; }
38
39 AWS_DATAZONE_API Aws::String SerializePayload() const override;
40
41 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
49 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
50 template<typename DomainIdentifierT = Aws::String>
51 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
52 template<typename DomainIdentifierT = Aws::String>
53 ListConnectionsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
55
57
60 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
61 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
62 template<typename EnvironmentIdentifierT = Aws::String>
63 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
64 template<typename EnvironmentIdentifierT = Aws::String>
65 ListConnectionsRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) { SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value)); return *this;}
67
69
75 inline int GetMaxResults() const { return m_maxResults; }
76 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
78 inline ListConnectionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template<typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
89 template<typename NameT = Aws::String>
90 ListConnectionsRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
92
94
101 inline const Aws::String& GetNextToken() const { return m_nextToken; }
102 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
103 template<typename NextTokenT = Aws::String>
104 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
105 template<typename NextTokenT = Aws::String>
106 ListConnectionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
108
110
113 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
114 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
115 template<typename ProjectIdentifierT = Aws::String>
116 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
117 template<typename ProjectIdentifierT = Aws::String>
118 ListConnectionsRequest& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
120
122
125 inline SortFieldConnection GetSortBy() const { return m_sortBy; }
126 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
127 inline void SetSortBy(SortFieldConnection value) { m_sortByHasBeenSet = true; m_sortBy = value; }
128 inline ListConnectionsRequest& WithSortBy(SortFieldConnection value) { SetSortBy(value); return *this;}
130
132
135 inline SortOrder GetSortOrder() const { return m_sortOrder; }
136 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
137 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
138 inline ListConnectionsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
140
142
145 inline ConnectionType GetType() const { return m_type; }
146 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
147 inline void SetType(ConnectionType value) { m_typeHasBeenSet = true; m_type = value; }
148 inline ListConnectionsRequest& WithType(ConnectionType value) { SetType(value); return *this;}
150 private:
151
152 Aws::String m_domainIdentifier;
153 bool m_domainIdentifierHasBeenSet = false;
154
155 Aws::String m_environmentIdentifier;
156 bool m_environmentIdentifierHasBeenSet = false;
157
158 int m_maxResults{0};
159 bool m_maxResultsHasBeenSet = false;
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
164 Aws::String m_nextToken;
165 bool m_nextTokenHasBeenSet = false;
166
167 Aws::String m_projectIdentifier;
168 bool m_projectIdentifierHasBeenSet = false;
169
171 bool m_sortByHasBeenSet = false;
172
173 SortOrder m_sortOrder{SortOrder::NOT_SET};
174 bool m_sortOrderHasBeenSet = false;
175
177 bool m_typeHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace DataZone
182} // namespace Aws
ListConnectionsRequest & WithDomainIdentifier(DomainIdentifierT &&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