AWS SDK for C++

AWS SDK for C++ Version 1.11.935

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