AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentParameterRanges.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/CategoricalParameter.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKER_API EnvironmentParameterRanges();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<CategoricalParameter>& GetCategoricalParameterRanges() const{ return m_categoricalParameterRanges; }
46 inline bool CategoricalParameterRangesHasBeenSet() const { return m_categoricalParameterRangesHasBeenSet; }
47 inline void SetCategoricalParameterRanges(const Aws::Vector<CategoricalParameter>& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = value; }
48 inline void SetCategoricalParameterRanges(Aws::Vector<CategoricalParameter>&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges = std::move(value); }
51 inline EnvironmentParameterRanges& AddCategoricalParameterRanges(const CategoricalParameter& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(value); return *this; }
52 inline EnvironmentParameterRanges& AddCategoricalParameterRanges(CategoricalParameter&& value) { m_categoricalParameterRangesHasBeenSet = true; m_categoricalParameterRanges.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<CategoricalParameter> m_categoricalParameterRanges;
57 bool m_categoricalParameterRangesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace SageMaker
62} // namespace Aws
EnvironmentParameterRanges & AddCategoricalParameterRanges(const CategoricalParameter &value)
AWS_SAGEMAKER_API EnvironmentParameterRanges & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategoricalParameterRanges(Aws::Vector< CategoricalParameter > &&value)
EnvironmentParameterRanges & WithCategoricalParameterRanges(Aws::Vector< CategoricalParameter > &&value)
void SetCategoricalParameterRanges(const Aws::Vector< CategoricalParameter > &value)
AWS_SAGEMAKER_API EnvironmentParameterRanges(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CategoricalParameter > & GetCategoricalParameterRanges() const
EnvironmentParameterRanges & AddCategoricalParameterRanges(CategoricalParameter &&value)
EnvironmentParameterRanges & WithCategoricalParameterRanges(const Aws::Vector< CategoricalParameter > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue