AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterRanges.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/IntegerParameterRange.h>
10#include <aws/sagemaker/model/ContinuousParameterRange.h>
11#include <aws/sagemaker/model/CategoricalParameterRange.h>
12#include <aws/sagemaker/model/AutoParameter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
45 {
46 public:
47 AWS_SAGEMAKER_API ParameterRanges();
48 AWS_SAGEMAKER_API ParameterRanges(Aws::Utils::Json::JsonView jsonValue);
50 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
60 inline const Aws::Vector<IntegerParameterRange>& GetIntegerParameterRanges() const{ return m_integerParameterRanges; }
61 inline bool IntegerParameterRangesHasBeenSet() const { return m_integerParameterRangesHasBeenSet; }
62 inline void SetIntegerParameterRanges(const Aws::Vector<IntegerParameterRange>& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = value; }
63 inline void SetIntegerParameterRanges(Aws::Vector<IntegerParameterRange>&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges = std::move(value); }
66 inline ParameterRanges& AddIntegerParameterRanges(const IntegerParameterRange& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(value); return *this; }
67 inline ParameterRanges& AddIntegerParameterRanges(IntegerParameterRange&& value) { m_integerParameterRangesHasBeenSet = true; m_integerParameterRanges.push_back(std::move(value)); return *this; }
69
71
77 inline const Aws::Vector<ContinuousParameterRange>& GetContinuousParameterRanges() const{ return m_continuousParameterRanges; }
78 inline bool ContinuousParameterRangesHasBeenSet() const { return m_continuousParameterRangesHasBeenSet; }
79 inline void SetContinuousParameterRanges(const Aws::Vector<ContinuousParameterRange>& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = value; }
80 inline void SetContinuousParameterRanges(Aws::Vector<ContinuousParameterRange>&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges = std::move(value); }
83 inline ParameterRanges& AddContinuousParameterRanges(const ContinuousParameterRange& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(value); return *this; }
84 inline ParameterRanges& AddContinuousParameterRanges(ContinuousParameterRange&& value) { m_continuousParameterRangesHasBeenSet = true; m_continuousParameterRanges.push_back(std::move(value)); return *this; }
86
88
94 inline const Aws::Vector<CategoricalParameterRange>& GetCategoricalParameterRanges() const{ return m_categoricalParameterRanges; }
95 inline bool CategoricalParameterRangesHasBeenSet() const { return m_categoricalParameterRangesHasBeenSet; }
96 inline void SetCategoricalParameterRanges(const Aws::Vector<CategoricalParameterRange>& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = value; }
97 inline void SetCategoricalParameterRanges(Aws::Vector<CategoricalParameterRange>&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = std::move(value); }
100 inline ParameterRanges& AddCategoricalParameterRanges(const CategoricalParameterRange& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(value); return *this; }
101 inline ParameterRanges& AddCategoricalParameterRanges(CategoricalParameterRange&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(std::move(value)); return *this; }
103
105
109 inline const Aws::Vector<AutoParameter>& GetAutoParameters() const{ return m_autoParameters; }
110 inline bool AutoParametersHasBeenSet() const { return m_autoParametersHasBeenSet; }
111 inline void SetAutoParameters(const Aws::Vector<AutoParameter>& value) { m_autoParametersHasBeenSet = true; m_autoParameters = value; }
112 inline void SetAutoParameters(Aws::Vector<AutoParameter>&& value) { m_autoParametersHasBeenSet = true; m_autoParameters = std::move(value); }
114 inline ParameterRanges& WithAutoParameters(Aws::Vector<AutoParameter>&& value) { SetAutoParameters(std::move(value)); return *this;}
115 inline ParameterRanges& AddAutoParameters(const AutoParameter& value) { m_autoParametersHasBeenSet = true; m_autoParameters.push_back(value); return *this; }
116 inline ParameterRanges& AddAutoParameters(AutoParameter&& value) { m_autoParametersHasBeenSet = true; m_autoParameters.push_back(std::move(value)); return *this; }
118 private:
119
120 Aws::Vector<IntegerParameterRange> m_integerParameterRanges;
121 bool m_integerParameterRangesHasBeenSet = false;
122
123 Aws::Vector<ContinuousParameterRange> m_continuousParameterRanges;
124 bool m_continuousParameterRangesHasBeenSet = false;
125
126 Aws::Vector<CategoricalParameterRange> m_categoricalParameterRanges;
127 bool m_categoricalParameterRangesHasBeenSet = false;
128
129 Aws::Vector<AutoParameter> m_autoParameters;
130 bool m_autoParametersHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SageMaker
135} // namespace Aws
ParameterRanges & WithContinuousParameterRanges(Aws::Vector< ContinuousParameterRange > &&value)
ParameterRanges & WithCategoricalParameterRanges(const Aws::Vector< CategoricalParameterRange > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategoricalParameterRanges(const Aws::Vector< CategoricalParameterRange > &value)
void SetIntegerParameterRanges(const Aws::Vector< IntegerParameterRange > &value)
ParameterRanges & AddIntegerParameterRanges(const IntegerParameterRange &value)
ParameterRanges & WithIntegerParameterRanges(const Aws::Vector< IntegerParameterRange > &value)
const Aws::Vector< ContinuousParameterRange > & GetContinuousParameterRanges() const
ParameterRanges & WithAutoParameters(Aws::Vector< AutoParameter > &&value)
ParameterRanges & WithIntegerParameterRanges(Aws::Vector< IntegerParameterRange > &&value)
void SetAutoParameters(Aws::Vector< AutoParameter > &&value)
ParameterRanges & AddCategoricalParameterRanges(CategoricalParameterRange &&value)
void SetIntegerParameterRanges(Aws::Vector< IntegerParameterRange > &&value)
void SetContinuousParameterRanges(const Aws::Vector< ContinuousParameterRange > &value)
void SetContinuousParameterRanges(Aws::Vector< ContinuousParameterRange > &&value)
void SetAutoParameters(const Aws::Vector< AutoParameter > &value)
ParameterRanges & AddContinuousParameterRanges(ContinuousParameterRange &&value)
ParameterRanges & WithCategoricalParameterRanges(Aws::Vector< CategoricalParameterRange > &&value)
ParameterRanges & WithAutoParameters(const Aws::Vector< AutoParameter > &value)
AWS_SAGEMAKER_API ParameterRanges(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AutoParameter > & GetAutoParameters() const
const Aws::Vector< IntegerParameterRange > & GetIntegerParameterRanges() const
ParameterRanges & AddAutoParameters(const AutoParameter &value)
ParameterRanges & AddAutoParameters(AutoParameter &&value)
ParameterRanges & AddCategoricalParameterRanges(const CategoricalParameterRange &value)
AWS_SAGEMAKER_API ParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCategoricalParameterRanges(Aws::Vector< CategoricalParameterRange > &&value)
const Aws::Vector< CategoricalParameterRange > & GetCategoricalParameterRanges() const
ParameterRanges & AddContinuousParameterRanges(const ContinuousParameterRange &value)
ParameterRanges & WithContinuousParameterRanges(const Aws::Vector< ContinuousParameterRange > &value)
ParameterRanges & AddIntegerParameterRanges(IntegerParameterRange &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue