AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BasicCatalogTarget.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 BasicCatalogTarget();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline BasicCatalogTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline BasicCatalogTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline BasicCatalogTarget& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
61 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
62 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
63 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
64 inline BasicCatalogTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
65 inline BasicCatalogTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
66 inline BasicCatalogTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
67 inline BasicCatalogTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
68 inline BasicCatalogTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
70
72
76 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPartitionKeys() const{ return m_partitionKeys; }
77 inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; }
78 inline void SetPartitionKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = value; }
79 inline void SetPartitionKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::move(value); }
82 inline BasicCatalogTarget& AddPartitionKeys(const Aws::Vector<Aws::String>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(value); return *this; }
83 inline BasicCatalogTarget& AddPartitionKeys(Aws::Vector<Aws::String>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(std::move(value)); return *this; }
85
87
91 inline const Aws::String& GetDatabase() const{ return m_database; }
92 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
93 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
94 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
95 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
96 inline BasicCatalogTarget& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
97 inline BasicCatalogTarget& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
98 inline BasicCatalogTarget& WithDatabase(const char* value) { SetDatabase(value); return *this;}
100
102
106 inline const Aws::String& GetTable() const{ return m_table; }
107 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
108 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
109 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
110 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
111 inline BasicCatalogTarget& WithTable(const Aws::String& value) { SetTable(value); return *this;}
112 inline BasicCatalogTarget& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
113 inline BasicCatalogTarget& WithTable(const char* value) { SetTable(value); return *this;}
115 private:
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
121 bool m_inputsHasBeenSet = false;
122
124 bool m_partitionKeysHasBeenSet = false;
125
126 Aws::String m_database;
127 bool m_databaseHasBeenSet = false;
128
129 Aws::String m_table;
130 bool m_tableHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Glue
135} // namespace Aws
BasicCatalogTarget & AddInputs(const Aws::String &value)
BasicCatalogTarget & WithName(Aws::String &&value)
BasicCatalogTarget & WithInputs(const Aws::Vector< Aws::String > &value)
void SetDatabase(const Aws::String &value)
const Aws::String & GetDatabase() const
const Aws::String & GetTable() const
BasicCatalogTarget & WithDatabase(const Aws::String &value)
BasicCatalogTarget & WithDatabase(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
BasicCatalogTarget & WithPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
BasicCatalogTarget & WithInputs(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API BasicCatalogTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetTable(const Aws::String &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
BasicCatalogTarget & WithName(const Aws::String &value)
BasicCatalogTarget & AddInputs(const char *value)
const Aws::Vector< Aws::String > & GetInputs() const
BasicCatalogTarget & WithDatabase(const char *value)
BasicCatalogTarget & AddInputs(Aws::String &&value)
void SetPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
BasicCatalogTarget & WithTable(const Aws::String &value)
BasicCatalogTarget & AddPartitionKeys(Aws::Vector< Aws::String > &&value)
BasicCatalogTarget & WithTable(const char *value)
BasicCatalogTarget & WithTable(Aws::String &&value)
AWS_GLUE_API BasicCatalogTarget(Aws::Utils::Json::JsonView jsonValue)
BasicCatalogTarget & AddPartitionKeys(const Aws::Vector< Aws::String > &value)
BasicCatalogTarget & WithName(const char *value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
const Aws::String & GetName() const
void SetDatabase(Aws::String &&value)
void SetPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
void SetInputs(const Aws::Vector< Aws::String > &value)
BasicCatalogTarget & WithPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &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