AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
47 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
48 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
49 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
50 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
51 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
52 inline ListDataSourcesRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
53 inline ListDataSourcesRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
54 inline ListDataSourcesRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
56
58
61 inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; }
62 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
63 inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; }
64 inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); }
65 inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); }
67 inline ListDataSourcesRequest& WithEnvironmentIdentifier(Aws::String&& value) { SetEnvironmentIdentifier(std::move(value)); return *this;}
68 inline ListDataSourcesRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;}
70
72
79 inline int GetMaxResults() const{ return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListDataSourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84
86
89 inline const Aws::String& GetName() const{ return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
93 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
94 inline ListDataSourcesRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline ListDataSourcesRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline ListDataSourcesRequest& WithName(const char* value) { SetName(value); return *this;}
98
100
108 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
110 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
111 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
112 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
113 inline ListDataSourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 inline ListDataSourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 inline ListDataSourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117
119
122 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
123 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
124 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
125 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
126 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
128 inline ListDataSourcesRequest& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;}
129 inline ListDataSourcesRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
131
133
136 inline const DataSourceStatus& GetStatus() const{ return m_status; }
137 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
138 inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
139 inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
140 inline ListDataSourcesRequest& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
141 inline ListDataSourcesRequest& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetType() const{ return m_type; }
149 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
150 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
151 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
152 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
153 inline ListDataSourcesRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
154 inline ListDataSourcesRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
155 inline ListDataSourcesRequest& WithType(const char* value) { SetType(value); return *this;}
157 private:
158
159 Aws::String m_domainIdentifier;
160 bool m_domainIdentifierHasBeenSet = false;
161
162 Aws::String m_environmentIdentifier;
163 bool m_environmentIdentifierHasBeenSet = false;
164
165 int m_maxResults;
166 bool m_maxResultsHasBeenSet = false;
167
168 Aws::String m_name;
169 bool m_nameHasBeenSet = false;
170
171 Aws::String m_nextToken;
172 bool m_nextTokenHasBeenSet = false;
173
174 Aws::String m_projectIdentifier;
175 bool m_projectIdentifierHasBeenSet = false;
176
177 DataSourceStatus m_status;
178 bool m_statusHasBeenSet = false;
179
180 Aws::String m_type;
181 bool m_typeHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace DataZone
186} // namespace Aws
ListDataSourcesRequest & WithType(Aws::String &&value)
void SetStatus(const DataSourceStatus &value)
virtual const char * GetServiceRequestName() const override
ListDataSourcesRequest & WithName(const Aws::String &value)
ListDataSourcesRequest & WithNextToken(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListDataSourcesRequest & WithStatus(const DataSourceStatus &value)
ListDataSourcesRequest & WithType(const char *value)
ListDataSourcesRequest & WithProjectIdentifier(Aws::String &&value)
ListDataSourcesRequest & WithEnvironmentIdentifier(const Aws::String &value)
ListDataSourcesRequest & WithNextToken(const char *value)
ListDataSourcesRequest & WithType(const Aws::String &value)
ListDataSourcesRequest & WithNextToken(Aws::String &&value)
ListDataSourcesRequest & WithEnvironmentIdentifier(Aws::String &&value)
ListDataSourcesRequest & WithName(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDataSourcesRequest & WithName(const char *value)
ListDataSourcesRequest & WithMaxResults(int value)
ListDataSourcesRequest & WithStatus(DataSourceStatus &&value)
ListDataSourcesRequest & WithDomainIdentifier(const char *value)
ListDataSourcesRequest & WithDomainIdentifier(const Aws::String &value)
ListDataSourcesRequest & WithDomainIdentifier(Aws::String &&value)
ListDataSourcesRequest & WithProjectIdentifier(const char *value)
void SetEnvironmentIdentifier(const Aws::String &value)
ListDataSourcesRequest & WithProjectIdentifier(const Aws::String &value)
ListDataSourcesRequest & WithEnvironmentIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String