AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDataSourcesRequest.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/DataSourceStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace DataZone
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DATAZONE_API ListDataSourcesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListDataSources"; }
36
37 AWS_DATAZONE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetConnectionIdentifier() const { return m_connectionIdentifier; }
47 inline bool ConnectionIdentifierHasBeenSet() const { return m_connectionIdentifierHasBeenSet; }
48 template<typename ConnectionIdentifierT = Aws::String>
49 void SetConnectionIdentifier(ConnectionIdentifierT&& value) { m_connectionIdentifierHasBeenSet = true; m_connectionIdentifier = std::forward<ConnectionIdentifierT>(value); }
50 template<typename ConnectionIdentifierT = Aws::String>
51 ListDataSourcesRequest& WithConnectionIdentifier(ConnectionIdentifierT&& value) { SetConnectionIdentifier(std::forward<ConnectionIdentifierT>(value)); return *this;}
53
55
59 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
60 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
61 template<typename DomainIdentifierT = Aws::String>
62 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
63 template<typename DomainIdentifierT = Aws::String>
64 ListDataSourcesRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
66
68
71 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
72 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
73 template<typename EnvironmentIdentifierT = Aws::String>
74 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
75 template<typename EnvironmentIdentifierT = Aws::String>
76 ListDataSourcesRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) { SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value)); return *this;}
78
80
87 inline int GetMaxResults() const { return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListDataSourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 template<typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
101 template<typename NameT = Aws::String>
102 ListDataSourcesRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
104
106
114 inline const Aws::String& GetNextToken() const { return m_nextToken; }
115 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116 template<typename NextTokenT = Aws::String>
117 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
118 template<typename NextTokenT = Aws::String>
119 ListDataSourcesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
121
123
126 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
127 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
128 template<typename ProjectIdentifierT = Aws::String>
129 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
130 template<typename ProjectIdentifierT = Aws::String>
131 ListDataSourcesRequest& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
133
135
138 inline DataSourceStatus GetStatus() const { return m_status; }
139 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
140 inline void SetStatus(DataSourceStatus value) { m_statusHasBeenSet = true; m_status = value; }
141 inline ListDataSourcesRequest& WithStatus(DataSourceStatus value) { SetStatus(value); return *this;}
143
145
148 inline const Aws::String& GetType() const { return m_type; }
149 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
150 template<typename TypeT = Aws::String>
151 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
152 template<typename TypeT = Aws::String>
153 ListDataSourcesRequest& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
155 private:
156
157 Aws::String m_connectionIdentifier;
158 bool m_connectionIdentifierHasBeenSet = false;
159
160 Aws::String m_domainIdentifier;
161 bool m_domainIdentifierHasBeenSet = false;
162
163 Aws::String m_environmentIdentifier;
164 bool m_environmentIdentifierHasBeenSet = false;
165
166 int m_maxResults{0};
167 bool m_maxResultsHasBeenSet = false;
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
172 Aws::String m_nextToken;
173 bool m_nextTokenHasBeenSet = false;
174
175 Aws::String m_projectIdentifier;
176 bool m_projectIdentifierHasBeenSet = false;
177
179 bool m_statusHasBeenSet = false;
180
181 Aws::String m_type;
182 bool m_typeHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace DataZone
187} // namespace Aws
ListDataSourcesRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
ListDataSourcesRequest & WithType(TypeT &&value)
virtual const char * GetServiceRequestName() const override
ListDataSourcesRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListDataSourcesRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
ListDataSourcesRequest & WithNextToken(NextTokenT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API ListDataSourcesRequest()=default
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetProjectIdentifier(ProjectIdentifierT &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDataSourcesRequest & WithMaxResults(int value)
ListDataSourcesRequest & WithStatus(DataSourceStatus value)
void SetDomainIdentifier(DomainIdentifierT &&value)
void SetConnectionIdentifier(ConnectionIdentifierT &&value)
ListDataSourcesRequest & WithConnectionIdentifier(ConnectionIdentifierT &&value)
ListDataSourcesRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String