AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrialComponentSummary.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/TrialComponentSource.h>
10#include <aws/sagemaker/model/TrialComponentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.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
40 {
41 public:
42 AWS_SAGEMAKER_API TrialComponentSummary() = default;
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetTrialComponentName() const { return m_trialComponentName; }
53 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
54 template<typename TrialComponentNameT = Aws::String>
55 void SetTrialComponentName(TrialComponentNameT&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::forward<TrialComponentNameT>(value); }
56 template<typename TrialComponentNameT = Aws::String>
57 TrialComponentSummary& WithTrialComponentName(TrialComponentNameT&& value) { SetTrialComponentName(std::forward<TrialComponentNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetTrialComponentArn() const { return m_trialComponentArn; }
65 inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; }
66 template<typename TrialComponentArnT = Aws::String>
67 void SetTrialComponentArn(TrialComponentArnT&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::forward<TrialComponentArnT>(value); }
68 template<typename TrialComponentArnT = Aws::String>
69 TrialComponentSummary& WithTrialComponentArn(TrialComponentArnT&& value) { SetTrialComponentArn(std::forward<TrialComponentArnT>(value)); return *this;}
71
73
77 inline const Aws::String& GetDisplayName() const { return m_displayName; }
78 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
79 template<typename DisplayNameT = Aws::String>
80 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
81 template<typename DisplayNameT = Aws::String>
82 TrialComponentSummary& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
84
86
87 inline const TrialComponentSource& GetTrialComponentSource() const { return m_trialComponentSource; }
88 inline bool TrialComponentSourceHasBeenSet() const { return m_trialComponentSourceHasBeenSet; }
89 template<typename TrialComponentSourceT = TrialComponentSource>
90 void SetTrialComponentSource(TrialComponentSourceT&& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = std::forward<TrialComponentSourceT>(value); }
91 template<typename TrialComponentSourceT = TrialComponentSource>
92 TrialComponentSummary& WithTrialComponentSource(TrialComponentSourceT&& value) { SetTrialComponentSource(std::forward<TrialComponentSourceT>(value)); return *this;}
94
96
100 inline const TrialComponentStatus& GetStatus() const { return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 template<typename StatusT = TrialComponentStatus>
103 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
104 template<typename StatusT = TrialComponentStatus>
105 TrialComponentSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
113 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
114 template<typename StartTimeT = Aws::Utils::DateTime>
115 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
116 template<typename StartTimeT = Aws::Utils::DateTime>
117 TrialComponentSummary& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
125 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
126 template<typename EndTimeT = Aws::Utils::DateTime>
127 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
128 template<typename EndTimeT = Aws::Utils::DateTime>
129 TrialComponentSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
137 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
138 template<typename CreationTimeT = Aws::Utils::DateTime>
139 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
140 template<typename CreationTimeT = Aws::Utils::DateTime>
141 TrialComponentSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
143
145
148 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
149 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
150 template<typename CreatedByT = UserContext>
151 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
152 template<typename CreatedByT = UserContext>
153 TrialComponentSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
161 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
162 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
163 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
164 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
165 TrialComponentSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
167
169
172 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
173 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
174 template<typename LastModifiedByT = UserContext>
175 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
176 template<typename LastModifiedByT = UserContext>
177 TrialComponentSummary& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
179 private:
180
181 Aws::String m_trialComponentName;
182 bool m_trialComponentNameHasBeenSet = false;
183
184 Aws::String m_trialComponentArn;
185 bool m_trialComponentArnHasBeenSet = false;
186
187 Aws::String m_displayName;
188 bool m_displayNameHasBeenSet = false;
189
190 TrialComponentSource m_trialComponentSource;
191 bool m_trialComponentSourceHasBeenSet = false;
192
193 TrialComponentStatus m_status;
194 bool m_statusHasBeenSet = false;
195
196 Aws::Utils::DateTime m_startTime{};
197 bool m_startTimeHasBeenSet = false;
198
199 Aws::Utils::DateTime m_endTime{};
200 bool m_endTimeHasBeenSet = false;
201
202 Aws::Utils::DateTime m_creationTime{};
203 bool m_creationTimeHasBeenSet = false;
204
205 UserContext m_createdBy;
206 bool m_createdByHasBeenSet = false;
207
208 Aws::Utils::DateTime m_lastModifiedTime{};
209 bool m_lastModifiedTimeHasBeenSet = false;
210
211 UserContext m_lastModifiedBy;
212 bool m_lastModifiedByHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace SageMaker
217} // namespace Aws
void SetLastModifiedTime(LastModifiedTimeT &&value)
TrialComponentSummary & WithTrialComponentArn(TrialComponentArnT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_SAGEMAKER_API TrialComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTrialComponentArn(TrialComponentArnT &&value)
TrialComponentSummary & WithDisplayName(DisplayNameT &&value)
TrialComponentSummary & WithEndTime(EndTimeT &&value)
TrialComponentSummary & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetTrialComponentSource(TrialComponentSourceT &&value)
void SetTrialComponentName(TrialComponentNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentSummary & WithTrialComponentSource(TrialComponentSourceT &&value)
const Aws::Utils::DateTime & GetStartTime() const
TrialComponentSummary & WithStartTime(StartTimeT &&value)
TrialComponentSummary & WithStatus(StatusT &&value)
TrialComponentSummary & WithCreationTime(CreationTimeT &&value)
const TrialComponentStatus & GetStatus() const
TrialComponentSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API TrialComponentSummary(Aws::Utils::Json::JsonView jsonValue)
const TrialComponentSource & GetTrialComponentSource() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API TrialComponentSummary()=default
TrialComponentSummary & WithLastModifiedBy(LastModifiedByT &&value)
TrialComponentSummary & WithTrialComponentName(TrialComponentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue