AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetInputConfig.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cleanroomsml/model/DataSource.h>
10#include <aws/cleanroomsml/model/ColumnSchema.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRoomsML
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLEANROOMSML_API DatasetInputConfig();
38 AWS_CLEANROOMSML_API DatasetInputConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<ColumnSchema>& GetSchema() const{ return m_schema; }
48 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
49 inline void SetSchema(const Aws::Vector<ColumnSchema>& value) { m_schemaHasBeenSet = true; m_schema = value; }
50 inline void SetSchema(Aws::Vector<ColumnSchema>&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
51 inline DatasetInputConfig& WithSchema(const Aws::Vector<ColumnSchema>& value) { SetSchema(value); return *this;}
52 inline DatasetInputConfig& WithSchema(Aws::Vector<ColumnSchema>&& value) { SetSchema(std::move(value)); return *this;}
53 inline DatasetInputConfig& AddSchema(const ColumnSchema& value) { m_schemaHasBeenSet = true; m_schema.push_back(value); return *this; }
54 inline DatasetInputConfig& AddSchema(ColumnSchema&& value) { m_schemaHasBeenSet = true; m_schema.push_back(std::move(value)); return *this; }
56
58
62 inline const DataSource& GetDataSource() const{ return m_dataSource; }
63 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
64 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
65 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
66 inline DatasetInputConfig& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
67 inline DatasetInputConfig& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
69 private:
70
72 bool m_schemaHasBeenSet = false;
73
74 DataSource m_dataSource;
75 bool m_dataSourceHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CleanRoomsML
80} // namespace Aws
DatasetInputConfig & WithDataSource(const DataSource &value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetInputConfig & WithSchema(Aws::Vector< ColumnSchema > &&value)
const Aws::Vector< ColumnSchema > & GetSchema() const
AWS_CLEANROOMSML_API DatasetInputConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API DatasetInputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetInputConfig & AddSchema(const ColumnSchema &value)
DatasetInputConfig & WithDataSource(DataSource &&value)
void SetSchema(Aws::Vector< ColumnSchema > &&value)
DatasetInputConfig & AddSchema(ColumnSchema &&value)
void SetSchema(const Aws::Vector< ColumnSchema > &value)
DatasetInputConfig & WithSchema(const Aws::Vector< ColumnSchema > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue