AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ExperimentConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
35 public:
36 AWS_SAGEMAKER_API ExperimentConfig() = default;
37 AWS_SAGEMAKER_API ExperimentConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
46 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
47 template <typename ExperimentNameT = Aws::String>
48 void SetExperimentName(ExperimentNameT&& value) {
49 m_experimentNameHasBeenSet = true;
50 m_experimentName = std::forward<ExperimentNameT>(value);
51 }
52 template <typename ExperimentNameT = Aws::String>
53 ExperimentConfig& WithExperimentName(ExperimentNameT&& value) {
54 SetExperimentName(std::forward<ExperimentNameT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetTrialName() const { return m_trialName; }
65 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
66 template <typename TrialNameT = Aws::String>
67 void SetTrialName(TrialNameT&& value) {
68 m_trialNameHasBeenSet = true;
69 m_trialName = std::forward<TrialNameT>(value);
70 }
71 template <typename TrialNameT = Aws::String>
72 ExperimentConfig& WithTrialName(TrialNameT&& value) {
73 SetTrialName(std::forward<TrialNameT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetTrialComponentDisplayName() const { return m_trialComponentDisplayName; }
84 inline bool TrialComponentDisplayNameHasBeenSet() const { return m_trialComponentDisplayNameHasBeenSet; }
85 template <typename TrialComponentDisplayNameT = Aws::String>
86 void SetTrialComponentDisplayName(TrialComponentDisplayNameT&& value) {
87 m_trialComponentDisplayNameHasBeenSet = true;
88 m_trialComponentDisplayName = std::forward<TrialComponentDisplayNameT>(value);
89 }
90 template <typename TrialComponentDisplayNameT = Aws::String>
91 ExperimentConfig& WithTrialComponentDisplayName(TrialComponentDisplayNameT&& value) {
92 SetTrialComponentDisplayName(std::forward<TrialComponentDisplayNameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetRunName() const { return m_runName; }
102 inline bool RunNameHasBeenSet() const { return m_runNameHasBeenSet; }
103 template <typename RunNameT = Aws::String>
104 void SetRunName(RunNameT&& value) {
105 m_runNameHasBeenSet = true;
106 m_runName = std::forward<RunNameT>(value);
107 }
108 template <typename RunNameT = Aws::String>
109 ExperimentConfig& WithRunName(RunNameT&& value) {
110 SetRunName(std::forward<RunNameT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_experimentName;
116
117 Aws::String m_trialName;
118
119 Aws::String m_trialComponentDisplayName;
120
121 Aws::String m_runName;
122 bool m_experimentNameHasBeenSet = false;
123 bool m_trialNameHasBeenSet = false;
124 bool m_trialComponentDisplayNameHasBeenSet = false;
125 bool m_runNameHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace SageMaker
130} // namespace Aws
AWS_SAGEMAKER_API ExperimentConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ExperimentConfig()=default
ExperimentConfig & WithTrialName(TrialNameT &&value)
ExperimentConfig & WithExperimentName(ExperimentNameT &&value)
void SetExperimentName(ExperimentNameT &&value)
ExperimentConfig & WithTrialComponentDisplayName(TrialComponentDisplayNameT &&value)
void SetTrialComponentDisplayName(TrialComponentDisplayNameT &&value)
const Aws::String & GetTrialComponentDisplayName() const
ExperimentConfig & WithRunName(RunNameT &&value)
const Aws::String & GetExperimentName() const
const Aws::String & GetRunName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ExperimentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTrialName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue