AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
TimeSeriesTransformations.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AggregationTransformationValue.h>
11#include <aws/sagemaker/model/FillingType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
35 public:
36 AWS_SAGEMAKER_API TimeSeriesTransformations() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
61 inline const Aws::Map<Aws::String, Aws::Map<FillingType, Aws::String>>& GetFilling() const { return m_filling; }
62 inline bool FillingHasBeenSet() const { return m_fillingHasBeenSet; }
63 template <typename FillingT = Aws::Map<Aws::String, Aws::Map<FillingType, Aws::String>>>
64 void SetFilling(FillingT&& value) {
65 m_fillingHasBeenSet = true;
66 m_filling = std::forward<FillingT>(value);
67 }
68 template <typename FillingT = Aws::Map<Aws::String, Aws::Map<FillingType, Aws::String>>>
70 SetFilling(std::forward<FillingT>(value));
71 return *this;
72 }
73 template <typename FillingKeyT = Aws::String, typename FillingValueT = Aws::Map<FillingType, Aws::String>>
74 TimeSeriesTransformations& AddFilling(FillingKeyT&& key, FillingValueT&& value) {
75 m_fillingHasBeenSet = true;
76 m_filling.emplace(std::forward<FillingKeyT>(key), std::forward<FillingValueT>(value));
77 return *this;
78 }
80
82
89 inline const Aws::Map<Aws::String, AggregationTransformationValue>& GetAggregation() const { return m_aggregation; }
90 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
91 template <typename AggregationT = Aws::Map<Aws::String, AggregationTransformationValue>>
92 void SetAggregation(AggregationT&& value) {
93 m_aggregationHasBeenSet = true;
94 m_aggregation = std::forward<AggregationT>(value);
95 }
96 template <typename AggregationT = Aws::Map<Aws::String, AggregationTransformationValue>>
98 SetAggregation(std::forward<AggregationT>(value));
99 return *this;
100 }
102 m_aggregationHasBeenSet = true;
103 m_aggregation.emplace(key, value);
104 return *this;
105 }
107 private:
109
111 bool m_fillingHasBeenSet = false;
112 bool m_aggregationHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace SageMaker
117} // 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