AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline SnowflakeSource& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline SnowflakeSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline SnowflakeSource& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const SnowflakeNodeData& GetData() const{ return m_data; }
62 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
63 inline void SetData(const SnowflakeNodeData& value) { m_dataHasBeenSet = true; m_data = value; }
64 inline void SetData(SnowflakeNodeData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
65 inline SnowflakeSource& WithData(const SnowflakeNodeData& value) { SetData(value); return *this;}
66 inline SnowflakeSource& WithData(SnowflakeNodeData&& value) { SetData(std::move(value)); return *this;}
68
70
73 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const{ return m_outputSchemas; }
74 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
75 inline void SetOutputSchemas(const Aws::Vector<GlueSchema>& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; }
76 inline void SetOutputSchemas(Aws::Vector<GlueSchema>&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); }
77 inline SnowflakeSource& WithOutputSchemas(const Aws::Vector<GlueSchema>& value) { SetOutputSchemas(value); return *this;}
78 inline SnowflakeSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
79 inline SnowflakeSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
80 inline SnowflakeSource& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; }
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 SnowflakeNodeData m_data;
88 bool m_dataHasBeenSet = false;
89
90 Aws::Vector<GlueSchema> m_outputSchemas;
91 bool m_outputSchemasHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
SnowflakeSource & AddOutputSchemas(const GlueSchema &value)
SnowflakeSource & AddOutputSchemas(GlueSchema &&value)
void SetData(SnowflakeNodeData &&value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
SnowflakeSource & WithName(const Aws::String &value)
const SnowflakeNodeData & GetData() const
SnowflakeSource & WithData(const SnowflakeNodeData &value)
AWS_GLUE_API SnowflakeSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API SnowflakeSource(Aws::Utils::Json::JsonView jsonValue)
void SetData(const SnowflakeNodeData &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
SnowflakeSource & WithName(Aws::String &&value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
void SetName(const char *value)
void SetName(const Aws::String &value)
SnowflakeSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
void SetName(Aws::String &&value)
SnowflakeSource & WithName(const char *value)
SnowflakeSource & WithData(SnowflakeNodeData &&value)
SnowflakeSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&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