AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/DataQualityGlueTable.h>
9#include <aws/glue/model/GlueTable.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API DataSource() = default;
32 AWS_GLUE_API DataSource(Aws::Utils::Json::JsonView jsonValue);
35
37
40 inline const GlueTable& GetGlueTable() const { return m_glueTable; }
41 inline bool GlueTableHasBeenSet() const { return m_glueTableHasBeenSet; }
42 template <typename GlueTableT = GlueTable>
43 void SetGlueTable(GlueTableT&& value) {
44 m_glueTableHasBeenSet = true;
45 m_glueTable = std::forward<GlueTableT>(value);
46 }
47 template <typename GlueTableT = GlueTable>
48 DataSource& WithGlueTable(GlueTableT&& value) {
49 SetGlueTable(std::forward<GlueTableT>(value));
50 return *this;
51 }
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) {
62 m_dataQualityGlueTableHasBeenSet = true;
63 m_dataQualityGlueTable = std::forward<DataQualityGlueTableT>(value);
64 }
65 template <typename DataQualityGlueTableT = DataQualityGlueTable>
66 DataSource& WithDataQualityGlueTable(DataQualityGlueTableT&& value) {
67 SetDataQualityGlueTable(std::forward<DataQualityGlueTableT>(value));
68 return *this;
69 }
71 private:
72 GlueTable m_glueTable;
73
74 DataQualityGlueTable m_dataQualityGlueTable;
75 bool m_glueTableHasBeenSet = false;
76 bool m_dataQualityGlueTableHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Glue
81} // namespace Aws
bool GlueTableHasBeenSet() const
Definition DataSource.h:41
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:48
void SetGlueTable(GlueTableT &&value)
Definition DataSource.h:43
AWS_GLUE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
const DataQualityGlueTable & GetDataQualityGlueTable() const
Definition DataSource.h:58
const GlueTable & GetGlueTable() const
Definition DataSource.h:40
DataSource & WithDataQualityGlueTable(DataQualityGlueTableT &&value)
Definition DataSource.h:66
void SetDataQualityGlueTable(DataQualityGlueTableT &&value)
Definition DataSource.h:61
AWS_GLUE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue