AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetKxEnvironmentResult.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/EnvironmentStatus.h>
10#include <aws/finspace/model/TgwStatus.h>
11#include <aws/finspace/model/DnsStatus.h>
12#include <aws/finspace/model/TransitGatewayConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/finspace/model/CustomDNSServer.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace finspace
31{
32namespace Model
33{
35 {
36 public:
37 AWS_FINSPACE_API GetKxEnvironmentResult();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline void SetName(const Aws::String& value) { m_name = value; }
48 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
49 inline void SetName(const char* value) { m_name.assign(value); }
50 inline GetKxEnvironmentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline GetKxEnvironmentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline GetKxEnvironmentResult& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
60 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
61 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
62 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
63 inline GetKxEnvironmentResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
64 inline GetKxEnvironmentResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
65 inline GetKxEnvironmentResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
67
69
73 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
74 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountId = value; }
75 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountId = std::move(value); }
76 inline void SetAwsAccountId(const char* value) { m_awsAccountId.assign(value); }
77 inline GetKxEnvironmentResult& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
78 inline GetKxEnvironmentResult& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
79 inline GetKxEnvironmentResult& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
81
83
86 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
87 inline void SetStatus(const EnvironmentStatus& value) { m_status = value; }
88 inline void SetStatus(EnvironmentStatus&& value) { m_status = std::move(value); }
89 inline GetKxEnvironmentResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
90 inline GetKxEnvironmentResult& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
92
94
97 inline const TgwStatus& GetTgwStatus() const{ return m_tgwStatus; }
98 inline void SetTgwStatus(const TgwStatus& value) { m_tgwStatus = value; }
99 inline void SetTgwStatus(TgwStatus&& value) { m_tgwStatus = std::move(value); }
100 inline GetKxEnvironmentResult& WithTgwStatus(const TgwStatus& value) { SetTgwStatus(value); return *this;}
101 inline GetKxEnvironmentResult& WithTgwStatus(TgwStatus&& value) { SetTgwStatus(std::move(value)); return *this;}
103
105
108 inline const DnsStatus& GetDnsStatus() const{ return m_dnsStatus; }
109 inline void SetDnsStatus(const DnsStatus& value) { m_dnsStatus = value; }
110 inline void SetDnsStatus(DnsStatus&& value) { m_dnsStatus = std::move(value); }
111 inline GetKxEnvironmentResult& WithDnsStatus(const DnsStatus& value) { SetDnsStatus(value); return *this;}
112 inline GetKxEnvironmentResult& WithDnsStatus(DnsStatus&& value) { SetDnsStatus(std::move(value)); return *this;}
114
116
119 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
120 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
121 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
122 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
123 inline GetKxEnvironmentResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
124 inline GetKxEnvironmentResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
125 inline GetKxEnvironmentResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
127
129
132 inline const Aws::String& GetDescription() const{ return m_description; }
133 inline void SetDescription(const Aws::String& value) { m_description = value; }
134 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
135 inline void SetDescription(const char* value) { m_description.assign(value); }
136 inline GetKxEnvironmentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
137 inline GetKxEnvironmentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
138 inline GetKxEnvironmentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
140
142
145 inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; }
146 inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArn = value; }
147 inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArn = std::move(value); }
148 inline void SetEnvironmentArn(const char* value) { m_environmentArn.assign(value); }
149 inline GetKxEnvironmentResult& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;}
150 inline GetKxEnvironmentResult& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;}
151 inline GetKxEnvironmentResult& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;}
153
155
158 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
159 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
160 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
161 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
162 inline GetKxEnvironmentResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
163 inline GetKxEnvironmentResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
164 inline GetKxEnvironmentResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
166
168
171 inline const Aws::String& GetDedicatedServiceAccountId() const{ return m_dedicatedServiceAccountId; }
172 inline void SetDedicatedServiceAccountId(const Aws::String& value) { m_dedicatedServiceAccountId = value; }
173 inline void SetDedicatedServiceAccountId(Aws::String&& value) { m_dedicatedServiceAccountId = std::move(value); }
174 inline void SetDedicatedServiceAccountId(const char* value) { m_dedicatedServiceAccountId.assign(value); }
179
181
182 inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const{ return m_transitGatewayConfiguration; }
183 inline void SetTransitGatewayConfiguration(const TransitGatewayConfiguration& value) { m_transitGatewayConfiguration = value; }
184 inline void SetTransitGatewayConfiguration(TransitGatewayConfiguration&& value) { m_transitGatewayConfiguration = std::move(value); }
188
190
194 inline const Aws::Vector<CustomDNSServer>& GetCustomDNSConfiguration() const{ return m_customDNSConfiguration; }
195 inline void SetCustomDNSConfiguration(const Aws::Vector<CustomDNSServer>& value) { m_customDNSConfiguration = value; }
196 inline void SetCustomDNSConfiguration(Aws::Vector<CustomDNSServer>&& value) { m_customDNSConfiguration = std::move(value); }
199 inline GetKxEnvironmentResult& AddCustomDNSConfiguration(const CustomDNSServer& value) { m_customDNSConfiguration.push_back(value); return *this; }
200 inline GetKxEnvironmentResult& AddCustomDNSConfiguration(CustomDNSServer&& value) { m_customDNSConfiguration.push_back(std::move(value)); return *this; }
202
204
207 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
208 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; }
209 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); }
213
215
218 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const{ return m_updateTimestamp; }
219 inline void SetUpdateTimestamp(const Aws::Utils::DateTime& value) { m_updateTimestamp = value; }
220 inline void SetUpdateTimestamp(Aws::Utils::DateTime&& value) { m_updateTimestamp = std::move(value); }
222 inline GetKxEnvironmentResult& WithUpdateTimestamp(Aws::Utils::DateTime&& value) { SetUpdateTimestamp(std::move(value)); return *this;}
224
226
230 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const{ return m_availabilityZoneIds; }
231 inline void SetAvailabilityZoneIds(const Aws::Vector<Aws::String>& value) { m_availabilityZoneIds = value; }
232 inline void SetAvailabilityZoneIds(Aws::Vector<Aws::String>&& value) { m_availabilityZoneIds = std::move(value); }
235 inline GetKxEnvironmentResult& AddAvailabilityZoneIds(const Aws::String& value) { m_availabilityZoneIds.push_back(value); return *this; }
236 inline GetKxEnvironmentResult& AddAvailabilityZoneIds(Aws::String&& value) { m_availabilityZoneIds.push_back(std::move(value)); return *this; }
237 inline GetKxEnvironmentResult& AddAvailabilityZoneIds(const char* value) { m_availabilityZoneIds.push_back(value); return *this; }
239
241
245 inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
246 inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArn = value; }
247 inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArn = std::move(value); }
248 inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArn.assign(value); }
251 inline GetKxEnvironmentResult& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;}
253
255
256 inline const Aws::String& GetRequestId() const{ return m_requestId; }
257 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
258 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
259 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
260 inline GetKxEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
261 inline GetKxEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
262 inline GetKxEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
264 private:
265
266 Aws::String m_name;
267
268 Aws::String m_environmentId;
269
270 Aws::String m_awsAccountId;
271
272 EnvironmentStatus m_status;
273
274 TgwStatus m_tgwStatus;
275
276 DnsStatus m_dnsStatus;
277
278 Aws::String m_errorMessage;
279
280 Aws::String m_description;
281
282 Aws::String m_environmentArn;
283
284 Aws::String m_kmsKeyId;
285
286 Aws::String m_dedicatedServiceAccountId;
287
288 TransitGatewayConfiguration m_transitGatewayConfiguration;
289
290 Aws::Vector<CustomDNSServer> m_customDNSConfiguration;
291
292 Aws::Utils::DateTime m_creationTimestamp;
293
294 Aws::Utils::DateTime m_updateTimestamp;
295
296 Aws::Vector<Aws::String> m_availabilityZoneIds;
297
298 Aws::String m_certificateAuthorityArn;
299
300 Aws::String m_requestId;
301 };
302
303} // namespace Model
304} // namespace finspace
305} // namespace Aws
void SetDedicatedServiceAccountId(const Aws::String &value)
GetKxEnvironmentResult & WithEnvironmentId(const char *value)
GetKxEnvironmentResult & WithRequestId(Aws::String &&value)
AWS_FINSPACE_API GetKxEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxEnvironmentResult & WithTransitGatewayConfiguration(TransitGatewayConfiguration &&value)
GetKxEnvironmentResult & WithErrorMessage(const Aws::String &value)
GetKxEnvironmentResult & AddAvailabilityZoneIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
GetKxEnvironmentResult & WithName(const Aws::String &value)
GetKxEnvironmentResult & WithEnvironmentArn(Aws::String &&value)
GetKxEnvironmentResult & WithUpdateTimestamp(const Aws::Utils::DateTime &value)
GetKxEnvironmentResult & WithRequestId(const Aws::String &value)
void SetCertificateAuthorityArn(const Aws::String &value)
GetKxEnvironmentResult & WithCreationTimestamp(Aws::Utils::DateTime &&value)
GetKxEnvironmentResult & WithDescription(Aws::String &&value)
GetKxEnvironmentResult & AddAvailabilityZoneIds(const Aws::String &value)
GetKxEnvironmentResult & WithDedicatedServiceAccountId(Aws::String &&value)
GetKxEnvironmentResult & WithCertificateAuthorityArn(Aws::String &&value)
void SetCustomDNSConfiguration(const Aws::Vector< CustomDNSServer > &value)
void SetTransitGatewayConfiguration(TransitGatewayConfiguration &&value)
GetKxEnvironmentResult & WithDnsStatus(DnsStatus &&value)
GetKxEnvironmentResult & AddAvailabilityZoneIds(const char *value)
GetKxEnvironmentResult & WithName(const char *value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
GetKxEnvironmentResult & WithKmsKeyId(Aws::String &&value)
GetKxEnvironmentResult & WithCustomDNSConfiguration(Aws::Vector< CustomDNSServer > &&value)
GetKxEnvironmentResult & WithEnvironmentArn(const char *value)
GetKxEnvironmentResult & WithDescription(const Aws::String &value)
GetKxEnvironmentResult & WithDescription(const char *value)
GetKxEnvironmentResult & WithEnvironmentId(const Aws::String &value)
GetKxEnvironmentResult & WithAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
GetKxEnvironmentResult & WithCertificateAuthorityArn(const Aws::String &value)
GetKxEnvironmentResult & WithErrorMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateTimestamp() const
const Aws::Vector< CustomDNSServer > & GetCustomDNSConfiguration() const
GetKxEnvironmentResult & WithDnsStatus(const DnsStatus &value)
GetKxEnvironmentResult & WithTgwStatus(const TgwStatus &value)
void SetUpdateTimestamp(Aws::Utils::DateTime &&value)
GetKxEnvironmentResult & WithAwsAccountId(Aws::String &&value)
GetKxEnvironmentResult & WithStatus(EnvironmentStatus &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetStatus(const EnvironmentStatus &value)
GetKxEnvironmentResult & WithTgwStatus(TgwStatus &&value)
GetKxEnvironmentResult & WithCertificateAuthorityArn(const char *value)
GetKxEnvironmentResult & WithAwsAccountId(const Aws::String &value)
void SetTransitGatewayConfiguration(const TransitGatewayConfiguration &value)
GetKxEnvironmentResult & WithKmsKeyId(const Aws::String &value)
GetKxEnvironmentResult & WithCreationTimestamp(const Aws::Utils::DateTime &value)
GetKxEnvironmentResult & WithAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
GetKxEnvironmentResult & WithCustomDNSConfiguration(const Aws::Vector< CustomDNSServer > &value)
GetKxEnvironmentResult & WithStatus(const EnvironmentStatus &value)
GetKxEnvironmentResult & WithRequestId(const char *value)
GetKxEnvironmentResult & WithDedicatedServiceAccountId(const Aws::String &value)
void SetAvailabilityZoneIds(Aws::Vector< Aws::String > &&value)
void SetCustomDNSConfiguration(Aws::Vector< CustomDNSServer > &&value)
AWS_FINSPACE_API GetKxEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKxEnvironmentResult & AddCustomDNSConfiguration(CustomDNSServer &&value)
GetKxEnvironmentResult & WithDedicatedServiceAccountId(const char *value)
GetKxEnvironmentResult & AddCustomDNSConfiguration(const CustomDNSServer &value)
GetKxEnvironmentResult & WithErrorMessage(const char *value)
GetKxEnvironmentResult & WithAwsAccountId(const char *value)
void SetUpdateTimestamp(const Aws::Utils::DateTime &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
GetKxEnvironmentResult & WithName(Aws::String &&value)
const TransitGatewayConfiguration & GetTransitGatewayConfiguration() const
GetKxEnvironmentResult & WithEnvironmentId(Aws::String &&value)
GetKxEnvironmentResult & WithEnvironmentArn(const Aws::String &value)
GetKxEnvironmentResult & WithUpdateTimestamp(Aws::Utils::DateTime &&value)
GetKxEnvironmentResult & WithKmsKeyId(const char *value)
void SetAvailabilityZoneIds(const Aws::Vector< Aws::String > &value)
GetKxEnvironmentResult & WithTransitGatewayConfiguration(const TransitGatewayConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue