AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/GlueDataSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CleanRoomsML {
20namespace Model {
21
29 public:
30 AWS_CLEANROOMSML_API DataSource() = default;
31 AWS_CLEANROOMSML_API DataSource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLEANROOMSML_API DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const GlueDataSource& GetGlueDataSource() const { return m_glueDataSource; }
41 inline bool GlueDataSourceHasBeenSet() const { return m_glueDataSourceHasBeenSet; }
42 template <typename GlueDataSourceT = GlueDataSource>
43 void SetGlueDataSource(GlueDataSourceT&& value) {
44 m_glueDataSourceHasBeenSet = true;
45 m_glueDataSource = std::forward<GlueDataSourceT>(value);
46 }
47 template <typename GlueDataSourceT = GlueDataSource>
48 DataSource& WithGlueDataSource(GlueDataSourceT&& value) {
49 SetGlueDataSource(std::forward<GlueDataSourceT>(value));
50 return *this;
51 }
53 private:
54 GlueDataSource m_glueDataSource;
55 bool m_glueDataSourceHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace CleanRoomsML
60} // namespace Aws
AWS_CLEANROOMSML_API DataSource()=default
const GlueDataSource & GetGlueDataSource() const
Definition DataSource.h:40
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
DataSource & WithGlueDataSource(GlueDataSourceT &&value)
Definition DataSource.h:48
void SetGlueDataSource(GlueDataSourceT &&value)
Definition DataSource.h:43
AWS_CLEANROOMSML_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API DataSource(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue