AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialComponentParameterValue.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
36 {
37 public:
38 AWS_SAGEMAKER_API TrialComponentParameterValue();
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetStringValue() const{ return m_stringValue; }
50 inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; }
51 inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; }
52 inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); }
53 inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); }
54 inline TrialComponentParameterValue& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;}
55 inline TrialComponentParameterValue& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;}
56 inline TrialComponentParameterValue& WithStringValue(const char* value) { SetStringValue(value); return *this;}
58
60
64 inline double GetNumberValue() const{ return m_numberValue; }
65 inline bool NumberValueHasBeenSet() const { return m_numberValueHasBeenSet; }
66 inline void SetNumberValue(double value) { m_numberValueHasBeenSet = true; m_numberValue = value; }
67 inline TrialComponentParameterValue& WithNumberValue(double value) { SetNumberValue(value); return *this;}
69 private:
70
71 Aws::String m_stringValue;
72 bool m_stringValueHasBeenSet = false;
73
74 double m_numberValue;
75 bool m_numberValueHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
AWS_SAGEMAKER_API TrialComponentParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponentParameterValue & WithStringValue(const Aws::String &value)
TrialComponentParameterValue & WithStringValue(const char *value)
TrialComponentParameterValue & WithStringValue(Aws::String &&value)
AWS_SAGEMAKER_API TrialComponentParameterValue(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentParameterValue & WithNumberValue(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue