AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; }
53 inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); }
54 inline TimeSeriesReplacementsDataSource& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
55 inline TimeSeriesReplacementsDataSource& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;}
57
59
60 inline const Schema& GetSchema() const{ return m_schema; }
61 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
62 inline void SetSchema(const Schema& value) { m_schemaHasBeenSet = true; m_schema = value; }
63 inline void SetSchema(Schema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
64 inline TimeSeriesReplacementsDataSource& WithSchema(const Schema& value) { SetSchema(value); return *this;}
65 inline TimeSeriesReplacementsDataSource& WithSchema(Schema&& value) { SetSchema(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetFormat() const{ return m_format; }
73 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
74 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
75 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
76 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
77 inline TimeSeriesReplacementsDataSource& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
78 inline TimeSeriesReplacementsDataSource& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
79 inline TimeSeriesReplacementsDataSource& WithFormat(const char* value) { SetFormat(value); return *this;}
81
83
86 inline const Aws::String& GetTimestampFormat() const{ return m_timestampFormat; }
87 inline bool TimestampFormatHasBeenSet() const { return m_timestampFormatHasBeenSet; }
88 inline void SetTimestampFormat(const Aws::String& value) { m_timestampFormatHasBeenSet = true; m_timestampFormat = value; }
89 inline void SetTimestampFormat(Aws::String&& value) { m_timestampFormatHasBeenSet = true; m_timestampFormat = std::move(value); }
90 inline void SetTimestampFormat(const char* value) { m_timestampFormatHasBeenSet = true; m_timestampFormat.assign(value); }
92 inline TimeSeriesReplacementsDataSource& WithTimestampFormat(Aws::String&& value) { SetTimestampFormat(std::move(value)); return *this;}
93 inline TimeSeriesReplacementsDataSource& WithTimestampFormat(const char* value) { SetTimestampFormat(value); return *this;}
95 private:
96
97 S3Config m_s3Config;
98 bool m_s3ConfigHasBeenSet = false;
99
100 Schema m_schema;
101 bool m_schemaHasBeenSet = false;
102
103 Aws::String m_format;
104 bool m_formatHasBeenSet = false;
105
106 Aws::String m_timestampFormat;
107 bool m_timestampFormatHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ForecastService
112} // namespace Aws
TimeSeriesReplacementsDataSource & WithSchema(const Schema &value)
TimeSeriesReplacementsDataSource & WithFormat(const char *value)
AWS_FORECASTSERVICE_API TimeSeriesReplacementsDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesReplacementsDataSource & WithFormat(const Aws::String &value)
TimeSeriesReplacementsDataSource & WithTimestampFormat(const Aws::String &value)
AWS_FORECASTSERVICE_API TimeSeriesReplacementsDataSource(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesReplacementsDataSource & WithS3Config(const S3Config &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TimeSeriesReplacementsDataSource & WithS3Config(S3Config &&value)
TimeSeriesReplacementsDataSource & WithTimestampFormat(Aws::String &&value)
TimeSeriesReplacementsDataSource & WithFormat(Aws::String &&value)
TimeSeriesReplacementsDataSource & WithTimestampFormat(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue