AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeltaTarget.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 DeltaTarget() = default;
37 AWS_GLUE_API DeltaTarget(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::Vector<Aws::String>& GetDeltaTables() const { return m_deltaTables; }
47 inline bool DeltaTablesHasBeenSet() const { return m_deltaTablesHasBeenSet; }
48 template<typename DeltaTablesT = Aws::Vector<Aws::String>>
49 void SetDeltaTables(DeltaTablesT&& value) { m_deltaTablesHasBeenSet = true; m_deltaTables = std::forward<DeltaTablesT>(value); }
50 template<typename DeltaTablesT = Aws::Vector<Aws::String>>
51 DeltaTarget& WithDeltaTables(DeltaTablesT&& value) { SetDeltaTables(std::forward<DeltaTablesT>(value)); return *this;}
52 template<typename DeltaTablesT = Aws::String>
53 DeltaTarget& AddDeltaTables(DeltaTablesT&& value) { m_deltaTablesHasBeenSet = true; m_deltaTables.emplace_back(std::forward<DeltaTablesT>(value)); return *this; }
55
57
60 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
61 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
62 template<typename ConnectionNameT = Aws::String>
63 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
64 template<typename ConnectionNameT = Aws::String>
65 DeltaTarget& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
67
69
72 inline bool GetWriteManifest() const { return m_writeManifest; }
73 inline bool WriteManifestHasBeenSet() const { return m_writeManifestHasBeenSet; }
74 inline void SetWriteManifest(bool value) { m_writeManifestHasBeenSet = true; m_writeManifest = value; }
75 inline DeltaTarget& WithWriteManifest(bool value) { SetWriteManifest(value); return *this;}
77
79
84 inline bool GetCreateNativeDeltaTable() const { return m_createNativeDeltaTable; }
85 inline bool CreateNativeDeltaTableHasBeenSet() const { return m_createNativeDeltaTableHasBeenSet; }
86 inline void SetCreateNativeDeltaTable(bool value) { m_createNativeDeltaTableHasBeenSet = true; m_createNativeDeltaTable = value; }
87 inline DeltaTarget& WithCreateNativeDeltaTable(bool value) { SetCreateNativeDeltaTable(value); return *this;}
89 private:
90
91 Aws::Vector<Aws::String> m_deltaTables;
92 bool m_deltaTablesHasBeenSet = false;
93
94 Aws::String m_connectionName;
95 bool m_connectionNameHasBeenSet = false;
96
97 bool m_writeManifest{false};
98 bool m_writeManifestHasBeenSet = false;
99
100 bool m_createNativeDeltaTable{false};
101 bool m_createNativeDeltaTableHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
const Aws::String & GetConnectionName() const
Definition DeltaTarget.h:60
void SetDeltaTables(DeltaTablesT &&value)
Definition DeltaTarget.h:49
DeltaTarget & AddDeltaTables(DeltaTablesT &&value)
Definition DeltaTarget.h:53
bool WriteManifestHasBeenSet() const
Definition DeltaTarget.h:73
const Aws::Vector< Aws::String > & GetDeltaTables() const
Definition DeltaTarget.h:46
DeltaTarget & WithConnectionName(ConnectionNameT &&value)
Definition DeltaTarget.h:65
AWS_GLUE_API DeltaTarget(Aws::Utils::Json::JsonView jsonValue)
void SetWriteManifest(bool value)
Definition DeltaTarget.h:74
DeltaTarget & WithDeltaTables(DeltaTablesT &&value)
Definition DeltaTarget.h:51
AWS_GLUE_API DeltaTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API DeltaTarget()=default
DeltaTarget & WithCreateNativeDeltaTable(bool value)
Definition DeltaTarget.h:87
void SetConnectionName(ConnectionNameT &&value)
Definition DeltaTarget.h:63
bool ConnectionNameHasBeenSet() const
Definition DeltaTarget.h:61
bool GetCreateNativeDeltaTable() const
Definition DeltaTarget.h:84
void SetCreateNativeDeltaTable(bool value)
Definition DeltaTarget.h:86
bool CreateNativeDeltaTableHasBeenSet() const
Definition DeltaTarget.h:85
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DeltaTarget & WithWriteManifest(bool value)
Definition DeltaTarget.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue