AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateKxEnvironmentResult.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 UpdateKxEnvironmentResult() = default;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 UpdateKxEnvironmentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
58 template<typename EnvironmentIdT = Aws::String>
59 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
60 template<typename EnvironmentIdT = Aws::String>
61 UpdateKxEnvironmentResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
63
65
69 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
70 template<typename AwsAccountIdT = Aws::String>
71 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
72 template<typename AwsAccountIdT = Aws::String>
73 UpdateKxEnvironmentResult& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
75
77
80 inline EnvironmentStatus GetStatus() const { return m_status; }
81 inline void SetStatus(EnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
82 inline UpdateKxEnvironmentResult& WithStatus(EnvironmentStatus value) { SetStatus(value); return *this;}
84
86
89 inline TgwStatus GetTgwStatus() const { return m_tgwStatus; }
90 inline void SetTgwStatus(TgwStatus value) { m_tgwStatusHasBeenSet = true; m_tgwStatus = value; }
91 inline UpdateKxEnvironmentResult& WithTgwStatus(TgwStatus value) { SetTgwStatus(value); return *this;}
93
95
98 inline DnsStatus GetDnsStatus() const { return m_dnsStatus; }
99 inline void SetDnsStatus(DnsStatus value) { m_dnsStatusHasBeenSet = true; m_dnsStatus = value; }
100 inline UpdateKxEnvironmentResult& WithDnsStatus(DnsStatus value) { SetDnsStatus(value); return *this;}
102
104
107 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
108 template<typename ErrorMessageT = Aws::String>
109 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
110 template<typename ErrorMessageT = Aws::String>
111 UpdateKxEnvironmentResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
113
115
118 inline const Aws::String& GetDescription() const { return m_description; }
119 template<typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
121 template<typename DescriptionT = Aws::String>
122 UpdateKxEnvironmentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
124
126
129 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
130 template<typename EnvironmentArnT = Aws::String>
131 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
132 template<typename EnvironmentArnT = Aws::String>
133 UpdateKxEnvironmentResult& WithEnvironmentArn(EnvironmentArnT&& value) { SetEnvironmentArn(std::forward<EnvironmentArnT>(value)); return *this;}
135
137
140 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
141 template<typename KmsKeyIdT = Aws::String>
142 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
143 template<typename KmsKeyIdT = Aws::String>
144 UpdateKxEnvironmentResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
146
148
151 inline const Aws::String& GetDedicatedServiceAccountId() const { return m_dedicatedServiceAccountId; }
152 template<typename DedicatedServiceAccountIdT = Aws::String>
153 void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) { m_dedicatedServiceAccountIdHasBeenSet = true; m_dedicatedServiceAccountId = std::forward<DedicatedServiceAccountIdT>(value); }
154 template<typename DedicatedServiceAccountIdT = Aws::String>
155 UpdateKxEnvironmentResult& WithDedicatedServiceAccountId(DedicatedServiceAccountIdT&& value) { SetDedicatedServiceAccountId(std::forward<DedicatedServiceAccountIdT>(value)); return *this;}
157
159
160 inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const { return m_transitGatewayConfiguration; }
161 template<typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
162 void SetTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) { m_transitGatewayConfigurationHasBeenSet = true; m_transitGatewayConfiguration = std::forward<TransitGatewayConfigurationT>(value); }
163 template<typename TransitGatewayConfigurationT = TransitGatewayConfiguration>
164 UpdateKxEnvironmentResult& WithTransitGatewayConfiguration(TransitGatewayConfigurationT&& value) { SetTransitGatewayConfiguration(std::forward<TransitGatewayConfigurationT>(value)); return *this;}
166
168
172 inline const Aws::Vector<CustomDNSServer>& GetCustomDNSConfiguration() const { return m_customDNSConfiguration; }
173 template<typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
174 void SetCustomDNSConfiguration(CustomDNSConfigurationT&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration = std::forward<CustomDNSConfigurationT>(value); }
175 template<typename CustomDNSConfigurationT = Aws::Vector<CustomDNSServer>>
176 UpdateKxEnvironmentResult& WithCustomDNSConfiguration(CustomDNSConfigurationT&& value) { SetCustomDNSConfiguration(std::forward<CustomDNSConfigurationT>(value)); return *this;}
177 template<typename CustomDNSConfigurationT = CustomDNSServer>
178 UpdateKxEnvironmentResult& AddCustomDNSConfiguration(CustomDNSConfigurationT&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration.emplace_back(std::forward<CustomDNSConfigurationT>(value)); return *this; }
180
182
185 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
186 template<typename CreationTimestampT = Aws::Utils::DateTime>
187 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
188 template<typename CreationTimestampT = Aws::Utils::DateTime>
189 UpdateKxEnvironmentResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
191
193
196 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const { return m_updateTimestamp; }
197 template<typename UpdateTimestampT = Aws::Utils::DateTime>
198 void SetUpdateTimestamp(UpdateTimestampT&& value) { m_updateTimestampHasBeenSet = true; m_updateTimestamp = std::forward<UpdateTimestampT>(value); }
199 template<typename UpdateTimestampT = Aws::Utils::DateTime>
200 UpdateKxEnvironmentResult& WithUpdateTimestamp(UpdateTimestampT&& value) { SetUpdateTimestamp(std::forward<UpdateTimestampT>(value)); return *this;}
202
204
208 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
209 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
210 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value); }
211 template<typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
212 UpdateKxEnvironmentResult& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value)); return *this;}
213 template<typename AvailabilityZoneIdsT = Aws::String>
214 UpdateKxEnvironmentResult& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) { m_availabilityZoneIdsHasBeenSet = true; m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value)); return *this; }
216
218
219 inline const Aws::String& GetRequestId() const { return m_requestId; }
220 template<typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
222 template<typename RequestIdT = Aws::String>
223 UpdateKxEnvironmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
225 private:
226
227 Aws::String m_name;
228 bool m_nameHasBeenSet = false;
229
230 Aws::String m_environmentId;
231 bool m_environmentIdHasBeenSet = false;
232
233 Aws::String m_awsAccountId;
234 bool m_awsAccountIdHasBeenSet = false;
235
237 bool m_statusHasBeenSet = false;
238
239 TgwStatus m_tgwStatus{TgwStatus::NOT_SET};
240 bool m_tgwStatusHasBeenSet = false;
241
242 DnsStatus m_dnsStatus{DnsStatus::NOT_SET};
243 bool m_dnsStatusHasBeenSet = false;
244
245 Aws::String m_errorMessage;
246 bool m_errorMessageHasBeenSet = false;
247
248 Aws::String m_description;
249 bool m_descriptionHasBeenSet = false;
250
251 Aws::String m_environmentArn;
252 bool m_environmentArnHasBeenSet = false;
253
254 Aws::String m_kmsKeyId;
255 bool m_kmsKeyIdHasBeenSet = false;
256
257 Aws::String m_dedicatedServiceAccountId;
258 bool m_dedicatedServiceAccountIdHasBeenSet = false;
259
260 TransitGatewayConfiguration m_transitGatewayConfiguration;
261 bool m_transitGatewayConfigurationHasBeenSet = false;
262
263 Aws::Vector<CustomDNSServer> m_customDNSConfiguration;
264 bool m_customDNSConfigurationHasBeenSet = false;
265
266 Aws::Utils::DateTime m_creationTimestamp{};
267 bool m_creationTimestampHasBeenSet = false;
268
269 Aws::Utils::DateTime m_updateTimestamp{};
270 bool m_updateTimestampHasBeenSet = false;
271
272 Aws::Vector<Aws::String> m_availabilityZoneIds;
273 bool m_availabilityZoneIdsHasBeenSet = false;
274
275 Aws::String m_requestId;
276 bool m_requestIdHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace finspace
281} // namespace Aws
UpdateKxEnvironmentResult & AddCustomDNSConfiguration(CustomDNSConfigurationT &&value)
UpdateKxEnvironmentResult & WithUpdateTimestamp(UpdateTimestampT &&value)
UpdateKxEnvironmentResult & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
const Aws::Vector< CustomDNSServer > & GetCustomDNSConfiguration() const
const TransitGatewayConfiguration & GetTransitGatewayConfiguration() const
UpdateKxEnvironmentResult & WithAwsAccountId(AwsAccountIdT &&value)
AWS_FINSPACE_API UpdateKxEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxEnvironmentResult & WithTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
UpdateKxEnvironmentResult & WithCreationTimestamp(CreationTimestampT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
void SetTransitGatewayConfiguration(TransitGatewayConfigurationT &&value)
AWS_FINSPACE_API UpdateKxEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxEnvironmentResult & WithDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
UpdateKxEnvironmentResult & WithDescription(DescriptionT &&value)
UpdateKxEnvironmentResult & WithEnvironmentArn(EnvironmentArnT &&value)
UpdateKxEnvironmentResult & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
UpdateKxEnvironmentResult & WithName(NameT &&value)
void SetCustomDNSConfiguration(CustomDNSConfigurationT &&value)
UpdateKxEnvironmentResult & WithRequestId(RequestIdT &&value)
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
const Aws::Utils::DateTime & GetUpdateTimestamp() const
UpdateKxEnvironmentResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetDedicatedServiceAccountId(DedicatedServiceAccountIdT &&value)
UpdateKxEnvironmentResult & WithCustomDNSConfiguration(CustomDNSConfigurationT &&value)
UpdateKxEnvironmentResult & WithErrorMessage(ErrorMessageT &&value)
UpdateKxEnvironmentResult & WithTgwStatus(TgwStatus value)
UpdateKxEnvironmentResult & WithDnsStatus(DnsStatus value)
AWS_FINSPACE_API UpdateKxEnvironmentResult()=default
UpdateKxEnvironmentResult & WithStatus(EnvironmentStatus value)
UpdateKxEnvironmentResult & WithKmsKeyId(KmsKeyIdT &&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