AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CategoricalParameterRangeSpecification.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
47 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
48 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
49 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
51 inline CategoricalParameterRangeSpecification& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
52 inline CategoricalParameterRangeSpecification& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
53 inline CategoricalParameterRangeSpecification& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
54 inline CategoricalParameterRangeSpecification& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
56 private:
57
59 bool m_valuesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SageMaker
64} // namespace Aws
CategoricalParameterRangeSpecification & AddValues(const Aws::String &value)
CategoricalParameterRangeSpecification & WithValues(const Aws::Vector< Aws::String > &value)
CategoricalParameterRangeSpecification & WithValues(Aws::Vector< Aws::String > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API CategoricalParameterRangeSpecification(Aws::Utils::Json::JsonView jsonValue)
CategoricalParameterRangeSpecification & AddValues(const char *value)
AWS_SAGEMAKER_API CategoricalParameterRangeSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
CategoricalParameterRangeSpecification & AddValues(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue