AWS SDK for C++  0.14.3
AWS SDK for C++
GetBatchPredictionResult.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
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace MachineLearning
34 {
35 namespace Model
36 {
42  {
43  public:
47 
53  inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
54 
60  inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionId = value; }
61 
67  inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionId = value; }
68 
74  inline void SetBatchPredictionId(const char* value) { m_batchPredictionId.assign(value); }
75 
81  inline GetBatchPredictionResult& WithBatchPredictionId(const Aws::String& value) { SetBatchPredictionId(value); return *this;}
82 
88  inline GetBatchPredictionResult& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(value); return *this;}
89 
95  inline GetBatchPredictionResult& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
96 
101  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
102 
107  inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
108 
113  inline void SetMLModelId(Aws::String&& value) { m_mLModelId = value; }
114 
119  inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
120 
125  inline GetBatchPredictionResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
126 
131  inline GetBatchPredictionResult& WithMLModelId(Aws::String&& value) { SetMLModelId(value); return *this;}
132 
137  inline GetBatchPredictionResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
138 
143  inline const Aws::String& GetBatchPredictionDataSourceId() const{ return m_batchPredictionDataSourceId; }
144 
149  inline void SetBatchPredictionDataSourceId(const Aws::String& value) { m_batchPredictionDataSourceId = value; }
150 
155  inline void SetBatchPredictionDataSourceId(Aws::String&& value) { m_batchPredictionDataSourceId = value; }
156 
161  inline void SetBatchPredictionDataSourceId(const char* value) { m_batchPredictionDataSourceId.assign(value); }
162 
167  inline GetBatchPredictionResult& WithBatchPredictionDataSourceId(const Aws::String& value) { SetBatchPredictionDataSourceId(value); return *this;}
168 
173  inline GetBatchPredictionResult& WithBatchPredictionDataSourceId(Aws::String&& value) { SetBatchPredictionDataSourceId(value); return *this;}
174 
179  inline GetBatchPredictionResult& WithBatchPredictionDataSourceId(const char* value) { SetBatchPredictionDataSourceId(value); return *this;}
180 
185  inline const Aws::String& GetInputDataLocationS3() const{ return m_inputDataLocationS3; }
186 
191  inline void SetInputDataLocationS3(const Aws::String& value) { m_inputDataLocationS3 = value; }
192 
197  inline void SetInputDataLocationS3(Aws::String&& value) { m_inputDataLocationS3 = value; }
198 
203  inline void SetInputDataLocationS3(const char* value) { m_inputDataLocationS3.assign(value); }
204 
209  inline GetBatchPredictionResult& WithInputDataLocationS3(const Aws::String& value) { SetInputDataLocationS3(value); return *this;}
210 
215  inline GetBatchPredictionResult& WithInputDataLocationS3(Aws::String&& value) { SetInputDataLocationS3(value); return *this;}
216 
221  inline GetBatchPredictionResult& WithInputDataLocationS3(const char* value) { SetInputDataLocationS3(value); return *this;}
222 
228  inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
229 
235  inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUser = value; }
236 
242  inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUser = value; }
243 
249  inline void SetCreatedByIamUser(const char* value) { m_createdByIamUser.assign(value); }
250 
256  inline GetBatchPredictionResult& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
257 
263  inline GetBatchPredictionResult& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(value); return *this;}
264 
270  inline GetBatchPredictionResult& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
271 
276  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
277 
282  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
283 
288  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = value; }
289 
294  inline GetBatchPredictionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
295 
300  inline GetBatchPredictionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(value); return *this;}
301 
306  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
307 
312  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
313 
318  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = value; }
319 
324  inline GetBatchPredictionResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
325 
330  inline GetBatchPredictionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(value); return *this;}
331 
335  inline const Aws::String& GetName() const{ return m_name; }
336 
340  inline void SetName(const Aws::String& value) { m_name = value; }
341 
345  inline void SetName(Aws::String&& value) { m_name = value; }
346 
350  inline void SetName(const char* value) { m_name.assign(value); }
351 
355  inline GetBatchPredictionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
356 
360  inline GetBatchPredictionResult& WithName(Aws::String&& value) { SetName(value); return *this;}
361 
365  inline GetBatchPredictionResult& WithName(const char* value) { SetName(value); return *this;}
366 
377  inline const EntityStatus& GetStatus() const{ return m_status; }
378 
389  inline void SetStatus(const EntityStatus& value) { m_status = value; }
390 
401  inline void SetStatus(EntityStatus&& value) { m_status = value; }
402 
413  inline GetBatchPredictionResult& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
414 
425  inline GetBatchPredictionResult& WithStatus(EntityStatus&& value) { SetStatus(value); return *this;}
426 
431  inline const Aws::String& GetOutputUri() const{ return m_outputUri; }
432 
437  inline void SetOutputUri(const Aws::String& value) { m_outputUri = value; }
438 
443  inline void SetOutputUri(Aws::String&& value) { m_outputUri = value; }
444 
449  inline void SetOutputUri(const char* value) { m_outputUri.assign(value); }
450 
455  inline GetBatchPredictionResult& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;}
456 
461  inline GetBatchPredictionResult& WithOutputUri(Aws::String&& value) { SetOutputUri(value); return *this;}
462 
467  inline GetBatchPredictionResult& WithOutputUri(const char* value) { SetOutputUri(value); return *this;}
468 
473  inline const Aws::String& GetLogUri() const{ return m_logUri; }
474 
479  inline void SetLogUri(const Aws::String& value) { m_logUri = value; }
480 
485  inline void SetLogUri(Aws::String&& value) { m_logUri = value; }
486 
491  inline void SetLogUri(const char* value) { m_logUri.assign(value); }
492 
497  inline GetBatchPredictionResult& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
498 
503  inline GetBatchPredictionResult& WithLogUri(Aws::String&& value) { SetLogUri(value); return *this;}
504 
509  inline GetBatchPredictionResult& WithLogUri(const char* value) { SetLogUri(value); return *this;}
510 
515  inline const Aws::String& GetMessage() const{ return m_message; }
516 
521  inline void SetMessage(const Aws::String& value) { m_message = value; }
522 
527  inline void SetMessage(Aws::String&& value) { m_message = value; }
528 
533  inline void SetMessage(const char* value) { m_message.assign(value); }
534 
539  inline GetBatchPredictionResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
540 
545  inline GetBatchPredictionResult& WithMessage(Aws::String&& value) { SetMessage(value); return *this;}
546 
551  inline GetBatchPredictionResult& WithMessage(const char* value) { SetMessage(value); return *this;}
552 
559  inline long long GetComputeTime() const{ return m_computeTime; }
560 
567  inline void SetComputeTime(long long value) { m_computeTime = value; }
568 
575  inline GetBatchPredictionResult& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
576 
583  inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
584 
591  inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAt = value; }
592 
599  inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAt = value; }
600 
607  inline GetBatchPredictionResult& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
608 
615  inline GetBatchPredictionResult& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(value); return *this;}
616 
623  inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
624 
631  inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
632 
639  inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = value; }
640 
647  inline GetBatchPredictionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
648 
655  inline GetBatchPredictionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(value); return *this;}
656 
661  inline long long GetTotalRecordCount() const{ return m_totalRecordCount; }
662 
667  inline void SetTotalRecordCount(long long value) { m_totalRecordCount = value; }
668 
673  inline GetBatchPredictionResult& WithTotalRecordCount(long long value) { SetTotalRecordCount(value); return *this;}
674 
679  inline long long GetInvalidRecordCount() const{ return m_invalidRecordCount; }
680 
685  inline void SetInvalidRecordCount(long long value) { m_invalidRecordCount = value; }
686 
691  inline GetBatchPredictionResult& WithInvalidRecordCount(long long value) { SetInvalidRecordCount(value); return *this;}
692 
693  private:
694  Aws::String m_batchPredictionId;
695  Aws::String m_mLModelId;
696  Aws::String m_batchPredictionDataSourceId;
697  Aws::String m_inputDataLocationS3;
698  Aws::String m_createdByIamUser;
699  Aws::Utils::DateTime m_createdAt;
700  Aws::Utils::DateTime m_lastUpdatedAt;
701  Aws::String m_name;
702  EntityStatus m_status;
703  Aws::String m_outputUri;
704  Aws::String m_logUri;
705  Aws::String m_message;
706  long long m_computeTime;
707  Aws::Utils::DateTime m_finishedAt;
708  Aws::Utils::DateTime m_startedAt;
709  long long m_totalRecordCount;
710  long long m_invalidRecordCount;
711  };
712 
713 } // namespace Model
714 } // namespace MachineLearning
715 } // namespace Aws
GetBatchPredictionResult & WithLogUri(const char *value)
GetBatchPredictionResult & WithOutputUri(const Aws::String &value)
GetBatchPredictionResult & WithOutputUri(const char *value)
GetBatchPredictionResult & WithOutputUri(Aws::String &&value)
GetBatchPredictionResult & WithBatchPredictionDataSourceId(const Aws::String &value)
GetBatchPredictionResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetBatchPredictionResult & WithStatus(EntityStatus &&value)
GetBatchPredictionResult & WithLogUri(const Aws::String &value)
GetBatchPredictionResult & WithMLModelId(const char *value)
GetBatchPredictionResult & WithMessage(Aws::String &&value)
GetBatchPredictionResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetBatchPredictionResult & WithMessage(const char *value)
GetBatchPredictionResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithLogUri(Aws::String &&value)
GetBatchPredictionResult & WithMLModelId(const Aws::String &value)
GetBatchPredictionResult & WithStatus(const EntityStatus &value)
GetBatchPredictionResult & WithComputeTime(long long value)
GetBatchPredictionResult & WithInputDataLocationS3(const char *value)
GetBatchPredictionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithBatchPredictionId(const char *value)
GetBatchPredictionResult & WithBatchPredictionDataSourceId(Aws::String &&value)
GetBatchPredictionResult & WithCreatedByIamUser(const char *value)
GetBatchPredictionResult & WithInvalidRecordCount(long long value)
GetBatchPredictionResult & WithBatchPredictionId(const Aws::String &value)
GetBatchPredictionResult & WithFinishedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithMessage(const Aws::String &value)
GetBatchPredictionResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetBatchPredictionResult & WithInputDataLocationS3(Aws::String &&value)
GetBatchPredictionResult & WithCreatedByIamUser(const Aws::String &value)
GetBatchPredictionResult & WithName(const Aws::String &value)
GetBatchPredictionResult & WithInputDataLocationS3(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetBatchPredictionResult & WithMLModelId(Aws::String &&value)
GetBatchPredictionResult & WithFinishedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetBatchPredictionResult & WithName(Aws::String &&value)
GetBatchPredictionResult & WithBatchPredictionDataSourceId(const char *value)
GetBatchPredictionResult & WithName(const char *value)
GetBatchPredictionResult & WithBatchPredictionId(Aws::String &&value)
GetBatchPredictionResult & WithTotalRecordCount(long long value)
#define AWS_MACHINELEARNING_API
JSON (JavaScript Object Notation).
GetBatchPredictionResult & WithCreatedByIamUser(Aws::String &&value)