AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExperimentSummary.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/ExperimentSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_SAGEMAKER_API ExperimentSummary() = default;
40 AWS_SAGEMAKER_API ExperimentSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetExperimentArn() const { return m_experimentArn; }
50 inline bool ExperimentArnHasBeenSet() const { return m_experimentArnHasBeenSet; }
51 template<typename ExperimentArnT = Aws::String>
52 void SetExperimentArn(ExperimentArnT&& value) { m_experimentArnHasBeenSet = true; m_experimentArn = std::forward<ExperimentArnT>(value); }
53 template<typename ExperimentArnT = Aws::String>
54 ExperimentSummary& WithExperimentArn(ExperimentArnT&& value) { SetExperimentArn(std::forward<ExperimentArnT>(value)); return *this;}
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) { m_experimentNameHasBeenSet = true; m_experimentName = std::forward<ExperimentNameT>(value); }
65 template<typename ExperimentNameT = Aws::String>
66 ExperimentSummary& WithExperimentName(ExperimentNameT&& value) { SetExperimentName(std::forward<ExperimentNameT>(value)); return *this;}
68
70
74 inline const Aws::String& GetDisplayName() const { return m_displayName; }
75 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
76 template<typename DisplayNameT = Aws::String>
77 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
78 template<typename DisplayNameT = Aws::String>
79 ExperimentSummary& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
81
83
84 inline const ExperimentSource& GetExperimentSource() const { return m_experimentSource; }
85 inline bool ExperimentSourceHasBeenSet() const { return m_experimentSourceHasBeenSet; }
86 template<typename ExperimentSourceT = ExperimentSource>
87 void SetExperimentSource(ExperimentSourceT&& value) { m_experimentSourceHasBeenSet = true; m_experimentSource = std::forward<ExperimentSourceT>(value); }
88 template<typename ExperimentSourceT = ExperimentSource>
89 ExperimentSummary& WithExperimentSource(ExperimentSourceT&& value) { SetExperimentSource(std::forward<ExperimentSourceT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 ExperimentSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
109 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
110 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
111 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
112 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
113 ExperimentSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
115 private:
116
117 Aws::String m_experimentArn;
118 bool m_experimentArnHasBeenSet = false;
119
120 Aws::String m_experimentName;
121 bool m_experimentNameHasBeenSet = false;
122
123 Aws::String m_displayName;
124 bool m_displayNameHasBeenSet = false;
125
126 ExperimentSource m_experimentSource;
127 bool m_experimentSourceHasBeenSet = false;
128
129 Aws::Utils::DateTime m_creationTime{};
130 bool m_creationTimeHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastModifiedTime{};
133 bool m_lastModifiedTimeHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace SageMaker
138} // 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