AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeTrialResult.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/TrialSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/UserContext.h>
12#include <aws/sagemaker/model/MetadataProperties.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SAGEMAKER_API DescribeTrialResult() = default;
37
38
40
43 inline const Aws::String& GetTrialName() const { return m_trialName; }
44 template<typename TrialNameT = Aws::String>
45 void SetTrialName(TrialNameT&& value) { m_trialNameHasBeenSet = true; m_trialName = std::forward<TrialNameT>(value); }
46 template<typename TrialNameT = Aws::String>
47 DescribeTrialResult& WithTrialName(TrialNameT&& value) { SetTrialName(std::forward<TrialNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetTrialArn() const { return m_trialArn; }
55 template<typename TrialArnT = Aws::String>
56 void SetTrialArn(TrialArnT&& value) { m_trialArnHasBeenSet = true; m_trialArn = std::forward<TrialArnT>(value); }
57 template<typename TrialArnT = Aws::String>
58 DescribeTrialResult& WithTrialArn(TrialArnT&& value) { SetTrialArn(std::forward<TrialArnT>(value)); return *this;}
60
62
66 inline const Aws::String& GetDisplayName() const { return m_displayName; }
67 template<typename DisplayNameT = Aws::String>
68 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
69 template<typename DisplayNameT = Aws::String>
70 DescribeTrialResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
78 template<typename ExperimentNameT = Aws::String>
79 void SetExperimentName(ExperimentNameT&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::forward<ExperimentNameT>(value); }
80 template<typename ExperimentNameT = Aws::String>
81 DescribeTrialResult& WithExperimentName(ExperimentNameT&& value) { SetExperimentName(std::forward<ExperimentNameT>(value)); return *this;}
83
85
89 inline const TrialSource& GetSource() const { return m_source; }
90 template<typename SourceT = TrialSource>
91 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
92 template<typename SourceT = TrialSource>
93 DescribeTrialResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
101 template<typename CreationTimeT = Aws::Utils::DateTime>
102 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
103 template<typename CreationTimeT = Aws::Utils::DateTime>
104 DescribeTrialResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
106
108
111 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
112 template<typename CreatedByT = UserContext>
113 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
114 template<typename CreatedByT = UserContext>
115 DescribeTrialResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
123 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
124 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
125 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
126 DescribeTrialResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
128
130
133 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
134 template<typename LastModifiedByT = UserContext>
135 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
136 template<typename LastModifiedByT = UserContext>
137 DescribeTrialResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
139
141
142 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
143 template<typename MetadataPropertiesT = MetadataProperties>
144 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
145 template<typename MetadataPropertiesT = MetadataProperties>
146 DescribeTrialResult& WithMetadataProperties(MetadataPropertiesT&& value) { SetMetadataProperties(std::forward<MetadataPropertiesT>(value)); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template<typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
154 template<typename RequestIdT = Aws::String>
155 DescribeTrialResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
157 private:
158
159 Aws::String m_trialName;
160 bool m_trialNameHasBeenSet = false;
161
162 Aws::String m_trialArn;
163 bool m_trialArnHasBeenSet = false;
164
165 Aws::String m_displayName;
166 bool m_displayNameHasBeenSet = false;
167
168 Aws::String m_experimentName;
169 bool m_experimentNameHasBeenSet = false;
170
171 TrialSource m_source;
172 bool m_sourceHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationTime{};
175 bool m_creationTimeHasBeenSet = false;
176
177 UserContext m_createdBy;
178 bool m_createdByHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedTime{};
181 bool m_lastModifiedTimeHasBeenSet = false;
182
183 UserContext m_lastModifiedBy;
184 bool m_lastModifiedByHasBeenSet = false;
185
186 MetadataProperties m_metadataProperties;
187 bool m_metadataPropertiesHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace SageMaker
195} // namespace Aws
void SetLastModifiedBy(LastModifiedByT &&value)
DescribeTrialResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeTrialResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeTrialResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeTrialResult & WithCreationTime(CreationTimeT &&value)
DescribeTrialResult & WithMetadataProperties(MetadataPropertiesT &&value)
const MetadataProperties & GetMetadataProperties() const
DescribeTrialResult & WithExperimentName(ExperimentNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API DescribeTrialResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeTrialResult()=default
void SetExperimentName(ExperimentNameT &&value)
DescribeTrialResult & WithDisplayName(DisplayNameT &&value)
DescribeTrialResult & WithTrialArn(TrialArnT &&value)
DescribeTrialResult & WithTrialName(TrialNameT &&value)
DescribeTrialResult & WithCreatedBy(CreatedByT &&value)
DescribeTrialResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetMetadataProperties(MetadataPropertiesT &&value)
DescribeTrialResult & WithSource(SourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue