AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
TimeSeriesIdentifiers.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
9#include <aws/forecast/model/DataSource.h>
10#include <aws/forecast/model/Schema.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ForecastService {
22namespace Model {
23
31 public:
32 AWS_FORECASTSERVICE_API TimeSeriesIdentifiers() = default;
33 AWS_FORECASTSERVICE_API TimeSeriesIdentifiers(Aws::Utils::Json::JsonView jsonValue);
34 AWS_FORECASTSERVICE_API TimeSeriesIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const DataSource& GetDataSource() const { return m_dataSource; }
40 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
41 template <typename DataSourceT = DataSource>
42 void SetDataSource(DataSourceT&& value) {
43 m_dataSourceHasBeenSet = true;
44 m_dataSource = std::forward<DataSourceT>(value);
45 }
46 template <typename DataSourceT = DataSource>
47 TimeSeriesIdentifiers& WithDataSource(DataSourceT&& value) {
48 SetDataSource(std::forward<DataSourceT>(value));
49 return *this;
50 }
52
54
55 inline const Schema& GetSchema() const { return m_schema; }
56 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
57 template <typename SchemaT = Schema>
58 void SetSchema(SchemaT&& value) {
59 m_schemaHasBeenSet = true;
60 m_schema = std::forward<SchemaT>(value);
61 }
62 template <typename SchemaT = Schema>
64 SetSchema(std::forward<SchemaT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetFormat() const { return m_format; }
74 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
75 template <typename FormatT = Aws::String>
76 void SetFormat(FormatT&& value) {
77 m_formatHasBeenSet = true;
78 m_format = std::forward<FormatT>(value);
79 }
80 template <typename FormatT = Aws::String>
82 SetFormat(std::forward<FormatT>(value));
83 return *this;
84 }
86 private:
87 DataSource m_dataSource;
88
89 Schema m_schema;
90
91 Aws::String m_format;
92 bool m_dataSourceHasBeenSet = false;
93 bool m_schemaHasBeenSet = false;
94 bool m_formatHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ForecastService
99} // namespace Aws
AWS_FORECASTSERVICE_API TimeSeriesIdentifiers()=default
TimeSeriesIdentifiers & WithDataSource(DataSourceT &&value)
TimeSeriesIdentifiers & WithSchema(SchemaT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API TimeSeriesIdentifiers & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API TimeSeriesIdentifiers(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesIdentifiers & WithFormat(FormatT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue