AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceRecommendationsJob.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/RecommendationJobType.h>
10#include <aws/sagemaker/model/RecommendationJobStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API InferenceRecommendationsJob();
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetJobName() const{ return m_jobName; }
49 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
50 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
51 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
52 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
53 inline InferenceRecommendationsJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
54 inline InferenceRecommendationsJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
55 inline InferenceRecommendationsJob& WithJobName(const char* value) { SetJobName(value); return *this;}
57
59
62 inline const Aws::String& GetJobDescription() const{ return m_jobDescription; }
63 inline bool JobDescriptionHasBeenSet() const { return m_jobDescriptionHasBeenSet; }
64 inline void SetJobDescription(const Aws::String& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = value; }
65 inline void SetJobDescription(Aws::String&& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = std::move(value); }
66 inline void SetJobDescription(const char* value) { m_jobDescriptionHasBeenSet = true; m_jobDescription.assign(value); }
67 inline InferenceRecommendationsJob& WithJobDescription(const Aws::String& value) { SetJobDescription(value); return *this;}
68 inline InferenceRecommendationsJob& WithJobDescription(Aws::String&& value) { SetJobDescription(std::move(value)); return *this;}
69 inline InferenceRecommendationsJob& WithJobDescription(const char* value) { SetJobDescription(value); return *this;}
71
73
76 inline const RecommendationJobType& GetJobType() const{ return m_jobType; }
77 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
78 inline void SetJobType(const RecommendationJobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
79 inline void SetJobType(RecommendationJobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
80 inline InferenceRecommendationsJob& WithJobType(const RecommendationJobType& value) { SetJobType(value); return *this;}
81 inline InferenceRecommendationsJob& WithJobType(RecommendationJobType&& value) { SetJobType(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
89 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
90 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
91 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
92 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
93 inline InferenceRecommendationsJob& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
94 inline InferenceRecommendationsJob& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
95 inline InferenceRecommendationsJob& WithJobArn(const char* value) { SetJobArn(value); return *this;}
97
99
102 inline const RecommendationJobStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const RecommendationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(RecommendationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline InferenceRecommendationsJob& WithStatus(const RecommendationJobStatus& value) { SetStatus(value); return *this;}
107 inline InferenceRecommendationsJob& WithStatus(RecommendationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
115 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
116 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
117 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
119 inline InferenceRecommendationsJob& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
127 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
128 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
129 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
133
135
139 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
140 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
141 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
142 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
143 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
144 inline InferenceRecommendationsJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
145 inline InferenceRecommendationsJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
146 inline InferenceRecommendationsJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
154 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
155 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
156 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
160
162
165 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
166 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
167 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
168 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
169 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
170 inline InferenceRecommendationsJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
171 inline InferenceRecommendationsJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
172 inline InferenceRecommendationsJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
174
176
179 inline const Aws::String& GetModelName() const{ return m_modelName; }
180 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
181 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
182 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
183 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
184 inline InferenceRecommendationsJob& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
185 inline InferenceRecommendationsJob& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
186 inline InferenceRecommendationsJob& WithModelName(const char* value) { SetModelName(value); return *this;}
188
190
195 inline const Aws::String& GetSamplePayloadUrl() const{ return m_samplePayloadUrl; }
196 inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; }
197 inline void SetSamplePayloadUrl(const Aws::String& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = value; }
198 inline void SetSamplePayloadUrl(Aws::String&& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = std::move(value); }
199 inline void SetSamplePayloadUrl(const char* value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl.assign(value); }
201 inline InferenceRecommendationsJob& WithSamplePayloadUrl(Aws::String&& value) { SetSamplePayloadUrl(std::move(value)); return *this;}
202 inline InferenceRecommendationsJob& WithSamplePayloadUrl(const char* value) { SetSamplePayloadUrl(value); return *this;}
204
206
209 inline const Aws::String& GetModelPackageVersionArn() const{ return m_modelPackageVersionArn; }
210 inline bool ModelPackageVersionArnHasBeenSet() const { return m_modelPackageVersionArnHasBeenSet; }
211 inline void SetModelPackageVersionArn(const Aws::String& value) { m_modelPackageVersionArnHasBeenSet = true; m_modelPackageVersionArn = value; }
212 inline void SetModelPackageVersionArn(Aws::String&& value) { m_modelPackageVersionArnHasBeenSet = true; m_modelPackageVersionArn = std::move(value); }
213 inline void SetModelPackageVersionArn(const char* value) { m_modelPackageVersionArnHasBeenSet = true; m_modelPackageVersionArn.assign(value); }
216 inline InferenceRecommendationsJob& WithModelPackageVersionArn(const char* value) { SetModelPackageVersionArn(value); return *this;}
218 private:
219
220 Aws::String m_jobName;
221 bool m_jobNameHasBeenSet = false;
222
223 Aws::String m_jobDescription;
224 bool m_jobDescriptionHasBeenSet = false;
225
226 RecommendationJobType m_jobType;
227 bool m_jobTypeHasBeenSet = false;
228
229 Aws::String m_jobArn;
230 bool m_jobArnHasBeenSet = false;
231
233 bool m_statusHasBeenSet = false;
234
235 Aws::Utils::DateTime m_creationTime;
236 bool m_creationTimeHasBeenSet = false;
237
238 Aws::Utils::DateTime m_completionTime;
239 bool m_completionTimeHasBeenSet = false;
240
241 Aws::String m_roleArn;
242 bool m_roleArnHasBeenSet = false;
243
244 Aws::Utils::DateTime m_lastModifiedTime;
245 bool m_lastModifiedTimeHasBeenSet = false;
246
247 Aws::String m_failureReason;
248 bool m_failureReasonHasBeenSet = false;
249
250 Aws::String m_modelName;
251 bool m_modelNameHasBeenSet = false;
252
253 Aws::String m_samplePayloadUrl;
254 bool m_samplePayloadUrlHasBeenSet = false;
255
256 Aws::String m_modelPackageVersionArn;
257 bool m_modelPackageVersionArnHasBeenSet = false;
258 };
259
260} // namespace Model
261} // namespace SageMaker
262} // namespace Aws
InferenceRecommendationsJob & WithSamplePayloadUrl(Aws::String &&value)
InferenceRecommendationsJob & WithJobType(RecommendationJobType &&value)
InferenceRecommendationsJob & WithSamplePayloadUrl(const Aws::String &value)
InferenceRecommendationsJob & WithFailureReason(const Aws::String &value)
InferenceRecommendationsJob & WithCreationTime(Aws::Utils::DateTime &&value)
InferenceRecommendationsJob & WithFailureReason(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceRecommendationsJob & WithSamplePayloadUrl(const char *value)
InferenceRecommendationsJob & WithRoleArn(const Aws::String &value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
InferenceRecommendationsJob & WithJobArn(Aws::String &&value)
InferenceRecommendationsJob & WithCompletionTime(Aws::Utils::DateTime &&value)
InferenceRecommendationsJob & WithRoleArn(const char *value)
InferenceRecommendationsJob & WithStatus(const RecommendationJobStatus &value)
AWS_SAGEMAKER_API InferenceRecommendationsJob(Aws::Utils::Json::JsonView jsonValue)
InferenceRecommendationsJob & WithModelPackageVersionArn(const char *value)
InferenceRecommendationsJob & WithJobArn(const Aws::String &value)
InferenceRecommendationsJob & WithJobName(const char *value)
InferenceRecommendationsJob & WithCompletionTime(const Aws::Utils::DateTime &value)
InferenceRecommendationsJob & WithCreationTime(const Aws::Utils::DateTime &value)
InferenceRecommendationsJob & WithLastModifiedTime(const Aws::Utils::DateTime &value)
InferenceRecommendationsJob & WithJobName(const Aws::String &value)
InferenceRecommendationsJob & WithStatus(RecommendationJobStatus &&value)
InferenceRecommendationsJob & WithModelName(Aws::String &&value)
InferenceRecommendationsJob & WithRoleArn(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
InferenceRecommendationsJob & WithModelPackageVersionArn(Aws::String &&value)
InferenceRecommendationsJob & WithModelName(const char *value)
InferenceRecommendationsJob & WithJobName(Aws::String &&value)
AWS_SAGEMAKER_API InferenceRecommendationsJob & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceRecommendationsJob & WithJobType(const RecommendationJobType &value)
InferenceRecommendationsJob & WithLastModifiedTime(Aws::Utils::DateTime &&value)
InferenceRecommendationsJob & WithJobDescription(const Aws::String &value)
void SetStatus(const RecommendationJobStatus &value)
InferenceRecommendationsJob & WithJobArn(const char *value)
InferenceRecommendationsJob & WithJobDescription(const char *value)
InferenceRecommendationsJob & WithModelPackageVersionArn(const Aws::String &value)
InferenceRecommendationsJob & WithModelName(const Aws::String &value)
InferenceRecommendationsJob & WithFailureReason(Aws::String &&value)
InferenceRecommendationsJob & WithJobDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue