AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TimeSeriesTransformations.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/AggregationTransformationValue.h>
11#include <aws/sagemaker/model/FillingType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_SAGEMAKER_API TimeSeriesTransformations() = default;
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
67 inline const Aws::Map<Aws::String, Aws::Map<FillingType, Aws::String>>& GetFilling() const { return m_filling; }
68 inline bool FillingHasBeenSet() const { return m_fillingHasBeenSet; }
69 template<typename FillingT = Aws::Map<Aws::String, Aws::Map<FillingType, Aws::String>>>
70 void SetFilling(FillingT&& value) { m_fillingHasBeenSet = true; m_filling = std::forward<FillingT>(value); }
71 template<typename FillingT = Aws::Map<Aws::String, Aws::Map<FillingType, Aws::String>>>
72 TimeSeriesTransformations& WithFilling(FillingT&& value) { SetFilling(std::forward<FillingT>(value)); return *this;}
73 template<typename FillingKeyT = Aws::String, typename FillingValueT = Aws::Map<FillingType, Aws::String>>
74 TimeSeriesTransformations& AddFilling(FillingKeyT&& key, FillingValueT&& value) {
75 m_fillingHasBeenSet = true; m_filling.emplace(std::forward<FillingKeyT>(key), std::forward<FillingValueT>(value)); return *this;
76 }
78
80
87 inline const Aws::Map<Aws::String, AggregationTransformationValue>& GetAggregation() const { return m_aggregation; }
88 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
89 template<typename AggregationT = Aws::Map<Aws::String, AggregationTransformationValue>>
90 void SetAggregation(AggregationT&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::forward<AggregationT>(value); }
91 template<typename AggregationT = Aws::Map<Aws::String, AggregationTransformationValue>>
92 TimeSeriesTransformations& WithAggregation(AggregationT&& value) { SetAggregation(std::forward<AggregationT>(value)); return *this;}
94 m_aggregationHasBeenSet = true; m_aggregation.emplace(key, value); return *this;
95 }
97 private:
98
100 bool m_fillingHasBeenSet = false;
101
103 bool m_aggregationHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
TimeSeriesTransformations & WithFilling(FillingT &&value)
TimeSeriesTransformations & WithAggregation(AggregationT &&value)
const Aws::Map< Aws::String, Aws::Map< FillingType, Aws::String > > & GetFilling() const
AWS_SAGEMAKER_API TimeSeriesTransformations & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TimeSeriesTransformations(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TimeSeriesTransformations & AddAggregation(Aws::String key, AggregationTransformationValue value)
const Aws::Map< Aws::String, AggregationTransformationValue > & GetAggregation() const
AWS_SAGEMAKER_API TimeSeriesTransformations()=default
TimeSeriesTransformations & AddFilling(FillingKeyT &&key, FillingValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue