AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeSeriesTransformation.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/model/Action.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/forecast/model/TimeSeriesCondition.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
39 {
40 public:
41 AWS_FORECASTSERVICE_API TimeSeriesTransformation();
42 AWS_FORECASTSERVICE_API TimeSeriesTransformation(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Action& GetAction() const{ return m_action; }
54 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
55 inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; }
56 inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
57 inline TimeSeriesTransformation& WithAction(const Action& value) { SetAction(value); return *this;}
58 inline TimeSeriesTransformation& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
60
62
66 inline const Aws::Vector<TimeSeriesCondition>& GetTimeSeriesConditions() const{ return m_timeSeriesConditions; }
67 inline bool TimeSeriesConditionsHasBeenSet() const { return m_timeSeriesConditionsHasBeenSet; }
68 inline void SetTimeSeriesConditions(const Aws::Vector<TimeSeriesCondition>& value) { m_timeSeriesConditionsHasBeenSet = true; m_timeSeriesConditions = value; }
69 inline void SetTimeSeriesConditions(Aws::Vector<TimeSeriesCondition>&& value) { m_timeSeriesConditionsHasBeenSet = true; m_timeSeriesConditions = std::move(value); }
72 inline TimeSeriesTransformation& AddTimeSeriesConditions(const TimeSeriesCondition& value) { m_timeSeriesConditionsHasBeenSet = true; m_timeSeriesConditions.push_back(value); return *this; }
73 inline TimeSeriesTransformation& AddTimeSeriesConditions(TimeSeriesCondition&& value) { m_timeSeriesConditionsHasBeenSet = true; m_timeSeriesConditions.push_back(std::move(value)); return *this; }
75 private:
76
77 Action m_action;
78 bool m_actionHasBeenSet = false;
79
80 Aws::Vector<TimeSeriesCondition> m_timeSeriesConditions;
81 bool m_timeSeriesConditionsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ForecastService
86} // namespace Aws
const Aws::Vector< TimeSeriesCondition > & GetTimeSeriesConditions() const
TimeSeriesTransformation & WithTimeSeriesConditions(Aws::Vector< TimeSeriesCondition > &&value)
AWS_FORECASTSERVICE_API TimeSeriesTransformation & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesTransformation & WithTimeSeriesConditions(const Aws::Vector< TimeSeriesCondition > &value)
TimeSeriesTransformation & WithAction(Action &&value)
TimeSeriesTransformation & AddTimeSeriesConditions(TimeSeriesCondition &&value)
void SetTimeSeriesConditions(Aws::Vector< TimeSeriesCondition > &&value)
AWS_FORECASTSERVICE_API TimeSeriesTransformation(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesTransformation & WithAction(const Action &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TimeSeriesTransformation & AddTimeSeriesConditions(const TimeSeriesCondition &value)
void SetTimeSeriesConditions(const Aws::Vector< TimeSeriesCondition > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue