AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetSourceTable() const{ return m_sourceTable; }
45 inline bool SourceTableHasBeenSet() const { return m_sourceTableHasBeenSet; }
46 inline void SetSourceTable(const Aws::String& value) { m_sourceTableHasBeenSet = true; m_sourceTable = value; }
47 inline void SetSourceTable(Aws::String&& value) { m_sourceTableHasBeenSet = true; m_sourceTable = std::move(value); }
48 inline void SetSourceTable(const char* value) { m_sourceTableHasBeenSet = true; m_sourceTable.assign(value); }
49 inline MappingEntry& WithSourceTable(const Aws::String& value) { SetSourceTable(value); return *this;}
50 inline MappingEntry& WithSourceTable(Aws::String&& value) { SetSourceTable(std::move(value)); return *this;}
51 inline MappingEntry& WithSourceTable(const char* value) { SetSourceTable(value); return *this;}
53
55
58 inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
59 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
60 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
61 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
62 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
63 inline MappingEntry& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
64 inline MappingEntry& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
65 inline MappingEntry& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
67
69
72 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
73 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
74 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
75 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
76 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
77 inline MappingEntry& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
78 inline MappingEntry& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
79 inline MappingEntry& WithSourceType(const char* value) { SetSourceType(value); return *this;}
81
83
86 inline const Aws::String& GetTargetTable() const{ return m_targetTable; }
87 inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; }
88 inline void SetTargetTable(const Aws::String& value) { m_targetTableHasBeenSet = true; m_targetTable = value; }
89 inline void SetTargetTable(Aws::String&& value) { m_targetTableHasBeenSet = true; m_targetTable = std::move(value); }
90 inline void SetTargetTable(const char* value) { m_targetTableHasBeenSet = true; m_targetTable.assign(value); }
91 inline MappingEntry& WithTargetTable(const Aws::String& value) { SetTargetTable(value); return *this;}
92 inline MappingEntry& WithTargetTable(Aws::String&& value) { SetTargetTable(std::move(value)); return *this;}
93 inline MappingEntry& WithTargetTable(const char* value) { SetTargetTable(value); return *this;}
95
97
100 inline const Aws::String& GetTargetPath() const{ return m_targetPath; }
101 inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; }
102 inline void SetTargetPath(const Aws::String& value) { m_targetPathHasBeenSet = true; m_targetPath = value; }
103 inline void SetTargetPath(Aws::String&& value) { m_targetPathHasBeenSet = true; m_targetPath = std::move(value); }
104 inline void SetTargetPath(const char* value) { m_targetPathHasBeenSet = true; m_targetPath.assign(value); }
105 inline MappingEntry& WithTargetPath(const Aws::String& value) { SetTargetPath(value); return *this;}
106 inline MappingEntry& WithTargetPath(Aws::String&& value) { SetTargetPath(std::move(value)); return *this;}
107 inline MappingEntry& WithTargetPath(const char* value) { SetTargetPath(value); return *this;}
109
111
114 inline const Aws::String& GetTargetType() const{ return m_targetType; }
115 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
116 inline void SetTargetType(const Aws::String& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
117 inline void SetTargetType(Aws::String&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
118 inline void SetTargetType(const char* value) { m_targetTypeHasBeenSet = true; m_targetType.assign(value); }
119 inline MappingEntry& WithTargetType(const Aws::String& value) { SetTargetType(value); return *this;}
120 inline MappingEntry& WithTargetType(Aws::String&& value) { SetTargetType(std::move(value)); return *this;}
121 inline MappingEntry& WithTargetType(const char* value) { SetTargetType(value); return *this;}
123 private:
124
125 Aws::String m_sourceTable;
126 bool m_sourceTableHasBeenSet = false;
127
128 Aws::String m_sourcePath;
129 bool m_sourcePathHasBeenSet = false;
130
131 Aws::String m_sourceType;
132 bool m_sourceTypeHasBeenSet = false;
133
134 Aws::String m_targetTable;
135 bool m_targetTableHasBeenSet = false;
136
137 Aws::String m_targetPath;
138 bool m_targetPathHasBeenSet = false;
139
140 Aws::String m_targetType;
141 bool m_targetTypeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Glue
146} // namespace Aws
void SetTargetPath(const Aws::String &value)
void SetSourcePath(const Aws::String &value)
void SetTargetType(const Aws::String &value)
void SetSourceTable(const char *value)
MappingEntry & WithSourceTable(const char *value)
void SetTargetTable(const char *value)
void SetTargetTable(const Aws::String &value)
void SetTargetType(const char *value)
MappingEntry & WithSourceTable(Aws::String &&value)
bool TargetPathHasBeenSet() const
MappingEntry & WithTargetTable(const char *value)
void SetSourceTable(Aws::String &&value)
bool TargetTypeHasBeenSet() const
MappingEntry & WithTargetTable(const Aws::String &value)
MappingEntry & WithSourceTable(const Aws::String &value)
void SetSourceTable(const Aws::String &value)
AWS_GLUE_API MappingEntry(Aws::Utils::Json::JsonView jsonValue)
void SetSourceType(Aws::String &&value)
MappingEntry & WithSourceType(Aws::String &&value)
MappingEntry & WithTargetPath(Aws::String &&value)
bool SourceTypeHasBeenSet() const
MappingEntry & WithTargetType(const char *value)
const Aws::String & GetTargetPath() const
void SetSourceType(const Aws::String &value)
const Aws::String & GetSourceType() const
MappingEntry & WithTargetPath(const char *value)
void SetSourcePath(Aws::String &&value)
AWS_GLUE_API MappingEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetType() const
MappingEntry & WithSourceType(const Aws::String &value)
MappingEntry & WithTargetType(const Aws::String &value)
void SetTargetTable(Aws::String &&value)
MappingEntry & WithSourcePath(Aws::String &&value)
void SetTargetPath(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceType(const char *value)
MappingEntry & WithTargetPath(const Aws::String &value)
MappingEntry & WithSourceType(const char *value)
MappingEntry & WithSourcePath(const char *value)
void SetTargetType(Aws::String &&value)
void SetTargetPath(Aws::String &&value)
const Aws::String & GetSourceTable() const
void SetSourcePath(const char *value)
MappingEntry & WithTargetTable(Aws::String &&value)
const Aws::String & GetTargetTable() const
MappingEntry & WithTargetType(Aws::String &&value)
const Aws::String & GetSourcePath() const
bool TargetTableHasBeenSet() const
AWS_GLUE_API MappingEntry()
bool SourceTableHasBeenSet() const
MappingEntry & WithSourcePath(const Aws::String &value)
bool SourcePathHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue