AWS SDK for C++

AWS SDK for C++ Version 1.11.634

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/GlueTable.h>
9#include <aws/glue/model/DataQualityGlueTable.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API DataSource() = default;
37 AWS_GLUE_API DataSource(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const GlueTable& GetGlueTable() const { return m_glueTable; }
47 inline bool GlueTableHasBeenSet() const { return m_glueTableHasBeenSet; }
48 template<typename GlueTableT = GlueTable>
49 void SetGlueTable(GlueTableT&& value) { m_glueTableHasBeenSet = true; m_glueTable = std::forward<GlueTableT>(value); }
50 template<typename GlueTableT = GlueTable>
51 DataSource& WithGlueTable(GlueTableT&& value) { SetGlueTable(std::forward<GlueTableT>(value)); return *this;}
53
55
58 inline const DataQualityGlueTable& GetDataQualityGlueTable() const { return m_dataQualityGlueTable; }
59 inline bool DataQualityGlueTableHasBeenSet() const { return m_dataQualityGlueTableHasBeenSet; }
60 template<typename DataQualityGlueTableT = DataQualityGlueTable>
61 void SetDataQualityGlueTable(DataQualityGlueTableT&& value) { m_dataQualityGlueTableHasBeenSet = true; m_dataQualityGlueTable = std::forward<DataQualityGlueTableT>(value); }
62 template<typename DataQualityGlueTableT = DataQualityGlueTable>
63 DataSource& WithDataQualityGlueTable(DataQualityGlueTableT&& value) { SetDataQualityGlueTable(std::forward<DataQualityGlueTableT>(value)); return *this;}
65 private:
66
67 GlueTable m_glueTable;
68 bool m_glueTableHasBeenSet = false;
69
70 DataQualityGlueTable m_dataQualityGlueTable;
71 bool m_dataQualityGlueTableHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
bool GlueTableHasBeenSet() const
Definition DataSource.h:47
bool DataQualityGlueTableHasBeenSet() const
Definition DataSource.h:59
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API DataSource()=default
DataSource & WithGlueTable(GlueTableT &&value)
Definition DataSource.h:51
void SetGlueTable(GlueTableT &&value)
Definition DataSource.h:49
AWS_GLUE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
const DataQualityGlueTable & GetDataQualityGlueTable() const
Definition DataSource.h:58
const GlueTable & GetGlueTable() const
Definition DataSource.h:46
DataSource & WithDataQualityGlueTable(DataQualityGlueTableT &&value)
Definition DataSource.h:63
void SetDataQualityGlueTable(DataQualityGlueTableT &&value)
Definition DataSource.h:61
AWS_GLUE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue