AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnowflakeSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/SnowflakeNodeData.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/GlueSchema.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_GLUE_API SnowflakeSource() = default;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 SnowflakeSource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_dataHasBeenSet = true; m_data = std::forward<DataT>(value); }
63 template<typename DataT = SnowflakeNodeData>
64 SnowflakeSource& WithData(DataT&& value) { SetData(std::forward<DataT>(value)); return *this;}
66
68
71 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const { return m_outputSchemas; }
72 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
73 template<typename OutputSchemasT = Aws::Vector<GlueSchema>>
74 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
75 template<typename OutputSchemasT = Aws::Vector<GlueSchema>>
76 SnowflakeSource& WithOutputSchemas(OutputSchemasT&& value) { SetOutputSchemas(std::forward<OutputSchemasT>(value)); return *this;}
77 template<typename OutputSchemasT = GlueSchema>
78 SnowflakeSource& AddOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value)); return *this; }
80 private:
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 SnowflakeNodeData m_data;
86 bool m_dataHasBeenSet = false;
87
88 Aws::Vector<GlueSchema> m_outputSchemas;
89 bool m_outputSchemasHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Glue
94} // 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