AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoMLJobSummary.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/AutoMLJobStatus.h>
10#include <aws/sagemaker/model/AutoMLJobSecondaryStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/AutoMLPartialFailureReason.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SAGEMAKER_API AutoMLJobSummary();
40 AWS_SAGEMAKER_API AutoMLJobSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAutoMLJobName() const{ return m_autoMLJobName; }
50 inline bool AutoMLJobNameHasBeenSet() const { return m_autoMLJobNameHasBeenSet; }
51 inline void SetAutoMLJobName(const Aws::String& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = value; }
52 inline void SetAutoMLJobName(Aws::String&& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = std::move(value); }
53 inline void SetAutoMLJobName(const char* value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName.assign(value); }
54 inline AutoMLJobSummary& WithAutoMLJobName(const Aws::String& value) { SetAutoMLJobName(value); return *this;}
55 inline AutoMLJobSummary& WithAutoMLJobName(Aws::String&& value) { SetAutoMLJobName(std::move(value)); return *this;}
56 inline AutoMLJobSummary& WithAutoMLJobName(const char* value) { SetAutoMLJobName(value); return *this;}
58
60
63 inline const Aws::String& GetAutoMLJobArn() const{ return m_autoMLJobArn; }
64 inline bool AutoMLJobArnHasBeenSet() const { return m_autoMLJobArnHasBeenSet; }
65 inline void SetAutoMLJobArn(const Aws::String& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = value; }
66 inline void SetAutoMLJobArn(Aws::String&& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = std::move(value); }
67 inline void SetAutoMLJobArn(const char* value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn.assign(value); }
68 inline AutoMLJobSummary& WithAutoMLJobArn(const Aws::String& value) { SetAutoMLJobArn(value); return *this;}
69 inline AutoMLJobSummary& WithAutoMLJobArn(Aws::String&& value) { SetAutoMLJobArn(std::move(value)); return *this;}
70 inline AutoMLJobSummary& WithAutoMLJobArn(const char* value) { SetAutoMLJobArn(value); return *this;}
72
74
77 inline const AutoMLJobStatus& GetAutoMLJobStatus() const{ return m_autoMLJobStatus; }
78 inline bool AutoMLJobStatusHasBeenSet() const { return m_autoMLJobStatusHasBeenSet; }
79 inline void SetAutoMLJobStatus(const AutoMLJobStatus& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = value; }
80 inline void SetAutoMLJobStatus(AutoMLJobStatus&& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = std::move(value); }
81 inline AutoMLJobSummary& WithAutoMLJobStatus(const AutoMLJobStatus& value) { SetAutoMLJobStatus(value); return *this;}
82 inline AutoMLJobSummary& WithAutoMLJobStatus(AutoMLJobStatus&& value) { SetAutoMLJobStatus(std::move(value)); return *this;}
84
86
89 inline const AutoMLJobSecondaryStatus& GetAutoMLJobSecondaryStatus() const{ return m_autoMLJobSecondaryStatus; }
90 inline bool AutoMLJobSecondaryStatusHasBeenSet() const { return m_autoMLJobSecondaryStatusHasBeenSet; }
91 inline void SetAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = value; }
92 inline void SetAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = std::move(value); }
96
98
101 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
102 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
103 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
104 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
105 inline AutoMLJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
106 inline AutoMLJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
114 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
115 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
116 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
117 inline AutoMLJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
118 inline AutoMLJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
126 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
127 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
128 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
130 inline AutoMLJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
138 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
139 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
140 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
141 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
142 inline AutoMLJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
143 inline AutoMLJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
144 inline AutoMLJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
146
148
151 inline const Aws::Vector<AutoMLPartialFailureReason>& GetPartialFailureReasons() const{ return m_partialFailureReasons; }
152 inline bool PartialFailureReasonsHasBeenSet() const { return m_partialFailureReasonsHasBeenSet; }
153 inline void SetPartialFailureReasons(const Aws::Vector<AutoMLPartialFailureReason>& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons = value; }
154 inline void SetPartialFailureReasons(Aws::Vector<AutoMLPartialFailureReason>&& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons = std::move(value); }
157 inline AutoMLJobSummary& AddPartialFailureReasons(const AutoMLPartialFailureReason& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons.push_back(value); return *this; }
158 inline AutoMLJobSummary& AddPartialFailureReasons(AutoMLPartialFailureReason&& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons.push_back(std::move(value)); return *this; }
160 private:
161
162 Aws::String m_autoMLJobName;
163 bool m_autoMLJobNameHasBeenSet = false;
164
165 Aws::String m_autoMLJobArn;
166 bool m_autoMLJobArnHasBeenSet = false;
167
168 AutoMLJobStatus m_autoMLJobStatus;
169 bool m_autoMLJobStatusHasBeenSet = false;
170
171 AutoMLJobSecondaryStatus m_autoMLJobSecondaryStatus;
172 bool m_autoMLJobSecondaryStatusHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationTime;
175 bool m_creationTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_endTime;
178 bool m_endTimeHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedTime;
181 bool m_lastModifiedTimeHasBeenSet = false;
182
183 Aws::String m_failureReason;
184 bool m_failureReasonHasBeenSet = false;
185
186 Aws::Vector<AutoMLPartialFailureReason> m_partialFailureReasons;
187 bool m_partialFailureReasonsHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace SageMaker
192} // namespace Aws
AutoMLJobSummary & WithAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus &&value)
const Aws::Utils::DateTime & GetEndTime() const
AutoMLJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus &value)
void SetAutoMLJobStatus(const AutoMLJobStatus &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const AutoMLJobStatus & GetAutoMLJobStatus() const
void SetAutoMLJobArn(const Aws::String &value)
AutoMLJobSummary & WithFailureReason(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAutoMLJobArn() const
AutoMLJobSummary & WithAutoMLJobName(Aws::String &&value)
AutoMLJobSummary & WithAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus &value)
const Aws::Utils::DateTime & GetCreationTime() const
AutoMLJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AutoMLJobSummary & WithAutoMLJobArn(const Aws::String &value)
AutoMLJobSummary & AddPartialFailureReasons(const AutoMLPartialFailureReason &value)
AutoMLJobSummary & WithAutoMLJobArn(const char *value)
AutoMLJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AutoMLJobSummary & WithAutoMLJobStatus(const AutoMLJobStatus &value)
AutoMLJobSummary & WithAutoMLJobStatus(AutoMLJobStatus &&value)
AutoMLJobSummary & WithFailureReason(const char *value)
void SetAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus &&value)
void SetAutoMLJobName(Aws::String &&value)
const Aws::String & GetFailureReason() const
AutoMLJobSummary & WithPartialFailureReasons(Aws::Vector< AutoMLPartialFailureReason > &&value)
void SetPartialFailureReasons(Aws::Vector< AutoMLPartialFailureReason > &&value)
void SetFailureReason(Aws::String &&value)
void SetAutoMLJobStatus(AutoMLJobStatus &&value)
void SetFailureReason(const Aws::String &value)
void SetAutoMLJobName(const Aws::String &value)
AutoMLJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AutoMLJobSummary & WithAutoMLJobArn(Aws::String &&value)
AutoMLJobSummary & AddPartialFailureReasons(AutoMLPartialFailureReason &&value)
AWS_SAGEMAKER_API AutoMLJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLJobSummary & WithAutoMLJobName(const char *value)
AutoMLJobSummary & WithEndTime(const Aws::Utils::DateTime &value)
const AutoMLJobSecondaryStatus & GetAutoMLJobSecondaryStatus() const
void SetEndTime(Aws::Utils::DateTime &&value)
AutoMLJobSummary & WithPartialFailureReasons(const Aws::Vector< AutoMLPartialFailureReason > &value)
void SetAutoMLJobArn(Aws::String &&value)
AutoMLJobSummary & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAutoMLJobName() const
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Vector< AutoMLPartialFailureReason > & GetPartialFailureReasons() const
AutoMLJobSummary & WithAutoMLJobName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetPartialFailureReasons(const Aws::Vector< AutoMLPartialFailureReason > &value)
AWS_SAGEMAKER_API AutoMLJobSummary(Aws::Utils::Json::JsonView jsonValue)
AutoMLJobSummary & WithFailureReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue