AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/model/S3Config.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ForecastService
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_FORECASTSERVICE_API DataSource() = default;
37 AWS_FORECASTSERVICE_API DataSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FORECASTSERVICE_API DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const S3Config& GetS3Config() const { return m_s3Config; }
48 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
49 template<typename S3ConfigT = S3Config>
50 void SetS3Config(S3ConfigT&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::forward<S3ConfigT>(value); }
51 template<typename S3ConfigT = S3Config>
52 DataSource& WithS3Config(S3ConfigT&& value) { SetS3Config(std::forward<S3ConfigT>(value)); return *this;}
54 private:
55
56 S3Config m_s3Config;
57 bool m_s3ConfigHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace ForecastService
62} // namespace Aws
AWS_FORECASTSERVICE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Config(S3ConfigT &&value)
Definition DataSource.h:50
AWS_FORECASTSERVICE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithS3Config(S3ConfigT &&value)
Definition DataSource.h:52
const S3Config & GetS3Config() const
Definition DataSource.h:47
AWS_FORECASTSERVICE_API DataSource()=default
Aws::Utils::Json::JsonValue JsonValue