AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
TimeSeriesSelector.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/model/TimeSeriesIdentifiers.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ForecastService {
20namespace Model {
21
33 public:
34 AWS_FORECASTSERVICE_API TimeSeriesSelector() = default;
35 AWS_FORECASTSERVICE_API TimeSeriesSelector(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FORECASTSERVICE_API TimeSeriesSelector& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const TimeSeriesIdentifiers& GetTimeSeriesIdentifiers() const { return m_timeSeriesIdentifiers; }
45 inline bool TimeSeriesIdentifiersHasBeenSet() const { return m_timeSeriesIdentifiersHasBeenSet; }
46 template <typename TimeSeriesIdentifiersT = TimeSeriesIdentifiers>
47 void SetTimeSeriesIdentifiers(TimeSeriesIdentifiersT&& value) {
48 m_timeSeriesIdentifiersHasBeenSet = true;
49 m_timeSeriesIdentifiers = std::forward<TimeSeriesIdentifiersT>(value);
50 }
51 template <typename TimeSeriesIdentifiersT = TimeSeriesIdentifiers>
52 TimeSeriesSelector& WithTimeSeriesIdentifiers(TimeSeriesIdentifiersT&& value) {
53 SetTimeSeriesIdentifiers(std::forward<TimeSeriesIdentifiersT>(value));
54 return *this;
55 }
57 private:
58 TimeSeriesIdentifiers m_timeSeriesIdentifiers;
59 bool m_timeSeriesIdentifiersHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace ForecastService
64} // namespace Aws
TimeSeriesSelector & WithTimeSeriesIdentifiers(TimeSeriesIdentifiersT &&value)
AWS_FORECASTSERVICE_API TimeSeriesSelector(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API TimeSeriesSelector()=default
AWS_FORECASTSERVICE_API TimeSeriesSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
const TimeSeriesIdentifiers & GetTimeSeriesIdentifiers() const
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeSeriesIdentifiers(TimeSeriesIdentifiersT &&value)
Aws::Utils::Json::JsonValue JsonValue