AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
48 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
49 inline TimeSeriesIdentifiers& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
50 inline TimeSeriesIdentifiers& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
52
54
55 inline const Schema& GetSchema() const{ return m_schema; }
56 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
57 inline void SetSchema(const Schema& value) { m_schemaHasBeenSet = true; m_schema = value; }
58 inline void SetSchema(Schema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
59 inline TimeSeriesIdentifiers& WithSchema(const Schema& value) { SetSchema(value); return *this;}
60 inline TimeSeriesIdentifiers& WithSchema(Schema&& value) { SetSchema(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetFormat() const{ return m_format; }
68 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
69 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
70 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
71 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
72 inline TimeSeriesIdentifiers& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
73 inline TimeSeriesIdentifiers& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
74 inline TimeSeriesIdentifiers& WithFormat(const char* value) { SetFormat(value); return *this;}
76 private:
77
78 DataSource m_dataSource;
79 bool m_dataSourceHasBeenSet = false;
80
81 Schema m_schema;
82 bool m_schemaHasBeenSet = false;
83
84 Aws::String m_format;
85 bool m_formatHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ForecastService
90} // namespace Aws
TimeSeriesIdentifiers & WithSchema(const Schema &value)
TimeSeriesIdentifiers & WithFormat(Aws::String &&value)
TimeSeriesIdentifiers & WithFormat(const Aws::String &value)
TimeSeriesIdentifiers & WithDataSource(const DataSource &value)
TimeSeriesIdentifiers & WithFormat(const char *value)
TimeSeriesIdentifiers & WithSchema(Schema &&value)
TimeSeriesIdentifiers & WithDataSource(DataSource &&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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue