AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
MappingEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API MappingEntry() = default;
33
35
38 inline const Aws::String& GetSourceTable() const { return m_sourceTable; }
39 inline bool SourceTableHasBeenSet() const { return m_sourceTableHasBeenSet; }
40 template <typename SourceTableT = Aws::String>
41 void SetSourceTable(SourceTableT&& value) {
42 m_sourceTableHasBeenSet = true;
43 m_sourceTable = std::forward<SourceTableT>(value);
44 }
45 template <typename SourceTableT = Aws::String>
46 MappingEntry& WithSourceTable(SourceTableT&& value) {
47 SetSourceTable(std::forward<SourceTableT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
57 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
58 template <typename SourcePathT = Aws::String>
59 void SetSourcePath(SourcePathT&& value) {
60 m_sourcePathHasBeenSet = true;
61 m_sourcePath = std::forward<SourcePathT>(value);
62 }
63 template <typename SourcePathT = Aws::String>
64 MappingEntry& WithSourcePath(SourcePathT&& value) {
65 SetSourcePath(std::forward<SourcePathT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetSourceType() const { return m_sourceType; }
75 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
76 template <typename SourceTypeT = Aws::String>
77 void SetSourceType(SourceTypeT&& value) {
78 m_sourceTypeHasBeenSet = true;
79 m_sourceType = std::forward<SourceTypeT>(value);
80 }
81 template <typename SourceTypeT = Aws::String>
82 MappingEntry& WithSourceType(SourceTypeT&& value) {
83 SetSourceType(std::forward<SourceTypeT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTargetTable() const { return m_targetTable; }
93 inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; }
94 template <typename TargetTableT = Aws::String>
95 void SetTargetTable(TargetTableT&& value) {
96 m_targetTableHasBeenSet = true;
97 m_targetTable = std::forward<TargetTableT>(value);
98 }
99 template <typename TargetTableT = Aws::String>
100 MappingEntry& WithTargetTable(TargetTableT&& value) {
101 SetTargetTable(std::forward<TargetTableT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetTargetPath() const { return m_targetPath; }
111 inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; }
112 template <typename TargetPathT = Aws::String>
113 void SetTargetPath(TargetPathT&& value) {
114 m_targetPathHasBeenSet = true;
115 m_targetPath = std::forward<TargetPathT>(value);
116 }
117 template <typename TargetPathT = Aws::String>
118 MappingEntry& WithTargetPath(TargetPathT&& value) {
119 SetTargetPath(std::forward<TargetPathT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetTargetType() const { return m_targetType; }
129 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
130 template <typename TargetTypeT = Aws::String>
131 void SetTargetType(TargetTypeT&& value) {
132 m_targetTypeHasBeenSet = true;
133 m_targetType = std::forward<TargetTypeT>(value);
134 }
135 template <typename TargetTypeT = Aws::String>
136 MappingEntry& WithTargetType(TargetTypeT&& value) {
137 SetTargetType(std::forward<TargetTypeT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_sourceTable;
143
144 Aws::String m_sourcePath;
145
146 Aws::String m_sourceType;
147
148 Aws::String m_targetTable;
149
150 Aws::String m_targetPath;
151
152 Aws::String m_targetType;
153 bool m_sourceTableHasBeenSet = false;
154 bool m_sourcePathHasBeenSet = false;
155 bool m_sourceTypeHasBeenSet = false;
156 bool m_targetTableHasBeenSet = false;
157 bool m_targetPathHasBeenSet = false;
158 bool m_targetTypeHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace Glue
163} // namespace Aws
void SetSourceType(SourceTypeT &&value)
bool TargetPathHasBeenSet() const
void SetTargetPath(TargetPathT &&value)
bool TargetTypeHasBeenSet() const
AWS_GLUE_API MappingEntry(Aws::Utils::Json::JsonView jsonValue)
void SetSourcePath(SourcePathT &&value)
MappingEntry & WithTargetType(TargetTypeT &&value)
bool SourceTypeHasBeenSet() const
const Aws::String & GetTargetPath() const
MappingEntry & WithTargetTable(TargetTableT &&value)
const Aws::String & GetSourceType() const
MappingEntry & WithSourcePath(SourcePathT &&value)
AWS_GLUE_API MappingEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
MappingEntry & WithTargetPath(TargetPathT &&value)
const Aws::String & GetTargetType() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetTable(TargetTableT &&value)
void SetSourceTable(SourceTableT &&value)
const Aws::String & GetSourceTable() const
const Aws::String & GetTargetTable() const
void SetTargetType(TargetTypeT &&value)
const Aws::String & GetSourcePath() const
MappingEntry & WithSourceType(SourceTypeT &&value)
bool TargetTableHasBeenSet() const
AWS_GLUE_API MappingEntry()=default
bool SourceTableHasBeenSet() const
bool SourcePathHasBeenSet() const
MappingEntry & WithSourceTable(SourceTableT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue