AWS SDK for C++  1.9.125
AWS SDK for C++
TrialComponentParameterValue.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetStringValue() const{ return m_stringValue; }
47 
52  inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; }
53 
58  inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; }
59 
64  inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); }
65 
70  inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); }
71 
76  inline TrialComponentParameterValue& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;}
77 
82  inline TrialComponentParameterValue& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;}
83 
88  inline TrialComponentParameterValue& WithStringValue(const char* value) { SetStringValue(value); return *this;}
89 
90 
95  inline double GetNumberValue() const{ return m_numberValue; }
96 
101  inline bool NumberValueHasBeenSet() const { return m_numberValueHasBeenSet; }
102 
107  inline void SetNumberValue(double value) { m_numberValueHasBeenSet = true; m_numberValue = value; }
108 
113  inline TrialComponentParameterValue& WithNumberValue(double value) { SetNumberValue(value); return *this;}
114 
115  private:
116 
117  Aws::String m_stringValue;
118  bool m_stringValueHasBeenSet;
119 
120  double m_numberValue;
121  bool m_numberValueHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace SageMaker
126 } // namespace Aws
Aws::SageMaker::Model::TrialComponentParameterValue::operator=
TrialComponentParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentParameterValue::TrialComponentParameterValue
TrialComponentParameterValue(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TrialComponentParameterValue::WithNumberValue
TrialComponentParameterValue & WithNumberValue(double value)
Definition: TrialComponentParameterValue.h:113
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrialComponentParameterValue::SetStringValue
void SetStringValue(Aws::String &&value)
Definition: TrialComponentParameterValue.h:64
Aws::SageMaker::Model::TrialComponentParameterValue::NumberValueHasBeenSet
bool NumberValueHasBeenSet() const
Definition: TrialComponentParameterValue.h:101
Aws::SageMaker::Model::TrialComponentParameterValue
Definition: TrialComponentParameterValue.h:34
Aws::SageMaker::Model::TrialComponentParameterValue::WithStringValue
TrialComponentParameterValue & WithStringValue(Aws::String &&value)
Definition: TrialComponentParameterValue.h:82
Aws::SageMaker::Model::TrialComponentParameterValue::WithStringValue
TrialComponentParameterValue & WithStringValue(const char *value)
Definition: TrialComponentParameterValue.h:88
Aws::SageMaker::Model::TrialComponentParameterValue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TrialComponentParameterValue::TrialComponentParameterValue
TrialComponentParameterValue()
Aws::SageMaker::Model::TrialComponentParameterValue::StringValueHasBeenSet
bool StringValueHasBeenSet() const
Definition: TrialComponentParameterValue.h:52
Aws::SageMaker::Model::TrialComponentParameterValue::WithStringValue
TrialComponentParameterValue & WithStringValue(const Aws::String &value)
Definition: TrialComponentParameterValue.h:76
Aws::SageMaker::Model::TrialComponentParameterValue::SetStringValue
void SetStringValue(const char *value)
Definition: TrialComponentParameterValue.h:70
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrialComponentParameterValue::GetStringValue
const Aws::String & GetStringValue() const
Definition: TrialComponentParameterValue.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrialComponentParameterValue::SetStringValue
void SetStringValue(const Aws::String &value)
Definition: TrialComponentParameterValue.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrialComponentParameterValue::GetNumberValue
double GetNumberValue() const
Definition: TrialComponentParameterValue.h:95
Aws::SageMaker::Model::TrialComponentParameterValue::SetNumberValue
void SetNumberValue(double value)
Definition: TrialComponentParameterValue.h:107