AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TrialSummary.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/TrialSource.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 TrialSummary() = default;
35 AWS_SAGEMAKER_API TrialSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API TrialSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetTrialArn() const { return m_trialArn; }
44 inline bool TrialArnHasBeenSet() const { return m_trialArnHasBeenSet; }
45 template <typename TrialArnT = Aws::String>
46 void SetTrialArn(TrialArnT&& value) {
47 m_trialArnHasBeenSet = true;
48 m_trialArn = std::forward<TrialArnT>(value);
49 }
50 template <typename TrialArnT = Aws::String>
51 TrialSummary& WithTrialArn(TrialArnT&& value) {
52 SetTrialArn(std::forward<TrialArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetTrialName() const { return m_trialName; }
62 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
63 template <typename TrialNameT = Aws::String>
64 void SetTrialName(TrialNameT&& value) {
65 m_trialNameHasBeenSet = true;
66 m_trialName = std::forward<TrialNameT>(value);
67 }
68 template <typename TrialNameT = Aws::String>
69 TrialSummary& WithTrialName(TrialNameT&& value) {
70 SetTrialName(std::forward<TrialNameT>(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 TrialSummary& WithDisplayName(DisplayNameT&& value) {
89 SetDisplayName(std::forward<DisplayNameT>(value));
90 return *this;
91 }
93
95
96 inline const TrialSource& GetTrialSource() const { return m_trialSource; }
97 inline bool TrialSourceHasBeenSet() const { return m_trialSourceHasBeenSet; }
98 template <typename TrialSourceT = TrialSource>
99 void SetTrialSource(TrialSourceT&& value) {
100 m_trialSourceHasBeenSet = true;
101 m_trialSource = std::forward<TrialSourceT>(value);
102 }
103 template <typename TrialSourceT = TrialSource>
104 TrialSummary& WithTrialSource(TrialSourceT&& value) {
105 SetTrialSource(std::forward<TrialSourceT>(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 TrialSummary& 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 TrialSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
141 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_trialArn;
147
148 Aws::String m_trialName;
149
150 Aws::String m_displayName;
151
152 TrialSource m_trialSource;
153
154 Aws::Utils::DateTime m_creationTime{};
155
156 Aws::Utils::DateTime m_lastModifiedTime{};
157 bool m_trialArnHasBeenSet = false;
158 bool m_trialNameHasBeenSet = false;
159 bool m_displayNameHasBeenSet = false;
160 bool m_trialSourceHasBeenSet = false;
161 bool m_creationTimeHasBeenSet = false;
162 bool m_lastModifiedTimeHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace SageMaker
167} // namespace Aws
const Aws::String & GetDisplayName() const
void SetTrialName(TrialNameT &&value)
void SetCreationTime(CreationTimeT &&value)
TrialSummary & WithDisplayName(DisplayNameT &&value)
const TrialSource & GetTrialSource() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetTrialName() const
AWS_SAGEMAKER_API TrialSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTrialSource(TrialSourceT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetTrialArn(TrialArnT &&value)
AWS_SAGEMAKER_API TrialSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TrialSummary()=default
const Aws::Utils::DateTime & GetLastModifiedTime() const
TrialSummary & WithTrialArn(TrialArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
TrialSummary & WithTrialSource(TrialSourceT &&value)
TrialSummary & WithCreationTime(CreationTimeT &&value)
TrialSummary & WithTrialName(TrialNameT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetTrialArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue