AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceExperimentSummary.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/InferenceExperimentType.h>
10#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
11#include <aws/sagemaker/model/InferenceExperimentStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API InferenceExperimentSummary();
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline InferenceExperimentSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline InferenceExperimentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline InferenceExperimentSummary& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const InferenceExperimentType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const InferenceExperimentType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(InferenceExperimentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline InferenceExperimentSummary& WithType(const InferenceExperimentType& value) { SetType(value); return *this;}
68 inline InferenceExperimentSummary& WithType(InferenceExperimentType&& value) { SetType(std::move(value)); return *this;}
70
72
76 inline const InferenceExperimentSchedule& GetSchedule() const{ return m_schedule; }
77 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
78 inline void SetSchedule(const InferenceExperimentSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
79 inline void SetSchedule(InferenceExperimentSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
81 inline InferenceExperimentSummary& WithSchedule(InferenceExperimentSchedule&& value) { SetSchedule(std::move(value)); return *this;}
83
85
88 inline const InferenceExperimentStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const InferenceExperimentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(InferenceExperimentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline InferenceExperimentSummary& WithStatus(const InferenceExperimentStatus& value) { SetStatus(value); return *this;}
93 inline InferenceExperimentSummary& WithStatus(InferenceExperimentStatus&& value) { SetStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
101 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
102 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
103 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
104 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
105 inline InferenceExperimentSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
106 inline InferenceExperimentSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
107 inline InferenceExperimentSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
109
111
114 inline const Aws::String& GetDescription() const{ return m_description; }
115 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
117 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
118 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
119 inline InferenceExperimentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
120 inline InferenceExperimentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
121 inline InferenceExperimentSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
129 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
130 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
131 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
133 inline InferenceExperimentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
141 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
142 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
143 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
145 inline InferenceExperimentSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
153 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
154 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
155 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
159
161
166 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
167 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
168 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
169 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
170 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
171 inline InferenceExperimentSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
172 inline InferenceExperimentSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
173 inline InferenceExperimentSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
175 private:
176
177 Aws::String m_name;
178 bool m_nameHasBeenSet = false;
179
181 bool m_typeHasBeenSet = false;
182
184 bool m_scheduleHasBeenSet = false;
185
187 bool m_statusHasBeenSet = false;
188
189 Aws::String m_statusReason;
190 bool m_statusReasonHasBeenSet = false;
191
192 Aws::String m_description;
193 bool m_descriptionHasBeenSet = false;
194
195 Aws::Utils::DateTime m_creationTime;
196 bool m_creationTimeHasBeenSet = false;
197
198 Aws::Utils::DateTime m_completionTime;
199 bool m_completionTimeHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastModifiedTime;
202 bool m_lastModifiedTimeHasBeenSet = false;
203
204 Aws::String m_roleArn;
205 bool m_roleArnHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace SageMaker
210} // namespace Aws
const InferenceExperimentStatus & GetStatus() const
InferenceExperimentSummary & WithDescription(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
InferenceExperimentSummary & WithStatusReason(const char *value)
void SetType(const InferenceExperimentType &value)
InferenceExperimentSummary & WithCreationTime(Aws::Utils::DateTime &&value)
InferenceExperimentSummary & WithRoleArn(Aws::String &&value)
InferenceExperimentSummary & WithStatus(InferenceExperimentStatus &&value)
void SetSchedule(InferenceExperimentSchedule &&value)
InferenceExperimentSummary & WithName(Aws::String &&value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
InferenceExperimentSummary & WithType(InferenceExperimentType &&value)
InferenceExperimentSummary & WithStatusReason(const Aws::String &value)
InferenceExperimentSummary & WithType(const InferenceExperimentType &value)
InferenceExperimentSummary & WithRoleArn(const Aws::String &value)
InferenceExperimentSummary & WithName(const Aws::String &value)
InferenceExperimentSummary & WithSchedule(const InferenceExperimentSchedule &value)
InferenceExperimentSummary & WithStatusReason(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
InferenceExperimentSummary & WithRoleArn(const char *value)
InferenceExperimentSummary & WithName(const char *value)
InferenceExperimentSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const InferenceExperimentSchedule & GetSchedule() const
AWS_SAGEMAKER_API InferenceExperimentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceExperimentSummary & WithSchedule(InferenceExperimentSchedule &&value)
void SetSchedule(const InferenceExperimentSchedule &value)
InferenceExperimentSummary & WithCompletionTime(Aws::Utils::DateTime &&value)
InferenceExperimentSummary & WithStatus(const InferenceExperimentStatus &value)
InferenceExperimentSummary & WithDescription(const Aws::String &value)
void SetStatus(const InferenceExperimentStatus &value)
InferenceExperimentSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
InferenceExperimentSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
InferenceExperimentSummary & WithDescription(const char *value)
InferenceExperimentSummary & WithCompletionTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API InferenceExperimentSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue