AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeltaTarget.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API DeltaTarget() = default;
32 AWS_GLUE_API DeltaTarget(Aws::Utils::Json::JsonView jsonValue);
35
37
40 inline const Aws::Vector<Aws::String>& GetDeltaTables() const { return m_deltaTables; }
41 inline bool DeltaTablesHasBeenSet() const { return m_deltaTablesHasBeenSet; }
42 template <typename DeltaTablesT = Aws::Vector<Aws::String>>
43 void SetDeltaTables(DeltaTablesT&& value) {
44 m_deltaTablesHasBeenSet = true;
45 m_deltaTables = std::forward<DeltaTablesT>(value);
46 }
47 template <typename DeltaTablesT = Aws::Vector<Aws::String>>
48 DeltaTarget& WithDeltaTables(DeltaTablesT&& value) {
49 SetDeltaTables(std::forward<DeltaTablesT>(value));
50 return *this;
51 }
52 template <typename DeltaTablesT = Aws::String>
53 DeltaTarget& AddDeltaTables(DeltaTablesT&& value) {
54 m_deltaTablesHasBeenSet = true;
55 m_deltaTables.emplace_back(std::forward<DeltaTablesT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
65 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
66 template <typename ConnectionNameT = Aws::String>
67 void SetConnectionName(ConnectionNameT&& value) {
68 m_connectionNameHasBeenSet = true;
69 m_connectionName = std::forward<ConnectionNameT>(value);
70 }
71 template <typename ConnectionNameT = Aws::String>
72 DeltaTarget& WithConnectionName(ConnectionNameT&& value) {
73 SetConnectionName(std::forward<ConnectionNameT>(value));
74 return *this;
75 }
77
79
82 inline bool GetWriteManifest() const { return m_writeManifest; }
83 inline bool WriteManifestHasBeenSet() const { return m_writeManifestHasBeenSet; }
84 inline void SetWriteManifest(bool value) {
85 m_writeManifestHasBeenSet = true;
86 m_writeManifest = value;
87 }
88 inline DeltaTarget& WithWriteManifest(bool value) {
89 SetWriteManifest(value);
90 return *this;
91 }
93
95
100 inline bool GetCreateNativeDeltaTable() const { return m_createNativeDeltaTable; }
101 inline bool CreateNativeDeltaTableHasBeenSet() const { return m_createNativeDeltaTableHasBeenSet; }
102 inline void SetCreateNativeDeltaTable(bool value) {
103 m_createNativeDeltaTableHasBeenSet = true;
104 m_createNativeDeltaTable = value;
105 }
108 return *this;
109 }
111 private:
112 Aws::Vector<Aws::String> m_deltaTables;
113
114 Aws::String m_connectionName;
115
116 bool m_writeManifest{false};
117
118 bool m_createNativeDeltaTable{false};
119 bool m_deltaTablesHasBeenSet = false;
120 bool m_connectionNameHasBeenSet = false;
121 bool m_writeManifestHasBeenSet = false;
122 bool m_createNativeDeltaTableHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace Glue
127} // namespace Aws
const Aws::String & GetConnectionName() const
Definition DeltaTarget.h:64
void SetDeltaTables(DeltaTablesT &&value)
Definition DeltaTarget.h:43
DeltaTarget & AddDeltaTables(DeltaTablesT &&value)
Definition DeltaTarget.h:53
bool WriteManifestHasBeenSet() const
Definition DeltaTarget.h:83
const Aws::Vector< Aws::String > & GetDeltaTables() const
Definition DeltaTarget.h:40
DeltaTarget & WithConnectionName(ConnectionNameT &&value)
Definition DeltaTarget.h:72
AWS_GLUE_API DeltaTarget(Aws::Utils::Json::JsonView jsonValue)
void SetWriteManifest(bool value)
Definition DeltaTarget.h:84
DeltaTarget & WithDeltaTables(DeltaTablesT &&value)
Definition DeltaTarget.h:48
AWS_GLUE_API DeltaTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API DeltaTarget()=default
DeltaTarget & WithCreateNativeDeltaTable(bool value)
void SetConnectionName(ConnectionNameT &&value)
Definition DeltaTarget.h:67
bool ConnectionNameHasBeenSet() const
Definition DeltaTarget.h:65
bool GetCreateNativeDeltaTable() const
void SetCreateNativeDeltaTable(bool value)
bool CreateNativeDeltaTableHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DeltaTarget & WithWriteManifest(bool value)
Definition DeltaTarget.h:88
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue