AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchInferenceJobSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/personalize/model/BatchInferenceJobMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Personalize
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_PERSONALIZE_API BatchInferenceJobSummary() = default;
44 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetBatchInferenceJobArn() const { return m_batchInferenceJobArn; }
52 inline bool BatchInferenceJobArnHasBeenSet() const { return m_batchInferenceJobArnHasBeenSet; }
53 template<typename BatchInferenceJobArnT = Aws::String>
54 void SetBatchInferenceJobArn(BatchInferenceJobArnT&& value) { m_batchInferenceJobArnHasBeenSet = true; m_batchInferenceJobArn = std::forward<BatchInferenceJobArnT>(value); }
55 template<typename BatchInferenceJobArnT = Aws::String>
56 BatchInferenceJobSummary& WithBatchInferenceJobArn(BatchInferenceJobArnT&& value) { SetBatchInferenceJobArn(std::forward<BatchInferenceJobArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetJobName() const { return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 template<typename JobNameT = Aws::String>
66 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
67 template<typename JobNameT = Aws::String>
68 BatchInferenceJobSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
70
72
77 inline const Aws::String& GetStatus() const { return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 template<typename StatusT = Aws::String>
80 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
81 template<typename StatusT = Aws::String>
82 BatchInferenceJobSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
90 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
91 template<typename CreationDateTimeT = Aws::Utils::DateTime>
92 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
93 template<typename CreationDateTimeT = Aws::Utils::DateTime>
94 BatchInferenceJobSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
102 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
103 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
104 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
105 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
106 BatchInferenceJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
108
110
113 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
114 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
115 template<typename FailureReasonT = Aws::String>
116 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
117 template<typename FailureReasonT = Aws::String>
118 BatchInferenceJobSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
120
122
125 inline const Aws::String& GetSolutionVersionArn() const { return m_solutionVersionArn; }
126 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
127 template<typename SolutionVersionArnT = Aws::String>
128 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
129 template<typename SolutionVersionArnT = Aws::String>
130 BatchInferenceJobSummary& WithSolutionVersionArn(SolutionVersionArnT&& value) { SetSolutionVersionArn(std::forward<SolutionVersionArnT>(value)); return *this;}
132
134
137 inline BatchInferenceJobMode GetBatchInferenceJobMode() const { return m_batchInferenceJobMode; }
138 inline bool BatchInferenceJobModeHasBeenSet() const { return m_batchInferenceJobModeHasBeenSet; }
139 inline void SetBatchInferenceJobMode(BatchInferenceJobMode value) { m_batchInferenceJobModeHasBeenSet = true; m_batchInferenceJobMode = value; }
142 private:
143
144 Aws::String m_batchInferenceJobArn;
145 bool m_batchInferenceJobArnHasBeenSet = false;
146
147 Aws::String m_jobName;
148 bool m_jobNameHasBeenSet = false;
149
150 Aws::String m_status;
151 bool m_statusHasBeenSet = false;
152
153 Aws::Utils::DateTime m_creationDateTime{};
154 bool m_creationDateTimeHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastUpdatedDateTime{};
157 bool m_lastUpdatedDateTimeHasBeenSet = false;
158
159 Aws::String m_failureReason;
160 bool m_failureReasonHasBeenSet = false;
161
162 Aws::String m_solutionVersionArn;
163 bool m_solutionVersionArnHasBeenSet = false;
164
166 bool m_batchInferenceJobModeHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace Personalize
171} // namespace Aws
BatchInferenceJobSummary & WithBatchInferenceJobMode(BatchInferenceJobMode value)
BatchInferenceJobSummary & WithSolutionVersionArn(SolutionVersionArnT &&value)
BatchInferenceJobSummary & WithJobName(JobNameT &&value)
AWS_PERSONALIZE_API BatchInferenceJobSummary()=default
BatchInferenceJobSummary & WithStatus(StatusT &&value)
BatchInferenceJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
BatchInferenceJobSummary & WithBatchInferenceJobArn(BatchInferenceJobArnT &&value)
BatchInferenceJobSummary & WithFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API BatchInferenceJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBatchInferenceJobArn(BatchInferenceJobArnT &&value)
AWS_PERSONALIZE_API BatchInferenceJobSummary(Aws::Utils::Json::JsonView jsonValue)
BatchInferenceJobSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue