AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEnvironmentsRequest.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/EnvironmentStatus.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 ListEnvironmentsRequest();
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 "ListEnvironments"; }
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& GetAwsAccountId() const{ return m_awsAccountId; }
48 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
49 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
50 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
51 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
52 inline ListEnvironmentsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
53 inline ListEnvironmentsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
54 inline ListEnvironmentsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
56
58
61 inline const Aws::String& GetAwsAccountRegion() const{ return m_awsAccountRegion; }
62 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
63 inline void SetAwsAccountRegion(const Aws::String& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = value; }
64 inline void SetAwsAccountRegion(Aws::String&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::move(value); }
65 inline void SetAwsAccountRegion(const char* value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion.assign(value); }
66 inline ListEnvironmentsRequest& WithAwsAccountRegion(const Aws::String& value) { SetAwsAccountRegion(value); return *this;}
67 inline ListEnvironmentsRequest& WithAwsAccountRegion(Aws::String&& value) { SetAwsAccountRegion(std::move(value)); return *this;}
68 inline ListEnvironmentsRequest& WithAwsAccountRegion(const char* value) { SetAwsAccountRegion(value); return *this;}
70
72
75 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
76 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
77 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
78 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
79 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
80 inline ListEnvironmentsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
81 inline ListEnvironmentsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
82 inline ListEnvironmentsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
84
86
89 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const{ return m_environmentBlueprintIdentifier; }
90 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
91 inline void SetEnvironmentBlueprintIdentifier(const Aws::String& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = value; }
92 inline void SetEnvironmentBlueprintIdentifier(Aws::String&& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = std::move(value); }
93 inline void SetEnvironmentBlueprintIdentifier(const char* value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier.assign(value); }
98
100
103 inline const Aws::String& GetEnvironmentProfileIdentifier() const{ return m_environmentProfileIdentifier; }
104 inline bool EnvironmentProfileIdentifierHasBeenSet() const { return m_environmentProfileIdentifierHasBeenSet; }
105 inline void SetEnvironmentProfileIdentifier(const Aws::String& value) { m_environmentProfileIdentifierHasBeenSet = true; m_environmentProfileIdentifier = value; }
106 inline void SetEnvironmentProfileIdentifier(Aws::String&& value) { m_environmentProfileIdentifierHasBeenSet = true; m_environmentProfileIdentifier = std::move(value); }
107 inline void SetEnvironmentProfileIdentifier(const char* value) { m_environmentProfileIdentifierHasBeenSet = true; m_environmentProfileIdentifier.assign(value); }
112
114
121 inline int GetMaxResults() const{ return m_maxResults; }
122 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
123 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
124 inline ListEnvironmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
126
128
131 inline const Aws::String& GetName() const{ return m_name; }
132 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
134 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
135 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
136 inline ListEnvironmentsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
137 inline ListEnvironmentsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
138 inline ListEnvironmentsRequest& WithName(const char* value) { SetName(value); return *this;}
140
142
150 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
151 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
152 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
153 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
154 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
155 inline ListEnvironmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
156 inline ListEnvironmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
157 inline ListEnvironmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
159
161
164 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
165 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
166 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
167 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
168 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
170 inline ListEnvironmentsRequest& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;}
171 inline ListEnvironmentsRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
173
175
178 inline const Aws::String& GetProvider() const{ return m_provider; }
179 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
180 inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
181 inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
182 inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
183 inline ListEnvironmentsRequest& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
184 inline ListEnvironmentsRequest& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
185 inline ListEnvironmentsRequest& WithProvider(const char* value) { SetProvider(value); return *this;}
187
189
192 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
193 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
194 inline void SetStatus(const EnvironmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
195 inline void SetStatus(EnvironmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
196 inline ListEnvironmentsRequest& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
197 inline ListEnvironmentsRequest& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
199 private:
200
201 Aws::String m_awsAccountId;
202 bool m_awsAccountIdHasBeenSet = false;
203
204 Aws::String m_awsAccountRegion;
205 bool m_awsAccountRegionHasBeenSet = false;
206
207 Aws::String m_domainIdentifier;
208 bool m_domainIdentifierHasBeenSet = false;
209
210 Aws::String m_environmentBlueprintIdentifier;
211 bool m_environmentBlueprintIdentifierHasBeenSet = false;
212
213 Aws::String m_environmentProfileIdentifier;
214 bool m_environmentProfileIdentifierHasBeenSet = false;
215
216 int m_maxResults;
217 bool m_maxResultsHasBeenSet = false;
218
219 Aws::String m_name;
220 bool m_nameHasBeenSet = false;
221
222 Aws::String m_nextToken;
223 bool m_nextTokenHasBeenSet = false;
224
225 Aws::String m_projectIdentifier;
226 bool m_projectIdentifierHasBeenSet = false;
227
228 Aws::String m_provider;
229 bool m_providerHasBeenSet = false;
230
231 EnvironmentStatus m_status;
232 bool m_statusHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace DataZone
237} // namespace Aws
ListEnvironmentsRequest & WithProjectIdentifier(const Aws::String &value)
ListEnvironmentsRequest & WithAwsAccountRegion(Aws::String &&value)
ListEnvironmentsRequest & WithMaxResults(int value)
ListEnvironmentsRequest & WithAwsAccountRegion(const Aws::String &value)
ListEnvironmentsRequest & WithStatus(const EnvironmentStatus &value)
ListEnvironmentsRequest & WithAwsAccountId(Aws::String &&value)
ListEnvironmentsRequest & WithAwsAccountId(const Aws::String &value)
ListEnvironmentsRequest & WithName(Aws::String &&value)
ListEnvironmentsRequest & WithName(const char *value)
const Aws::String & GetEnvironmentBlueprintIdentifier() const
ListEnvironmentsRequest & WithProjectIdentifier(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListEnvironmentsRequest & WithStatus(EnvironmentStatus &&value)
ListEnvironmentsRequest & WithEnvironmentProfileIdentifier(const Aws::String &value)
ListEnvironmentsRequest & WithProvider(const Aws::String &value)
ListEnvironmentsRequest & WithNextToken(const Aws::String &value)
ListEnvironmentsRequest & WithAwsAccountRegion(const char *value)
ListEnvironmentsRequest & WithNextToken(const char *value)
ListEnvironmentsRequest & WithAwsAccountId(const char *value)
void SetStatus(const EnvironmentStatus &value)
ListEnvironmentsRequest & WithProvider(Aws::String &&value)
ListEnvironmentsRequest & WithEnvironmentBlueprintIdentifier(Aws::String &&value)
ListEnvironmentsRequest & WithDomainIdentifier(const char *value)
ListEnvironmentsRequest & WithProvider(const char *value)
void SetEnvironmentProfileIdentifier(const Aws::String &value)
ListEnvironmentsRequest & WithName(const Aws::String &value)
void SetEnvironmentBlueprintIdentifier(const Aws::String &value)
ListEnvironmentsRequest & WithDomainIdentifier(Aws::String &&value)
ListEnvironmentsRequest & WithEnvironmentProfileIdentifier(Aws::String &&value)
ListEnvironmentsRequest & WithProjectIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
ListEnvironmentsRequest & WithEnvironmentBlueprintIdentifier(const char *value)
ListEnvironmentsRequest & WithNextToken(Aws::String &&value)
ListEnvironmentsRequest & WithDomainIdentifier(const Aws::String &value)
ListEnvironmentsRequest & WithEnvironmentBlueprintIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListEnvironmentsRequest & WithEnvironmentProfileIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String