AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeltaTables(const Aws::Vector<Aws::String>& value) { m_deltaTablesHasBeenSet = true; m_deltaTables = value; }
49 inline void SetDeltaTables(Aws::Vector<Aws::String>&& value) { m_deltaTablesHasBeenSet = true; m_deltaTables = std::move(value); }
50 inline DeltaTarget& WithDeltaTables(const Aws::Vector<Aws::String>& value) { SetDeltaTables(value); return *this;}
51 inline DeltaTarget& WithDeltaTables(Aws::Vector<Aws::String>&& value) { SetDeltaTables(std::move(value)); return *this;}
52 inline DeltaTarget& AddDeltaTables(const Aws::String& value) { m_deltaTablesHasBeenSet = true; m_deltaTables.push_back(value); return *this; }
53 inline DeltaTarget& AddDeltaTables(Aws::String&& value) { m_deltaTablesHasBeenSet = true; m_deltaTables.push_back(std::move(value)); return *this; }
54 inline DeltaTarget& AddDeltaTables(const char* value) { m_deltaTablesHasBeenSet = true; m_deltaTables.push_back(value); return *this; }
56
58
61 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
62 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
63 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
64 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
65 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
66 inline DeltaTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
67 inline DeltaTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
68 inline DeltaTarget& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
70
72
75 inline bool GetWriteManifest() const{ return m_writeManifest; }
76 inline bool WriteManifestHasBeenSet() const { return m_writeManifestHasBeenSet; }
77 inline void SetWriteManifest(bool value) { m_writeManifestHasBeenSet = true; m_writeManifest = value; }
78 inline DeltaTarget& WithWriteManifest(bool value) { SetWriteManifest(value); return *this;}
80
82
87 inline bool GetCreateNativeDeltaTable() const{ return m_createNativeDeltaTable; }
88 inline bool CreateNativeDeltaTableHasBeenSet() const { return m_createNativeDeltaTableHasBeenSet; }
89 inline void SetCreateNativeDeltaTable(bool value) { m_createNativeDeltaTableHasBeenSet = true; m_createNativeDeltaTable = value; }
90 inline DeltaTarget& WithCreateNativeDeltaTable(bool value) { SetCreateNativeDeltaTable(value); return *this;}
92 private:
93
94 Aws::Vector<Aws::String> m_deltaTables;
95 bool m_deltaTablesHasBeenSet = false;
96
97 Aws::String m_connectionName;
98 bool m_connectionNameHasBeenSet = false;
99
100 bool m_writeManifest;
101 bool m_writeManifestHasBeenSet = false;
102
103 bool m_createNativeDeltaTable;
104 bool m_createNativeDeltaTableHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
DeltaTarget & WithConnectionName(const Aws::String &value)
Definition DeltaTarget.h:66
void SetConnectionName(const char *value)
Definition DeltaTarget.h:65
const Aws::String & GetConnectionName() const
Definition DeltaTarget.h:61
DeltaTarget & AddDeltaTables(const char *value)
Definition DeltaTarget.h:54
void SetDeltaTables(Aws::Vector< Aws::String > &&value)
Definition DeltaTarget.h:49
void SetConnectionName(const Aws::String &value)
Definition DeltaTarget.h:63
bool WriteManifestHasBeenSet() const
Definition DeltaTarget.h:76
DeltaTarget & WithDeltaTables(const Aws::Vector< Aws::String > &value)
Definition DeltaTarget.h:50
const Aws::Vector< Aws::String > & GetDeltaTables() const
Definition DeltaTarget.h:46
DeltaTarget & AddDeltaTables(const Aws::String &value)
Definition DeltaTarget.h:52
AWS_GLUE_API DeltaTarget(Aws::Utils::Json::JsonView jsonValue)
DeltaTarget & AddDeltaTables(Aws::String &&value)
Definition DeltaTarget.h:53
void SetWriteManifest(bool value)
Definition DeltaTarget.h:77
DeltaTarget & WithDeltaTables(Aws::Vector< Aws::String > &&value)
Definition DeltaTarget.h:51
AWS_GLUE_API DeltaTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
DeltaTarget & WithCreateNativeDeltaTable(bool value)
Definition DeltaTarget.h:90
bool ConnectionNameHasBeenSet() const
Definition DeltaTarget.h:62
bool GetCreateNativeDeltaTable() const
Definition DeltaTarget.h:87
DeltaTarget & WithConnectionName(Aws::String &&value)
Definition DeltaTarget.h:67
void SetCreateNativeDeltaTable(bool value)
Definition DeltaTarget.h:89
bool CreateNativeDeltaTableHasBeenSet() const
Definition DeltaTarget.h:88
DeltaTarget & WithConnectionName(const char *value)
Definition DeltaTarget.h:68
void SetConnectionName(Aws::String &&value)
Definition DeltaTarget.h:64
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeltaTables(const Aws::Vector< Aws::String > &value)
Definition DeltaTarget.h:48
DeltaTarget & WithWriteManifest(bool value)
Definition DeltaTarget.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue