AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TimeSeriesReplacementsDataSource.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/model/S3Config.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
40 {
41 public:
42 AWS_FORECASTSERVICE_API TimeSeriesReplacementsDataSource() = default;
45 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
50 inline const S3Config& GetS3Config() const { return m_s3Config; }
51 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
52 template<typename S3ConfigT = S3Config>
53 void SetS3Config(S3ConfigT&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::forward<S3ConfigT>(value); }
54 template<typename S3ConfigT = S3Config>
55 TimeSeriesReplacementsDataSource& WithS3Config(S3ConfigT&& value) { SetS3Config(std::forward<S3ConfigT>(value)); return *this;}
57
59
60 inline const Schema& GetSchema() const { return m_schema; }
61 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
62 template<typename SchemaT = Schema>
63 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
64 template<typename SchemaT = Schema>
65 TimeSeriesReplacementsDataSource& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
67
69
72 inline const Aws::String& GetFormat() const { return m_format; }
73 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
74 template<typename FormatT = Aws::String>
75 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
76 template<typename FormatT = Aws::String>
77 TimeSeriesReplacementsDataSource& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
79
81
84 inline const Aws::String& GetTimestampFormat() const { return m_timestampFormat; }
85 inline bool TimestampFormatHasBeenSet() const { return m_timestampFormatHasBeenSet; }
86 template<typename TimestampFormatT = Aws::String>
87 void SetTimestampFormat(TimestampFormatT&& value) { m_timestampFormatHasBeenSet = true; m_timestampFormat = std::forward<TimestampFormatT>(value); }
88 template<typename TimestampFormatT = Aws::String>
89 TimeSeriesReplacementsDataSource& WithTimestampFormat(TimestampFormatT&& value) { SetTimestampFormat(std::forward<TimestampFormatT>(value)); return *this;}
91 private:
92
93 S3Config m_s3Config;
94 bool m_s3ConfigHasBeenSet = false;
95
96 Schema m_schema;
97 bool m_schemaHasBeenSet = false;
98
99 Aws::String m_format;
100 bool m_formatHasBeenSet = false;
101
102 Aws::String m_timestampFormat;
103 bool m_timestampFormatHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ForecastService
108} // namespace Aws
AWS_FORECASTSERVICE_API TimeSeriesReplacementsDataSource()=default
AWS_FORECASTSERVICE_API TimeSeriesReplacementsDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesReplacementsDataSource & WithS3Config(S3ConfigT &&value)
TimeSeriesReplacementsDataSource & WithTimestampFormat(TimestampFormatT &&value)
AWS_FORECASTSERVICE_API TimeSeriesReplacementsDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue