AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Featurization.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/FeaturizationMethod.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
43 {
44 public:
45 AWS_FORECASTSERVICE_API Featurization();
46 AWS_FORECASTSERVICE_API Featurization(Aws::Utils::Json::JsonView jsonValue);
47 AWS_FORECASTSERVICE_API Featurization& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
61 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
62 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
63 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
64 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
65 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
66 inline Featurization& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
67 inline Featurization& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
68 inline Featurization& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
70
72
76 inline const Aws::Vector<FeaturizationMethod>& GetFeaturizationPipeline() const{ return m_featurizationPipeline; }
77 inline bool FeaturizationPipelineHasBeenSet() const { return m_featurizationPipelineHasBeenSet; }
78 inline void SetFeaturizationPipeline(const Aws::Vector<FeaturizationMethod>& value) { m_featurizationPipelineHasBeenSet = true; m_featurizationPipeline = value; }
79 inline void SetFeaturizationPipeline(Aws::Vector<FeaturizationMethod>&& value) { m_featurizationPipelineHasBeenSet = true; m_featurizationPipeline = std::move(value); }
82 inline Featurization& AddFeaturizationPipeline(const FeaturizationMethod& value) { m_featurizationPipelineHasBeenSet = true; m_featurizationPipeline.push_back(value); return *this; }
83 inline Featurization& AddFeaturizationPipeline(FeaturizationMethod&& value) { m_featurizationPipelineHasBeenSet = true; m_featurizationPipeline.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::String m_attributeName;
88 bool m_attributeNameHasBeenSet = false;
89
90 Aws::Vector<FeaturizationMethod> m_featurizationPipeline;
91 bool m_featurizationPipelineHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ForecastService
96} // namespace Aws
void SetFeaturizationPipeline(const Aws::Vector< FeaturizationMethod > &value)
AWS_FORECASTSERVICE_API Featurization()
Featurization & WithAttributeName(const Aws::String &value)
AWS_FORECASTSERVICE_API Featurization(Aws::Utils::Json::JsonView jsonValue)
void SetFeaturizationPipeline(Aws::Vector< FeaturizationMethod > &&value)
const Aws::String & GetAttributeName() const
void SetAttributeName(Aws::String &&value)
Featurization & AddFeaturizationPipeline(FeaturizationMethod &&value)
const Aws::Vector< FeaturizationMethod > & GetFeaturizationPipeline() const
Featurization & AddFeaturizationPipeline(const FeaturizationMethod &value)
Featurization & WithAttributeName(Aws::String &&value)
Featurization & WithFeaturizationPipeline(const Aws::Vector< FeaturizationMethod > &value)
void SetAttributeName(const Aws::String &value)
AWS_FORECASTSERVICE_API Featurization & operator=(Aws::Utils::Json::JsonView jsonValue)
Featurization & WithFeaturizationPipeline(Aws::Vector< FeaturizationMethod > &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Featurization & WithAttributeName(const char *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