AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JdbcTarget.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 <aws/glue/model/JdbcMetadataEntry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GLUE_API JdbcTarget();
37 AWS_GLUE_API JdbcTarget(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
47 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
48 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
49 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
50 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
51 inline JdbcTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
52 inline JdbcTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
53 inline JdbcTarget& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
55
57
60 inline const Aws::String& GetPath() const{ return m_path; }
61 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
62 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
63 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
64 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
65 inline JdbcTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;}
66 inline JdbcTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
67 inline JdbcTarget& WithPath(const char* value) { SetPath(value); return *this;}
69
71
77 inline const Aws::Vector<Aws::String>& GetExclusions() const{ return m_exclusions; }
78 inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
79 inline void SetExclusions(const Aws::Vector<Aws::String>& value) { m_exclusionsHasBeenSet = true; m_exclusions = value; }
80 inline void SetExclusions(Aws::Vector<Aws::String>&& value) { m_exclusionsHasBeenSet = true; m_exclusions = std::move(value); }
81 inline JdbcTarget& WithExclusions(const Aws::Vector<Aws::String>& value) { SetExclusions(value); return *this;}
82 inline JdbcTarget& WithExclusions(Aws::Vector<Aws::String>&& value) { SetExclusions(std::move(value)); return *this;}
83 inline JdbcTarget& AddExclusions(const Aws::String& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
84 inline JdbcTarget& AddExclusions(Aws::String&& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(std::move(value)); return *this; }
85 inline JdbcTarget& AddExclusions(const char* value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
87
89
96 inline const Aws::Vector<JdbcMetadataEntry>& GetEnableAdditionalMetadata() const{ return m_enableAdditionalMetadata; }
97 inline bool EnableAdditionalMetadataHasBeenSet() const { return m_enableAdditionalMetadataHasBeenSet; }
98 inline void SetEnableAdditionalMetadata(const Aws::Vector<JdbcMetadataEntry>& value) { m_enableAdditionalMetadataHasBeenSet = true; m_enableAdditionalMetadata = value; }
99 inline void SetEnableAdditionalMetadata(Aws::Vector<JdbcMetadataEntry>&& value) { m_enableAdditionalMetadataHasBeenSet = true; m_enableAdditionalMetadata = std::move(value); }
102 inline JdbcTarget& AddEnableAdditionalMetadata(const JdbcMetadataEntry& value) { m_enableAdditionalMetadataHasBeenSet = true; m_enableAdditionalMetadata.push_back(value); return *this; }
103 inline JdbcTarget& AddEnableAdditionalMetadata(JdbcMetadataEntry&& value) { m_enableAdditionalMetadataHasBeenSet = true; m_enableAdditionalMetadata.push_back(std::move(value)); return *this; }
105 private:
106
107 Aws::String m_connectionName;
108 bool m_connectionNameHasBeenSet = false;
109
110 Aws::String m_path;
111 bool m_pathHasBeenSet = false;
112
113 Aws::Vector<Aws::String> m_exclusions;
114 bool m_exclusionsHasBeenSet = false;
115
116 Aws::Vector<JdbcMetadataEntry> m_enableAdditionalMetadata;
117 bool m_enableAdditionalMetadataHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Glue
122} // namespace Aws
JdbcTarget & AddEnableAdditionalMetadata(const JdbcMetadataEntry &value)
Definition JdbcTarget.h:102
JdbcTarget & AddExclusions(const char *value)
Definition JdbcTarget.h:85
JdbcTarget & WithEnableAdditionalMetadata(Aws::Vector< JdbcMetadataEntry > &&value)
Definition JdbcTarget.h:101
JdbcTarget & AddExclusions(const Aws::String &value)
Definition JdbcTarget.h:83
void SetPath(const Aws::String &value)
Definition JdbcTarget.h:62
void SetEnableAdditionalMetadata(Aws::Vector< JdbcMetadataEntry > &&value)
Definition JdbcTarget.h:99
JdbcTarget & AddEnableAdditionalMetadata(JdbcMetadataEntry &&value)
Definition JdbcTarget.h:103
const Aws::Vector< Aws::String > & GetExclusions() const
Definition JdbcTarget.h:77
JdbcTarget & WithPath(const char *value)
Definition JdbcTarget.h:67
void SetExclusions(Aws::Vector< Aws::String > &&value)
Definition JdbcTarget.h:80
void SetConnectionName(const Aws::String &value)
Definition JdbcTarget.h:48
const Aws::String & GetPath() const
Definition JdbcTarget.h:60
AWS_GLUE_API JdbcTarget(Aws::Utils::Json::JsonView jsonValue)
JdbcTarget & WithPath(const Aws::String &value)
Definition JdbcTarget.h:65
void SetExclusions(const Aws::Vector< Aws::String > &value)
Definition JdbcTarget.h:79
void SetPath(const char *value)
Definition JdbcTarget.h:64
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
JdbcTarget & WithPath(Aws::String &&value)
Definition JdbcTarget.h:66
void SetPath(Aws::String &&value)
Definition JdbcTarget.h:63
JdbcTarget & AddExclusions(Aws::String &&value)
Definition JdbcTarget.h:84
void SetConnectionName(Aws::String &&value)
Definition JdbcTarget.h:49
bool ExclusionsHasBeenSet() const
Definition JdbcTarget.h:78
void SetEnableAdditionalMetadata(const Aws::Vector< JdbcMetadataEntry > &value)
Definition JdbcTarget.h:98
AWS_GLUE_API JdbcTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectionName() const
Definition JdbcTarget.h:46
bool EnableAdditionalMetadataHasBeenSet() const
Definition JdbcTarget.h:97
JdbcTarget & WithConnectionName(Aws::String &&value)
Definition JdbcTarget.h:52
bool ConnectionNameHasBeenSet() const
Definition JdbcTarget.h:47
JdbcTarget & WithEnableAdditionalMetadata(const Aws::Vector< JdbcMetadataEntry > &value)
Definition JdbcTarget.h:100
JdbcTarget & WithExclusions(Aws::Vector< Aws::String > &&value)
Definition JdbcTarget.h:82
JdbcTarget & WithConnectionName(const char *value)
Definition JdbcTarget.h:53
const Aws::Vector< JdbcMetadataEntry > & GetEnableAdditionalMetadata() const
Definition JdbcTarget.h:96
JdbcTarget & WithConnectionName(const Aws::String &value)
Definition JdbcTarget.h:51
JdbcTarget & WithExclusions(const Aws::Vector< Aws::String > &value)
Definition JdbcTarget.h:81
void SetConnectionName(const char *value)
Definition JdbcTarget.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue