AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeAlgorithmResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/TrainingSpecification.h>
11#include <aws/sagemaker/model/InferenceSpecification.h>
12#include <aws/sagemaker/model/AlgorithmValidationSpecification.h>
13#include <aws/sagemaker/model/AlgorithmStatus.h>
14#include <aws/sagemaker/model/AlgorithmStatusDetails.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SAGEMAKER_API DescribeAlgorithmResult() = default;
39
40
42
45 inline const Aws::String& GetAlgorithmName() const { return m_algorithmName; }
46 template<typename AlgorithmNameT = Aws::String>
47 void SetAlgorithmName(AlgorithmNameT&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::forward<AlgorithmNameT>(value); }
48 template<typename AlgorithmNameT = Aws::String>
49 DescribeAlgorithmResult& WithAlgorithmName(AlgorithmNameT&& value) { SetAlgorithmName(std::forward<AlgorithmNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAlgorithmArn() const { return m_algorithmArn; }
57 template<typename AlgorithmArnT = Aws::String>
58 void SetAlgorithmArn(AlgorithmArnT&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::forward<AlgorithmArnT>(value); }
59 template<typename AlgorithmArnT = Aws::String>
60 DescribeAlgorithmResult& WithAlgorithmArn(AlgorithmArnT&& value) { SetAlgorithmArn(std::forward<AlgorithmArnT>(value)); return *this;}
62
64
67 inline const Aws::String& GetAlgorithmDescription() const { return m_algorithmDescription; }
68 template<typename AlgorithmDescriptionT = Aws::String>
69 void SetAlgorithmDescription(AlgorithmDescriptionT&& value) { m_algorithmDescriptionHasBeenSet = true; m_algorithmDescription = std::forward<AlgorithmDescriptionT>(value); }
70 template<typename AlgorithmDescriptionT = Aws::String>
71 DescribeAlgorithmResult& WithAlgorithmDescription(AlgorithmDescriptionT&& value) { SetAlgorithmDescription(std::forward<AlgorithmDescriptionT>(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
79 template<typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
81 template<typename CreationTimeT = Aws::Utils::DateTime>
82 DescribeAlgorithmResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
84
86
89 inline const TrainingSpecification& GetTrainingSpecification() const { return m_trainingSpecification; }
90 template<typename TrainingSpecificationT = TrainingSpecification>
91 void SetTrainingSpecification(TrainingSpecificationT&& value) { m_trainingSpecificationHasBeenSet = true; m_trainingSpecification = std::forward<TrainingSpecificationT>(value); }
92 template<typename TrainingSpecificationT = TrainingSpecification>
93 DescribeAlgorithmResult& WithTrainingSpecification(TrainingSpecificationT&& value) { SetTrainingSpecification(std::forward<TrainingSpecificationT>(value)); return *this;}
95
97
100 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
101 template<typename InferenceSpecificationT = InferenceSpecification>
102 void SetInferenceSpecification(InferenceSpecificationT&& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = std::forward<InferenceSpecificationT>(value); }
103 template<typename InferenceSpecificationT = InferenceSpecification>
104 DescribeAlgorithmResult& WithInferenceSpecification(InferenceSpecificationT&& value) { SetInferenceSpecification(std::forward<InferenceSpecificationT>(value)); return *this;}
106
108
112 inline const AlgorithmValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
113 template<typename ValidationSpecificationT = AlgorithmValidationSpecification>
114 void SetValidationSpecification(ValidationSpecificationT&& value) { m_validationSpecificationHasBeenSet = true; m_validationSpecification = std::forward<ValidationSpecificationT>(value); }
115 template<typename ValidationSpecificationT = AlgorithmValidationSpecification>
116 DescribeAlgorithmResult& WithValidationSpecification(ValidationSpecificationT&& value) { SetValidationSpecification(std::forward<ValidationSpecificationT>(value)); return *this;}
118
120
123 inline AlgorithmStatus GetAlgorithmStatus() const { return m_algorithmStatus; }
124 inline void SetAlgorithmStatus(AlgorithmStatus value) { m_algorithmStatusHasBeenSet = true; m_algorithmStatus = value; }
127
129
132 inline const AlgorithmStatusDetails& GetAlgorithmStatusDetails() const { return m_algorithmStatusDetails; }
133 template<typename AlgorithmStatusDetailsT = AlgorithmStatusDetails>
134 void SetAlgorithmStatusDetails(AlgorithmStatusDetailsT&& value) { m_algorithmStatusDetailsHasBeenSet = true; m_algorithmStatusDetails = std::forward<AlgorithmStatusDetailsT>(value); }
135 template<typename AlgorithmStatusDetailsT = AlgorithmStatusDetails>
136 DescribeAlgorithmResult& WithAlgorithmStatusDetails(AlgorithmStatusDetailsT&& value) { SetAlgorithmStatusDetails(std::forward<AlgorithmStatusDetailsT>(value)); return *this;}
138
140
143 inline const Aws::String& GetProductId() const { return m_productId; }
144 template<typename ProductIdT = Aws::String>
145 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet = true; m_productId = std::forward<ProductIdT>(value); }
146 template<typename ProductIdT = Aws::String>
147 DescribeAlgorithmResult& WithProductId(ProductIdT&& value) { SetProductId(std::forward<ProductIdT>(value)); return *this;}
149
151
155 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
156 inline void SetCertifyForMarketplace(bool value) { m_certifyForMarketplaceHasBeenSet = true; m_certifyForMarketplace = value; }
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template<typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
165 template<typename RequestIdT = Aws::String>
166 DescribeAlgorithmResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
168 private:
169
170 Aws::String m_algorithmName;
171 bool m_algorithmNameHasBeenSet = false;
172
173 Aws::String m_algorithmArn;
174 bool m_algorithmArnHasBeenSet = false;
175
176 Aws::String m_algorithmDescription;
177 bool m_algorithmDescriptionHasBeenSet = false;
178
179 Aws::Utils::DateTime m_creationTime{};
180 bool m_creationTimeHasBeenSet = false;
181
182 TrainingSpecification m_trainingSpecification;
183 bool m_trainingSpecificationHasBeenSet = false;
184
185 InferenceSpecification m_inferenceSpecification;
186 bool m_inferenceSpecificationHasBeenSet = false;
187
188 AlgorithmValidationSpecification m_validationSpecification;
189 bool m_validationSpecificationHasBeenSet = false;
190
191 AlgorithmStatus m_algorithmStatus{AlgorithmStatus::NOT_SET};
192 bool m_algorithmStatusHasBeenSet = false;
193
194 AlgorithmStatusDetails m_algorithmStatusDetails;
195 bool m_algorithmStatusDetailsHasBeenSet = false;
196
197 Aws::String m_productId;
198 bool m_productIdHasBeenSet = false;
199
200 bool m_certifyForMarketplace{false};
201 bool m_certifyForMarketplaceHasBeenSet = false;
202
203 Aws::String m_requestId;
204 bool m_requestIdHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace SageMaker
209} // namespace Aws
const AlgorithmValidationSpecification & GetValidationSpecification() const
DescribeAlgorithmResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeAlgorithmResult & WithInferenceSpecification(InferenceSpecificationT &&value)
DescribeAlgorithmResult & WithAlgorithmDescription(AlgorithmDescriptionT &&value)
void SetTrainingSpecification(TrainingSpecificationT &&value)
void SetValidationSpecification(ValidationSpecificationT &&value)
DescribeAlgorithmResult & WithTrainingSpecification(TrainingSpecificationT &&value)
const AlgorithmStatusDetails & GetAlgorithmStatusDetails() const
DescribeAlgorithmResult & WithAlgorithmStatus(AlgorithmStatus value)
DescribeAlgorithmResult & WithCreationTime(CreationTimeT &&value)
void SetInferenceSpecification(InferenceSpecificationT &&value)
DescribeAlgorithmResult & WithCertifyForMarketplace(bool value)
const TrainingSpecification & GetTrainingSpecification() const
DescribeAlgorithmResult & WithProductId(ProductIdT &&value)
AWS_SAGEMAKER_API DescribeAlgorithmResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeAlgorithmResult()=default
void SetAlgorithmDescription(AlgorithmDescriptionT &&value)
DescribeAlgorithmResult & WithAlgorithmStatusDetails(AlgorithmStatusDetailsT &&value)
void SetAlgorithmStatusDetails(AlgorithmStatusDetailsT &&value)
DescribeAlgorithmResult & WithAlgorithmArn(AlgorithmArnT &&value)
AWS_SAGEMAKER_API DescribeAlgorithmResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAlgorithmResult & WithAlgorithmName(AlgorithmNameT &&value)
const InferenceSpecification & GetInferenceSpecification() const
DescribeAlgorithmResult & WithValidationSpecification(ValidationSpecificationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue