AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TimeSeriesIdentifiers.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/model/DataSource.h>
9#include <aws/forecast/model/Schema.h>
10#include <aws/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_FORECASTSERVICE_API TimeSeriesIdentifiers() = default;
38 AWS_FORECASTSERVICE_API TimeSeriesIdentifiers(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API TimeSeriesIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const DataSource& GetDataSource() const { return m_dataSource; }
46 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
47 template<typename DataSourceT = DataSource>
48 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
49 template<typename DataSourceT = DataSource>
50 TimeSeriesIdentifiers& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
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) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
59 template<typename SchemaT = Schema>
60 TimeSeriesIdentifiers& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
62
64
67 inline const Aws::String& GetFormat() const { return m_format; }
68 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
69 template<typename FormatT = Aws::String>
70 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
71 template<typename FormatT = Aws::String>
72 TimeSeriesIdentifiers& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
74 private:
75
76 DataSource m_dataSource;
77 bool m_dataSourceHasBeenSet = false;
78
79 Schema m_schema;
80 bool m_schemaHasBeenSet = false;
81
82 Aws::String m_format;
83 bool m_formatHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ForecastService
88} // 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