AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/S3DataSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Braket {
20namespace Model {
21
29 public:
30 AWS_BRAKET_API DataSource() = default;
31 AWS_BRAKET_API DataSource(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const S3DataSource& GetS3DataSource() const { return m_s3DataSource; }
40 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
41 template <typename S3DataSourceT = S3DataSource>
42 void SetS3DataSource(S3DataSourceT&& value) {
43 m_s3DataSourceHasBeenSet = true;
44 m_s3DataSource = std::forward<S3DataSourceT>(value);
45 }
46 template <typename S3DataSourceT = S3DataSource>
47 DataSource& WithS3DataSource(S3DataSourceT&& value) {
48 SetS3DataSource(std::forward<S3DataSourceT>(value));
49 return *this;
50 }
52 private:
53 S3DataSource m_s3DataSource;
54 bool m_s3DataSourceHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Braket
59} // namespace Aws
AWS_BRAKET_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BRAKET_API DataSource()=default
DataSource & WithS3DataSource(S3DataSourceT &&value)
Definition DataSource.h:47
AWS_BRAKET_API DataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
const S3DataSource & GetS3DataSource() const
Definition DataSource.h:39
void SetS3DataSource(S3DataSourceT &&value)
Definition DataSource.h:42
bool S3DataSourceHasBeenSet() const
Definition DataSource.h:40
Aws::Utils::Json::JsonValue JsonValue