AWS SDK for C++  1.9.155
AWS SDK for C++
CategoricalParameterRangeSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
46 
50  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
51 
55  inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
56 
60  inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
61 
65  inline CategoricalParameterRangeSpecification& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
66 
70  inline CategoricalParameterRangeSpecification& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
71 
75  inline CategoricalParameterRangeSpecification& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
76 
80  inline CategoricalParameterRangeSpecification& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
81 
85  inline CategoricalParameterRangeSpecification& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
86 
87  private:
88 
89  Aws::Vector<Aws::String> m_values;
90  bool m_valuesHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace SageMaker
95 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: CategoricalParameterRangeSpecification.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::AddValues
CategoricalParameterRangeSpecification & AddValues(const char *value)
Definition: CategoricalParameterRangeSpecification.h:85
AWSVector.h
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::operator=
CategoricalParameterRangeSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::AddValues
CategoricalParameterRangeSpecification & AddValues(const Aws::String &value)
Definition: CategoricalParameterRangeSpecification.h:75
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::CategoricalParameterRangeSpecification
CategoricalParameterRangeSpecification()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CategoricalParameterRangeSpecification
Definition: CategoricalParameterRangeSpecification.h:34
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::WithValues
CategoricalParameterRangeSpecification & WithValues(Aws::Vector< Aws::String > &&value)
Definition: CategoricalParameterRangeSpecification.h:70
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::WithValues
CategoricalParameterRangeSpecification & WithValues(const Aws::Vector< Aws::String > &value)
Definition: CategoricalParameterRangeSpecification.h:65
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::AddValues
CategoricalParameterRangeSpecification & AddValues(Aws::String &&value)
Definition: CategoricalParameterRangeSpecification.h:80
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::SetValues
void SetValues(const Aws::Vector< Aws::String > &value)
Definition: CategoricalParameterRangeSpecification.h:55
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::CategoricalParameterRangeSpecification
CategoricalParameterRangeSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::GetValues
const Aws::Vector< Aws::String > & GetValues() const
Definition: CategoricalParameterRangeSpecification.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CategoricalParameterRangeSpecification::SetValues
void SetValues(Aws::Vector< Aws::String > &&value)
Definition: CategoricalParameterRangeSpecification.h:60