AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_SAGEMAKER_API ExperimentConfig();
42 AWS_SAGEMAKER_API ExperimentConfig(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
52 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
53 inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
54 inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
55 inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
56 inline ExperimentConfig& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
57 inline ExperimentConfig& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
58 inline ExperimentConfig& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
60
62
66 inline const Aws::String& GetTrialName() const{ return m_trialName; }
67 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
68 inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; }
69 inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); }
70 inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); }
71 inline ExperimentConfig& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
72 inline ExperimentConfig& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
73 inline ExperimentConfig& WithTrialName(const char* value) { SetTrialName(value); return *this;}
75
77
81 inline const Aws::String& GetTrialComponentDisplayName() const{ return m_trialComponentDisplayName; }
82 inline bool TrialComponentDisplayNameHasBeenSet() const { return m_trialComponentDisplayNameHasBeenSet; }
83 inline void SetTrialComponentDisplayName(const Aws::String& value) { m_trialComponentDisplayNameHasBeenSet = true; m_trialComponentDisplayName = value; }
84 inline void SetTrialComponentDisplayName(Aws::String&& value) { m_trialComponentDisplayNameHasBeenSet = true; m_trialComponentDisplayName = std::move(value); }
85 inline void SetTrialComponentDisplayName(const char* value) { m_trialComponentDisplayNameHasBeenSet = true; m_trialComponentDisplayName.assign(value); }
88 inline ExperimentConfig& WithTrialComponentDisplayName(const char* value) { SetTrialComponentDisplayName(value); return *this;}
90
92
95 inline const Aws::String& GetRunName() const{ return m_runName; }
96 inline bool RunNameHasBeenSet() const { return m_runNameHasBeenSet; }
97 inline void SetRunName(const Aws::String& value) { m_runNameHasBeenSet = true; m_runName = value; }
98 inline void SetRunName(Aws::String&& value) { m_runNameHasBeenSet = true; m_runName = std::move(value); }
99 inline void SetRunName(const char* value) { m_runNameHasBeenSet = true; m_runName.assign(value); }
100 inline ExperimentConfig& WithRunName(const Aws::String& value) { SetRunName(value); return *this;}
101 inline ExperimentConfig& WithRunName(Aws::String&& value) { SetRunName(std::move(value)); return *this;}
102 inline ExperimentConfig& WithRunName(const char* value) { SetRunName(value); return *this;}
104 private:
105
106 Aws::String m_experimentName;
107 bool m_experimentNameHasBeenSet = false;
108
109 Aws::String m_trialName;
110 bool m_trialNameHasBeenSet = false;
111
112 Aws::String m_trialComponentDisplayName;
113 bool m_trialComponentDisplayNameHasBeenSet = false;
114
115 Aws::String m_runName;
116 bool m_runNameHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SageMaker
121} // namespace Aws
AWS_SAGEMAKER_API ExperimentConfig(Aws::Utils::Json::JsonView jsonValue)
ExperimentConfig & WithTrialComponentDisplayName(const Aws::String &value)
ExperimentConfig & WithRunName(Aws::String &&value)
void SetTrialComponentDisplayName(Aws::String &&value)
ExperimentConfig & WithTrialComponentDisplayName(Aws::String &&value)
void SetTrialComponentDisplayName(const Aws::String &value)
ExperimentConfig & WithExperimentName(const char *value)
ExperimentConfig & WithExperimentName(const Aws::String &value)
const Aws::String & GetTrialComponentDisplayName() const
ExperimentConfig & WithTrialName(const Aws::String &value)
void SetTrialName(const Aws::String &value)
const Aws::String & GetExperimentName() const
ExperimentConfig & WithTrialName(Aws::String &&value)
ExperimentConfig & WithExperimentName(Aws::String &&value)
ExperimentConfig & WithTrialName(const char *value)
void SetExperimentName(const Aws::String &value)
const Aws::String & GetRunName() const
void SetRunName(const Aws::String &value)
ExperimentConfig & WithRunName(const Aws::String &value)
void SetTrialComponentDisplayName(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExperimentName(Aws::String &&value)
AWS_SAGEMAKER_API ExperimentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentConfig & WithRunName(const char *value)
const Aws::String & GetTrialName() const
ExperimentConfig & WithTrialComponentDisplayName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue