AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CategoricalParameterRange.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 ForecastService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_FORECASTSERVICE_API CategoricalParameterRange();
38 AWS_FORECASTSERVICE_API CategoricalParameterRange(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline CategoricalParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline CategoricalParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline CategoricalParameterRange& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
62 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
63 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
64 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
65 inline CategoricalParameterRange& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
66 inline CategoricalParameterRange& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
67 inline CategoricalParameterRange& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
68 inline CategoricalParameterRange& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
69 inline CategoricalParameterRange& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
71 private:
72
73 Aws::String m_name;
74 bool m_nameHasBeenSet = false;
75
77 bool m_valuesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ForecastService
82} // namespace Aws
CategoricalParameterRange & WithName(Aws::String &&value)
AWS_FORECASTSERVICE_API CategoricalParameterRange(Aws::Utils::Json::JsonView jsonValue)
CategoricalParameterRange & AddValues(const char *value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CategoricalParameterRange & AddValues(Aws::String &&value)
CategoricalParameterRange & WithValues(Aws::Vector< Aws::String > &&value)
CategoricalParameterRange & AddValues(const Aws::String &value)
CategoricalParameterRange & WithName(const char *value)
void SetValues(const Aws::Vector< Aws::String > &value)
AWS_FORECASTSERVICE_API CategoricalParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
CategoricalParameterRange & WithValues(const Aws::Vector< Aws::String > &value)
CategoricalParameterRange & WithName(const 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