AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FeaturizationConfig.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 <aws/forecast/model/Featurization.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ForecastService
24{
25namespace Model
26{
27
48 {
49 public:
50 AWS_FORECASTSERVICE_API FeaturizationConfig();
51 AWS_FORECASTSERVICE_API FeaturizationConfig(Aws::Utils::Json::JsonView jsonValue);
52 AWS_FORECASTSERVICE_API FeaturizationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
73 inline const Aws::String& GetForecastFrequency() const{ return m_forecastFrequency; }
74 inline bool ForecastFrequencyHasBeenSet() const { return m_forecastFrequencyHasBeenSet; }
75 inline void SetForecastFrequency(const Aws::String& value) { m_forecastFrequencyHasBeenSet = true; m_forecastFrequency = value; }
76 inline void SetForecastFrequency(Aws::String&& value) { m_forecastFrequencyHasBeenSet = true; m_forecastFrequency = std::move(value); }
77 inline void SetForecastFrequency(const char* value) { m_forecastFrequencyHasBeenSet = true; m_forecastFrequency.assign(value); }
78 inline FeaturizationConfig& WithForecastFrequency(const Aws::String& value) { SetForecastFrequency(value); return *this;}
79 inline FeaturizationConfig& WithForecastFrequency(Aws::String&& value) { SetForecastFrequency(std::move(value)); return *this;}
80 inline FeaturizationConfig& WithForecastFrequency(const char* value) { SetForecastFrequency(value); return *this;}
82
84
95 inline const Aws::Vector<Aws::String>& GetForecastDimensions() const{ return m_forecastDimensions; }
96 inline bool ForecastDimensionsHasBeenSet() const { return m_forecastDimensionsHasBeenSet; }
97 inline void SetForecastDimensions(const Aws::Vector<Aws::String>& value) { m_forecastDimensionsHasBeenSet = true; m_forecastDimensions = value; }
98 inline void SetForecastDimensions(Aws::Vector<Aws::String>&& value) { m_forecastDimensionsHasBeenSet = true; m_forecastDimensions = std::move(value); }
101 inline FeaturizationConfig& AddForecastDimensions(const Aws::String& value) { m_forecastDimensionsHasBeenSet = true; m_forecastDimensions.push_back(value); return *this; }
102 inline FeaturizationConfig& AddForecastDimensions(Aws::String&& value) { m_forecastDimensionsHasBeenSet = true; m_forecastDimensions.push_back(std::move(value)); return *this; }
103 inline FeaturizationConfig& AddForecastDimensions(const char* value) { m_forecastDimensionsHasBeenSet = true; m_forecastDimensions.push_back(value); return *this; }
105
107
111 inline const Aws::Vector<Featurization>& GetFeaturizations() const{ return m_featurizations; }
112 inline bool FeaturizationsHasBeenSet() const { return m_featurizationsHasBeenSet; }
113 inline void SetFeaturizations(const Aws::Vector<Featurization>& value) { m_featurizationsHasBeenSet = true; m_featurizations = value; }
114 inline void SetFeaturizations(Aws::Vector<Featurization>&& value) { m_featurizationsHasBeenSet = true; m_featurizations = std::move(value); }
116 inline FeaturizationConfig& WithFeaturizations(Aws::Vector<Featurization>&& value) { SetFeaturizations(std::move(value)); return *this;}
117 inline FeaturizationConfig& AddFeaturizations(const Featurization& value) { m_featurizationsHasBeenSet = true; m_featurizations.push_back(value); return *this; }
118 inline FeaturizationConfig& AddFeaturizations(Featurization&& value) { m_featurizationsHasBeenSet = true; m_featurizations.push_back(std::move(value)); return *this; }
120 private:
121
122 Aws::String m_forecastFrequency;
123 bool m_forecastFrequencyHasBeenSet = false;
124
125 Aws::Vector<Aws::String> m_forecastDimensions;
126 bool m_forecastDimensionsHasBeenSet = false;
127
128 Aws::Vector<Featurization> m_featurizations;
129 bool m_featurizationsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ForecastService
134} // namespace Aws
FeaturizationConfig & WithForecastFrequency(Aws::String &&value)
FeaturizationConfig & WithForecastFrequency(const Aws::String &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Featurization > & GetFeaturizations() const
void SetForecastDimensions(Aws::Vector< Aws::String > &&value)
FeaturizationConfig & AddForecastDimensions(const char *value)
const Aws::Vector< Aws::String > & GetForecastDimensions() const
void SetFeaturizations(Aws::Vector< Featurization > &&value)
void SetFeaturizations(const Aws::Vector< Featurization > &value)
AWS_FORECASTSERVICE_API FeaturizationConfig(Aws::Utils::Json::JsonView jsonValue)
FeaturizationConfig & WithForecastDimensions(const Aws::Vector< Aws::String > &value)
FeaturizationConfig & AddFeaturizations(const Featurization &value)
AWS_FORECASTSERVICE_API FeaturizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetForecastDimensions(const Aws::Vector< Aws::String > &value)
FeaturizationConfig & WithFeaturizations(Aws::Vector< Featurization > &&value)
FeaturizationConfig & AddForecastDimensions(const Aws::String &value)
FeaturizationConfig & AddFeaturizations(Featurization &&value)
FeaturizationConfig & WithForecastFrequency(const char *value)
FeaturizationConfig & WithForecastDimensions(Aws::Vector< Aws::String > &&value)
FeaturizationConfig & AddForecastDimensions(Aws::String &&value)
FeaturizationConfig & WithFeaturizations(const Aws::Vector< Featurization > &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