AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MappingEntry.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GLUE_API MappingEntry() = default;
38
39
41
44 inline const Aws::String& GetSourceTable() const { return m_sourceTable; }
45 inline bool SourceTableHasBeenSet() const { return m_sourceTableHasBeenSet; }
46 template<typename SourceTableT = Aws::String>
47 void SetSourceTable(SourceTableT&& value) { m_sourceTableHasBeenSet = true; m_sourceTable = std::forward<SourceTableT>(value); }
48 template<typename SourceTableT = Aws::String>
49 MappingEntry& WithSourceTable(SourceTableT&& value) { SetSourceTable(std::forward<SourceTableT>(value)); return *this;}
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) { m_sourcePathHasBeenSet = true; m_sourcePath = std::forward<SourcePathT>(value); }
60 template<typename SourcePathT = Aws::String>
61 MappingEntry& WithSourcePath(SourcePathT&& value) { SetSourcePath(std::forward<SourcePathT>(value)); return *this;}
63
65
68 inline const Aws::String& GetSourceType() const { return m_sourceType; }
69 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
70 template<typename SourceTypeT = Aws::String>
71 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::forward<SourceTypeT>(value); }
72 template<typename SourceTypeT = Aws::String>
73 MappingEntry& WithSourceType(SourceTypeT&& value) { SetSourceType(std::forward<SourceTypeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetTargetTable() const { return m_targetTable; }
81 inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; }
82 template<typename TargetTableT = Aws::String>
83 void SetTargetTable(TargetTableT&& value) { m_targetTableHasBeenSet = true; m_targetTable = std::forward<TargetTableT>(value); }
84 template<typename TargetTableT = Aws::String>
85 MappingEntry& WithTargetTable(TargetTableT&& value) { SetTargetTable(std::forward<TargetTableT>(value)); return *this;}
87
89
92 inline const Aws::String& GetTargetPath() const { return m_targetPath; }
93 inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; }
94 template<typename TargetPathT = Aws::String>
95 void SetTargetPath(TargetPathT&& value) { m_targetPathHasBeenSet = true; m_targetPath = std::forward<TargetPathT>(value); }
96 template<typename TargetPathT = Aws::String>
97 MappingEntry& WithTargetPath(TargetPathT&& value) { SetTargetPath(std::forward<TargetPathT>(value)); return *this;}
99
101
104 inline const Aws::String& GetTargetType() const { return m_targetType; }
105 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
106 template<typename TargetTypeT = Aws::String>
107 void SetTargetType(TargetTypeT&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::forward<TargetTypeT>(value); }
108 template<typename TargetTypeT = Aws::String>
109 MappingEntry& WithTargetType(TargetTypeT&& value) { SetTargetType(std::forward<TargetTypeT>(value)); return *this;}
111 private:
112
113 Aws::String m_sourceTable;
114 bool m_sourceTableHasBeenSet = false;
115
116 Aws::String m_sourcePath;
117 bool m_sourcePathHasBeenSet = false;
118
119 Aws::String m_sourceType;
120 bool m_sourceTypeHasBeenSet = false;
121
122 Aws::String m_targetTable;
123 bool m_targetTableHasBeenSet = false;
124
125 Aws::String m_targetPath;
126 bool m_targetPathHasBeenSet = false;
127
128 Aws::String m_targetType;
129 bool m_targetTypeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Glue
134} // 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