AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ExperimentSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ExperimentSource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
33 public:
34 AWS_SAGEMAKER_API ExperimentSummary() = default;
35 AWS_SAGEMAKER_API ExperimentSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetExperimentArn() const { return m_experimentArn; }
44 inline bool ExperimentArnHasBeenSet() const { return m_experimentArnHasBeenSet; }
45 template <typename ExperimentArnT = Aws::String>
46 void SetExperimentArn(ExperimentArnT&& value) {
47 m_experimentArnHasBeenSet = true;
48 m_experimentArn = std::forward<ExperimentArnT>(value);
49 }
50 template <typename ExperimentArnT = Aws::String>
51 ExperimentSummary& WithExperimentArn(ExperimentArnT&& value) {
52 SetExperimentArn(std::forward<ExperimentArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
62 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
63 template <typename ExperimentNameT = Aws::String>
64 void SetExperimentName(ExperimentNameT&& value) {
65 m_experimentNameHasBeenSet = true;
66 m_experimentName = std::forward<ExperimentNameT>(value);
67 }
68 template <typename ExperimentNameT = Aws::String>
69 ExperimentSummary& WithExperimentName(ExperimentNameT&& value) {
70 SetExperimentName(std::forward<ExperimentNameT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetDisplayName() const { return m_displayName; }
81 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
82 template <typename DisplayNameT = Aws::String>
83 void SetDisplayName(DisplayNameT&& value) {
84 m_displayNameHasBeenSet = true;
85 m_displayName = std::forward<DisplayNameT>(value);
86 }
87 template <typename DisplayNameT = Aws::String>
88 ExperimentSummary& WithDisplayName(DisplayNameT&& value) {
89 SetDisplayName(std::forward<DisplayNameT>(value));
90 return *this;
91 }
93
95
96 inline const ExperimentSource& GetExperimentSource() const { return m_experimentSource; }
97 inline bool ExperimentSourceHasBeenSet() const { return m_experimentSourceHasBeenSet; }
98 template <typename ExperimentSourceT = ExperimentSource>
99 void SetExperimentSource(ExperimentSourceT&& value) {
100 m_experimentSourceHasBeenSet = true;
101 m_experimentSource = std::forward<ExperimentSourceT>(value);
102 }
103 template <typename ExperimentSourceT = ExperimentSource>
104 ExperimentSummary& WithExperimentSource(ExperimentSourceT&& value) {
105 SetExperimentSource(std::forward<ExperimentSourceT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
115 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
116 template <typename CreationTimeT = Aws::Utils::DateTime>
117 void SetCreationTime(CreationTimeT&& value) {
118 m_creationTimeHasBeenSet = true;
119 m_creationTime = std::forward<CreationTimeT>(value);
120 }
121 template <typename CreationTimeT = Aws::Utils::DateTime>
122 ExperimentSummary& WithCreationTime(CreationTimeT&& value) {
123 SetCreationTime(std::forward<CreationTimeT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
133 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
134 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
135 void SetLastModifiedTime(LastModifiedTimeT&& value) {
136 m_lastModifiedTimeHasBeenSet = true;
137 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
138 }
139 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
140 ExperimentSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
141 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_experimentArn;
147
148 Aws::String m_experimentName;
149
150 Aws::String m_displayName;
151
152 ExperimentSource m_experimentSource;
153
154 Aws::Utils::DateTime m_creationTime{};
155
156 Aws::Utils::DateTime m_lastModifiedTime{};
157 bool m_experimentArnHasBeenSet = false;
158 bool m_experimentNameHasBeenSet = false;
159 bool m_displayNameHasBeenSet = false;
160 bool m_experimentSourceHasBeenSet = false;
161 bool m_creationTimeHasBeenSet = false;
162 bool m_lastModifiedTimeHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace SageMaker
167} // namespace Aws
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetExperimentArn(ExperimentArnT &&value)
const Aws::String & GetExperimentArn() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetExperimentName() const
AWS_SAGEMAKER_API ExperimentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentSummary & WithDisplayName(DisplayNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentSummary & WithExperimentArn(ExperimentArnT &&value)
ExperimentSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ExperimentSummary & WithExperimentName(ExperimentNameT &&value)
const ExperimentSource & GetExperimentSource() const
const Aws::String & GetDisplayName() const
void SetDisplayName(DisplayNameT &&value)
void SetExperimentName(ExperimentNameT &&value)
void SetExperimentSource(ExperimentSourceT &&value)
ExperimentSummary & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API ExperimentSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ExperimentSummary()=default
const Aws::Utils::DateTime & GetLastModifiedTime() const
ExperimentSummary & WithExperimentSource(ExperimentSourceT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue