AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; }
50 inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); }
51 inline DataSource& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
52 inline DataSource& WithS3Config(S3Config&& value) { SetS3Config(std::move(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
AWS_FORECASTSERVICE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithS3Config(const S3Config &value)
Definition DataSource.h:51
const S3Config & GetS3Config() const
Definition DataSource.h:47
void SetS3Config(S3Config &&value)
Definition DataSource.h:50
DataSource & WithS3Config(S3Config &&value)
Definition DataSource.h:52
AWS_FORECASTSERVICE_API DataSource()
void SetS3Config(const S3Config &value)
Definition DataSource.h:49
Aws::Utils::Json::JsonValue JsonValue