AWS SDK for C++  0.14.3
AWS SDK for C++
GetEvaluationResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Json
30 {
31  class JsonValue;
32 } // namespace Json
33 } // namespace Utils
34 namespace MachineLearning
35 {
36 namespace Model
37 {
43  {
44  public:
48 
53  inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; }
54 
59  inline void SetEvaluationId(const Aws::String& value) { m_evaluationId = value; }
60 
65  inline void SetEvaluationId(Aws::String&& value) { m_evaluationId = value; }
66 
71  inline void SetEvaluationId(const char* value) { m_evaluationId.assign(value); }
72 
77  inline GetEvaluationResult& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
78 
83  inline GetEvaluationResult& WithEvaluationId(Aws::String&& value) { SetEvaluationId(value); return *this;}
84 
89  inline GetEvaluationResult& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
90 
94  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
95 
99  inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
100 
104  inline void SetMLModelId(Aws::String&& value) { m_mLModelId = value; }
105 
109  inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
110 
114  inline GetEvaluationResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
115 
119  inline GetEvaluationResult& WithMLModelId(Aws::String&& value) { SetMLModelId(value); return *this;}
120 
124  inline GetEvaluationResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
125 
129  inline const Aws::String& GetEvaluationDataSourceId() const{ return m_evaluationDataSourceId; }
130 
134  inline void SetEvaluationDataSourceId(const Aws::String& value) { m_evaluationDataSourceId = value; }
135 
139  inline void SetEvaluationDataSourceId(Aws::String&& value) { m_evaluationDataSourceId = value; }
140 
144  inline void SetEvaluationDataSourceId(const char* value) { m_evaluationDataSourceId.assign(value); }
145 
149  inline GetEvaluationResult& WithEvaluationDataSourceId(const Aws::String& value) { SetEvaluationDataSourceId(value); return *this;}
150 
154  inline GetEvaluationResult& WithEvaluationDataSourceId(Aws::String&& value) { SetEvaluationDataSourceId(value); return *this;}
155 
159  inline GetEvaluationResult& WithEvaluationDataSourceId(const char* value) { SetEvaluationDataSourceId(value); return *this;}
160 
165  inline const Aws::String& GetInputDataLocationS3() const{ return m_inputDataLocationS3; }
166 
171  inline void SetInputDataLocationS3(const Aws::String& value) { m_inputDataLocationS3 = value; }
172 
177  inline void SetInputDataLocationS3(Aws::String&& value) { m_inputDataLocationS3 = value; }
178 
183  inline void SetInputDataLocationS3(const char* value) { m_inputDataLocationS3.assign(value); }
184 
189  inline GetEvaluationResult& WithInputDataLocationS3(const Aws::String& value) { SetInputDataLocationS3(value); return *this;}
190 
195  inline GetEvaluationResult& WithInputDataLocationS3(Aws::String&& value) { SetInputDataLocationS3(value); return *this;}
196 
201  inline GetEvaluationResult& WithInputDataLocationS3(const char* value) { SetInputDataLocationS3(value); return *this;}
202 
208  inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
209 
215  inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUser = value; }
216 
222  inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUser = value; }
223 
229  inline void SetCreatedByIamUser(const char* value) { m_createdByIamUser.assign(value); }
230 
236  inline GetEvaluationResult& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
237 
243  inline GetEvaluationResult& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(value); return *this;}
244 
250  inline GetEvaluationResult& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
251 
256  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
257 
262  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
263 
268  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = value; }
269 
274  inline GetEvaluationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
275 
280  inline GetEvaluationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(value); return *this;}
281 
286  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
287 
292  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
293 
298  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = value; }
299 
304  inline GetEvaluationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
305 
310  inline GetEvaluationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(value); return *this;}
311 
315  inline const Aws::String& GetName() const{ return m_name; }
316 
320  inline void SetName(const Aws::String& value) { m_name = value; }
321 
325  inline void SetName(Aws::String&& value) { m_name = value; }
326 
330  inline void SetName(const char* value) { m_name.assign(value); }
331 
335  inline GetEvaluationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
336 
340  inline GetEvaluationResult& WithName(Aws::String&& value) { SetName(value); return *this;}
341 
345  inline GetEvaluationResult& WithName(const char* value) { SetName(value); return *this;}
346 
357  inline const EntityStatus& GetStatus() const{ return m_status; }
358 
369  inline void SetStatus(const EntityStatus& value) { m_status = value; }
370 
381  inline void SetStatus(EntityStatus&& value) { m_status = value; }
382 
393  inline GetEvaluationResult& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
394 
405  inline GetEvaluationResult& WithStatus(EntityStatus&& value) { SetStatus(value); return *this;}
406 
422  inline const PerformanceMetrics& GetPerformanceMetrics() const{ return m_performanceMetrics; }
423 
439  inline void SetPerformanceMetrics(const PerformanceMetrics& value) { m_performanceMetrics = value; }
440 
456  inline void SetPerformanceMetrics(PerformanceMetrics&& value) { m_performanceMetrics = value; }
457 
473  inline GetEvaluationResult& WithPerformanceMetrics(const PerformanceMetrics& value) { SetPerformanceMetrics(value); return *this;}
474 
490  inline GetEvaluationResult& WithPerformanceMetrics(PerformanceMetrics&& value) { SetPerformanceMetrics(value); return *this;}
491 
496  inline const Aws::String& GetLogUri() const{ return m_logUri; }
497 
502  inline void SetLogUri(const Aws::String& value) { m_logUri = value; }
503 
508  inline void SetLogUri(Aws::String&& value) { m_logUri = value; }
509 
514  inline void SetLogUri(const char* value) { m_logUri.assign(value); }
515 
520  inline GetEvaluationResult& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
521 
526  inline GetEvaluationResult& WithLogUri(Aws::String&& value) { SetLogUri(value); return *this;}
527 
532  inline GetEvaluationResult& WithLogUri(const char* value) { SetLogUri(value); return *this;}
533 
538  inline const Aws::String& GetMessage() const{ return m_message; }
539 
544  inline void SetMessage(const Aws::String& value) { m_message = value; }
545 
550  inline void SetMessage(Aws::String&& value) { m_message = value; }
551 
556  inline void SetMessage(const char* value) { m_message.assign(value); }
557 
562  inline GetEvaluationResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
563 
568  inline GetEvaluationResult& WithMessage(Aws::String&& value) { SetMessage(value); return *this;}
569 
574  inline GetEvaluationResult& WithMessage(const char* value) { SetMessage(value); return *this;}
575 
582  inline long long GetComputeTime() const{ return m_computeTime; }
583 
590  inline void SetComputeTime(long long value) { m_computeTime = value; }
591 
598  inline GetEvaluationResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
599 
606  inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
607 
614  inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAt = value; }
615 
622  inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAt = value; }
623 
630  inline GetEvaluationResult& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
631 
638  inline GetEvaluationResult& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(value); return *this;}
639 
646  inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
647 
654  inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
655 
662  inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = value; }
663 
670  inline GetEvaluationResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
671 
678  inline GetEvaluationResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(value); return *this;}
679 
680  private:
681  Aws::String m_evaluationId;
682  Aws::String m_mLModelId;
683  Aws::String m_evaluationDataSourceId;
684  Aws::String m_inputDataLocationS3;
685  Aws::String m_createdByIamUser;
686  Aws::Utils::DateTime m_createdAt;
687  Aws::Utils::DateTime m_lastUpdatedAt;
688  Aws::String m_name;
689  EntityStatus m_status;
690  PerformanceMetrics m_performanceMetrics;
691  Aws::String m_logUri;
692  Aws::String m_message;
693  long long m_computeTime;
694  Aws::Utils::DateTime m_finishedAt;
695  Aws::Utils::DateTime m_startedAt;
696  };
697 
698 } // namespace Model
699 } // namespace MachineLearning
700 } // namespace Aws
GetEvaluationResult & WithFinishedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithEvaluationDataSourceId(Aws::String &&value)
GetEvaluationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithCreatedByIamUser(const Aws::String &value)
GetEvaluationResult & WithEvaluationDataSourceId(const char *value)
GetEvaluationResult & WithInputDataLocationS3(Aws::String &&value)
GetEvaluationResult & WithEvaluationDataSourceId(const Aws::String &value)
GetEvaluationResult & WithEvaluationId(const Aws::String &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetPerformanceMetrics(PerformanceMetrics &&value)
GetEvaluationResult & WithInputDataLocationS3(const Aws::String &value)
GetEvaluationResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithMLModelId(const char *value)
GetEvaluationResult & WithLogUri(Aws::String &&value)
GetEvaluationResult & WithName(const char *value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetFinishedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetInputDataLocationS3(const Aws::String &value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithPerformanceMetrics(PerformanceMetrics &&value)
GetEvaluationResult & WithInputDataLocationS3(const char *value)
GetEvaluationResult & WithLogUri(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetEvaluationResult & WithPerformanceMetrics(const PerformanceMetrics &value)
GetEvaluationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetEvaluationDataSourceId(const Aws::String &value)
GetEvaluationResult & WithEvaluationId(const char *value)
GetEvaluationResult & WithFinishedAt(Aws::Utils::DateTime &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithEvaluationId(Aws::String &&value)
GetEvaluationResult & WithMessage(const Aws::String &value)
void SetPerformanceMetrics(const PerformanceMetrics &value)
GetEvaluationResult & WithName(Aws::String &&value)
GetEvaluationResult & WithMLModelId(const Aws::String &value)
GetEvaluationResult & WithStatus(const EntityStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetEvaluationResult & WithCreatedByIamUser(Aws::String &&value)
GetEvaluationResult & WithMessage(Aws::String &&value)
GetEvaluationResult & WithLogUri(const char *value)
GetEvaluationResult & WithStatus(EntityStatus &&value)
GetEvaluationResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetEvaluationResult & WithComputeTime(long long value)
GetEvaluationResult & WithName(const Aws::String &value)
GetEvaluationResult & WithStartedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
GetEvaluationResult & WithMLModelId(Aws::String &&value)
GetEvaluationResult & WithMessage(const char *value)
GetEvaluationResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetEvaluationResult & WithCreatedByIamUser(const char *value)
const PerformanceMetrics & GetPerformanceMetrics() const
#define AWS_MACHINELEARNING_API
JSON (JavaScript Object Notation).
void SetCreatedAt(const Aws::Utils::DateTime &value)