AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 InferenceExperimentSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline InferenceExperimentType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(InferenceExperimentType value) { m_typeHasBeenSet = true; m_type = value; }
66
68
72 inline const InferenceExperimentSchedule& GetSchedule() const { return m_schedule; }
73 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
74 template<typename ScheduleT = InferenceExperimentSchedule>
75 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
76 template<typename ScheduleT = InferenceExperimentSchedule>
77 InferenceExperimentSummary& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
79
81
84 inline InferenceExperimentStatus GetStatus() const { return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(InferenceExperimentStatus value) { m_statusHasBeenSet = true; m_status = value; }
89
91
94 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
95 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
96 template<typename StatusReasonT = Aws::String>
97 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
98 template<typename StatusReasonT = Aws::String>
99 InferenceExperimentSummary& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
101
103
106 inline const Aws::String& GetDescription() const { return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 template<typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
110 template<typename DescriptionT = Aws::String>
111 InferenceExperimentSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
119 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 InferenceExperimentSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
131 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
132 template<typename CompletionTimeT = Aws::Utils::DateTime>
133 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
134 template<typename CompletionTimeT = Aws::Utils::DateTime>
135 InferenceExperimentSummary& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
143 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
144 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
145 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
146 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
147 InferenceExperimentSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
149
151
156 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
157 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
158 template<typename RoleArnT = Aws::String>
159 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
160 template<typename RoleArnT = Aws::String>
161 InferenceExperimentSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
163 private:
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
169 bool m_typeHasBeenSet = false;
170
171 InferenceExperimentSchedule m_schedule;
172 bool m_scheduleHasBeenSet = false;
173
175 bool m_statusHasBeenSet = false;
176
177 Aws::String m_statusReason;
178 bool m_statusReasonHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::Utils::DateTime m_creationTime{};
184 bool m_creationTimeHasBeenSet = false;
185
186 Aws::Utils::DateTime m_completionTime{};
187 bool m_completionTimeHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastModifiedTime{};
190 bool m_lastModifiedTimeHasBeenSet = false;
191
192 Aws::String m_roleArn;
193 bool m_roleArnHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace SageMaker
198} // namespace Aws
InferenceExperimentSummary & WithDescription(DescriptionT &&value)
InferenceExperimentSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
InferenceExperimentSummary & WithCreationTime(CreationTimeT &&value)
InferenceExperimentSummary & WithStatus(InferenceExperimentStatus value)
InferenceExperimentSummary & WithSchedule(ScheduleT &&value)
InferenceExperimentSummary & WithType(InferenceExperimentType value)
AWS_SAGEMAKER_API InferenceExperimentSummary()=default
InferenceExperimentSummary & WithCompletionTime(CompletionTimeT &&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 & WithStatusReason(StatusReasonT &&value)
InferenceExperimentSummary & WithName(NameT &&value)
InferenceExperimentSummary & WithRoleArn(RoleArnT &&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