AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
SnowflakeSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/GlueSchema.h>
11#include <aws/glue/model/SnowflakeNodeData.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
24
31 public:
32 AWS_GLUE_API SnowflakeSource() = default;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 SnowflakeSource& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const SnowflakeNodeData& GetData() const { return m_data; }
60 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
61 template <typename DataT = SnowflakeNodeData>
62 void SetData(DataT&& value) {
63 m_dataHasBeenSet = true;
64 m_data = std::forward<DataT>(value);
65 }
66 template <typename DataT = SnowflakeNodeData>
67 SnowflakeSource& WithData(DataT&& value) {
68 SetData(std::forward<DataT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const { return m_outputSchemas; }
78 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
79 template <typename OutputSchemasT = Aws::Vector<GlueSchema>>
80 void SetOutputSchemas(OutputSchemasT&& value) {
81 m_outputSchemasHasBeenSet = true;
82 m_outputSchemas = std::forward<OutputSchemasT>(value);
83 }
84 template <typename OutputSchemasT = Aws::Vector<GlueSchema>>
85 SnowflakeSource& WithOutputSchemas(OutputSchemasT&& value) {
86 SetOutputSchemas(std::forward<OutputSchemasT>(value));
87 return *this;
88 }
89 template <typename OutputSchemasT = GlueSchema>
90 SnowflakeSource& AddOutputSchemas(OutputSchemasT&& value) {
91 m_outputSchemasHasBeenSet = true;
92 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_name;
98
99 SnowflakeNodeData m_data;
100
101 Aws::Vector<GlueSchema> m_outputSchemas;
102 bool m_nameHasBeenSet = false;
103 bool m_dataHasBeenSet = false;
104 bool m_outputSchemasHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
const SnowflakeNodeData & GetData() const
AWS_GLUE_API SnowflakeSource & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeSource & WithName(NameT &&value)
AWS_GLUE_API SnowflakeSource(Aws::Utils::Json::JsonView jsonValue)
void SetOutputSchemas(OutputSchemasT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
SnowflakeSource & WithData(DataT &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
SnowflakeSource & AddOutputSchemas(OutputSchemasT &&value)
AWS_GLUE_API SnowflakeSource()=default
SnowflakeSource & WithOutputSchemas(OutputSchemasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue