AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeEndpointConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/AsyncInferenceConfig.h>
13#include <aws/sagemaker/model/DataCaptureConfig.h>
14#include <aws/sagemaker/model/ExplainerConfig.h>
15#include <aws/sagemaker/model/MetricsConfig.h>
16#include <aws/sagemaker/model/ProductionVariant.h>
17#include <aws/sagemaker/model/VpcConfig.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker {
31namespace Model {
33 public:
34 AWS_SAGEMAKER_API DescribeEndpointConfigResult() = default;
37
39
42 inline const Aws::String& GetEndpointConfigName() const { return m_endpointConfigName; }
43 template <typename EndpointConfigNameT = Aws::String>
44 void SetEndpointConfigName(EndpointConfigNameT&& value) {
45 m_endpointConfigNameHasBeenSet = true;
46 m_endpointConfigName = std::forward<EndpointConfigNameT>(value);
47 }
48 template <typename EndpointConfigNameT = Aws::String>
50 SetEndpointConfigName(std::forward<EndpointConfigNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEndpointConfigArn() const { return m_endpointConfigArn; }
60 template <typename EndpointConfigArnT = Aws::String>
61 void SetEndpointConfigArn(EndpointConfigArnT&& value) {
62 m_endpointConfigArnHasBeenSet = true;
63 m_endpointConfigArn = std::forward<EndpointConfigArnT>(value);
64 }
65 template <typename EndpointConfigArnT = Aws::String>
67 SetEndpointConfigArn(std::forward<EndpointConfigArnT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::Vector<ProductionVariant>& GetProductionVariants() const { return m_productionVariants; }
78 template <typename ProductionVariantsT = Aws::Vector<ProductionVariant>>
79 void SetProductionVariants(ProductionVariantsT&& value) {
80 m_productionVariantsHasBeenSet = true;
81 m_productionVariants = std::forward<ProductionVariantsT>(value);
82 }
83 template <typename ProductionVariantsT = Aws::Vector<ProductionVariant>>
85 SetProductionVariants(std::forward<ProductionVariantsT>(value));
86 return *this;
87 }
88 template <typename ProductionVariantsT = ProductionVariant>
90 m_productionVariantsHasBeenSet = true;
91 m_productionVariants.emplace_back(std::forward<ProductionVariantsT>(value));
92 return *this;
93 }
95
97
98 inline const DataCaptureConfig& GetDataCaptureConfig() const { return m_dataCaptureConfig; }
99 template <typename DataCaptureConfigT = DataCaptureConfig>
100 void SetDataCaptureConfig(DataCaptureConfigT&& value) {
101 m_dataCaptureConfigHasBeenSet = true;
102 m_dataCaptureConfig = std::forward<DataCaptureConfigT>(value);
103 }
104 template <typename DataCaptureConfigT = DataCaptureConfig>
106 SetDataCaptureConfig(std::forward<DataCaptureConfigT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
117 template <typename KmsKeyIdT = Aws::String>
118 void SetKmsKeyId(KmsKeyIdT&& value) {
119 m_kmsKeyIdHasBeenSet = true;
120 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
121 }
122 template <typename KmsKeyIdT = Aws::String>
124 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
134 template <typename CreationTimeT = Aws::Utils::DateTime>
135 void SetCreationTime(CreationTimeT&& value) {
136 m_creationTimeHasBeenSet = true;
137 m_creationTime = std::forward<CreationTimeT>(value);
138 }
139 template <typename CreationTimeT = Aws::Utils::DateTime>
141 SetCreationTime(std::forward<CreationTimeT>(value));
142 return *this;
143 }
145
147
152 inline const AsyncInferenceConfig& GetAsyncInferenceConfig() const { return m_asyncInferenceConfig; }
153 template <typename AsyncInferenceConfigT = AsyncInferenceConfig>
154 void SetAsyncInferenceConfig(AsyncInferenceConfigT&& value) {
155 m_asyncInferenceConfigHasBeenSet = true;
156 m_asyncInferenceConfig = std::forward<AsyncInferenceConfigT>(value);
157 }
158 template <typename AsyncInferenceConfigT = AsyncInferenceConfig>
160 SetAsyncInferenceConfig(std::forward<AsyncInferenceConfigT>(value));
161 return *this;
162 }
164
166
169 inline const ExplainerConfig& GetExplainerConfig() const { return m_explainerConfig; }
170 template <typename ExplainerConfigT = ExplainerConfig>
171 void SetExplainerConfig(ExplainerConfigT&& value) {
172 m_explainerConfigHasBeenSet = true;
173 m_explainerConfig = std::forward<ExplainerConfigT>(value);
174 }
175 template <typename ExplainerConfigT = ExplainerConfig>
177 SetExplainerConfig(std::forward<ExplainerConfigT>(value));
178 return *this;
179 }
181
183
188 inline const Aws::Vector<ProductionVariant>& GetShadowProductionVariants() const { return m_shadowProductionVariants; }
189 template <typename ShadowProductionVariantsT = Aws::Vector<ProductionVariant>>
190 void SetShadowProductionVariants(ShadowProductionVariantsT&& value) {
191 m_shadowProductionVariantsHasBeenSet = true;
192 m_shadowProductionVariants = std::forward<ShadowProductionVariantsT>(value);
193 }
194 template <typename ShadowProductionVariantsT = Aws::Vector<ProductionVariant>>
195 DescribeEndpointConfigResult& WithShadowProductionVariants(ShadowProductionVariantsT&& value) {
196 SetShadowProductionVariants(std::forward<ShadowProductionVariantsT>(value));
197 return *this;
198 }
199 template <typename ShadowProductionVariantsT = ProductionVariant>
200 DescribeEndpointConfigResult& AddShadowProductionVariants(ShadowProductionVariantsT&& value) {
201 m_shadowProductionVariantsHasBeenSet = true;
202 m_shadowProductionVariants.emplace_back(std::forward<ShadowProductionVariantsT>(value));
203 return *this;
204 }
206
208
212 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
213 template <typename ExecutionRoleArnT = Aws::String>
214 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
215 m_executionRoleArnHasBeenSet = true;
216 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
217 }
218 template <typename ExecutionRoleArnT = Aws::String>
220 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
221 return *this;
222 }
224
226
227 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
228 template <typename VpcConfigT = VpcConfig>
229 void SetVpcConfig(VpcConfigT&& value) {
230 m_vpcConfigHasBeenSet = true;
231 m_vpcConfig = std::forward<VpcConfigT>(value);
232 }
233 template <typename VpcConfigT = VpcConfig>
235 SetVpcConfig(std::forward<VpcConfigT>(value));
236 return *this;
237 }
239
241
246 inline bool GetEnableNetworkIsolation() const { return m_enableNetworkIsolation; }
247 inline void SetEnableNetworkIsolation(bool value) {
248 m_enableNetworkIsolationHasBeenSet = true;
249 m_enableNetworkIsolation = value;
250 }
253 return *this;
254 }
256
258
261 inline const MetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
262 template <typename MetricsConfigT = MetricsConfig>
263 void SetMetricsConfig(MetricsConfigT&& value) {
264 m_metricsConfigHasBeenSet = true;
265 m_metricsConfig = std::forward<MetricsConfigT>(value);
266 }
267 template <typename MetricsConfigT = MetricsConfig>
269 SetMetricsConfig(std::forward<MetricsConfigT>(value));
270 return *this;
271 }
273
275
276 inline const Aws::String& GetRequestId() const { return m_requestId; }
277 template <typename RequestIdT = Aws::String>
278 void SetRequestId(RequestIdT&& value) {
279 m_requestIdHasBeenSet = true;
280 m_requestId = std::forward<RequestIdT>(value);
281 }
282 template <typename RequestIdT = Aws::String>
284 SetRequestId(std::forward<RequestIdT>(value));
285 return *this;
286 }
288 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
289
290 private:
291 Aws::String m_endpointConfigName;
292
293 Aws::String m_endpointConfigArn;
294
295 Aws::Vector<ProductionVariant> m_productionVariants;
296
297 DataCaptureConfig m_dataCaptureConfig;
298
299 Aws::String m_kmsKeyId;
300
301 Aws::Utils::DateTime m_creationTime{};
302
303 AsyncInferenceConfig m_asyncInferenceConfig;
304
305 ExplainerConfig m_explainerConfig;
306
307 Aws::Vector<ProductionVariant> m_shadowProductionVariants;
308
309 Aws::String m_executionRoleArn;
310
311 VpcConfig m_vpcConfig;
312
313 bool m_enableNetworkIsolation{false};
314
315 MetricsConfig m_metricsConfig;
316
317 Aws::String m_requestId;
318 Aws::Http::HttpResponseCode m_HttpResponseCode;
319 bool m_endpointConfigNameHasBeenSet = false;
320 bool m_endpointConfigArnHasBeenSet = false;
321 bool m_productionVariantsHasBeenSet = false;
322 bool m_dataCaptureConfigHasBeenSet = false;
323 bool m_kmsKeyIdHasBeenSet = false;
324 bool m_creationTimeHasBeenSet = false;
325 bool m_asyncInferenceConfigHasBeenSet = false;
326 bool m_explainerConfigHasBeenSet = false;
327 bool m_shadowProductionVariantsHasBeenSet = false;
328 bool m_executionRoleArnHasBeenSet = false;
329 bool m_vpcConfigHasBeenSet = false;
330 bool m_enableNetworkIsolationHasBeenSet = false;
331 bool m_metricsConfigHasBeenSet = false;
332 bool m_requestIdHasBeenSet = false;
333};
334
335} // namespace Model
336} // namespace SageMaker
337} // namespace Aws
AWS_SAGEMAKER_API DescribeEndpointConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEndpointConfigResult & WithCreationTime(CreationTimeT &&value)
DescribeEndpointConfigResult & WithDataCaptureConfig(DataCaptureConfigT &&value)
DescribeEndpointConfigResult & AddShadowProductionVariants(ShadowProductionVariantsT &&value)
DescribeEndpointConfigResult & WithKmsKeyId(KmsKeyIdT &&value)
DescribeEndpointConfigResult & WithVpcConfig(VpcConfigT &&value)
DescribeEndpointConfigResult & WithProductionVariants(ProductionVariantsT &&value)
const Aws::Vector< ProductionVariant > & GetProductionVariants() const
DescribeEndpointConfigResult & AddProductionVariants(ProductionVariantsT &&value)
DescribeEndpointConfigResult & WithEndpointConfigArn(EndpointConfigArnT &&value)
const Aws::Vector< ProductionVariant > & GetShadowProductionVariants() const
AWS_SAGEMAKER_API DescribeEndpointConfigResult()=default
DescribeEndpointConfigResult & WithMetricsConfig(MetricsConfigT &&value)
AWS_SAGEMAKER_API DescribeEndpointConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEndpointConfigResult & WithRequestId(RequestIdT &&value)
DescribeEndpointConfigResult & WithAsyncInferenceConfig(AsyncInferenceConfigT &&value)
DescribeEndpointConfigResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
DescribeEndpointConfigResult & WithShadowProductionVariants(ShadowProductionVariantsT &&value)
DescribeEndpointConfigResult & WithEnableNetworkIsolation(bool value)
DescribeEndpointConfigResult & WithEndpointConfigName(EndpointConfigNameT &&value)
DescribeEndpointConfigResult & WithExplainerConfig(ExplainerConfigT &&value)
void SetShadowProductionVariants(ShadowProductionVariantsT &&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