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>
48 template<
typename ToKeyT = Aws::String>
49 void SetToKey(ToKeyT&& value) { m_toKeyHasBeenSet =
true; m_toKey = std::forward<ToKeyT>(value); }
50 template<
typename ToKeyT = Aws::String>
60 template<
typename FromPathT = Aws::Vector<Aws::String>>
61 void SetFromPath(FromPathT&& value) { m_fromPathHasBeenSet =
true; m_fromPath = std::forward<FromPathT>(value); }
62 template<
typename FromPathT = Aws::Vector<Aws::String>>
64 template<
typename FromPathT = Aws::String>
65 Mapping&
AddFromPath(FromPathT&& value) { m_fromPathHasBeenSet =
true; m_fromPath.emplace_back(std::forward<FromPathT>(value));
return *
this; }
74 template<
typename FromTypeT = Aws::String>
75 void SetFromType(FromTypeT&& value) { m_fromTypeHasBeenSet =
true; m_fromType = std::forward<FromTypeT>(value); }
76 template<
typename FromTypeT = Aws::String>
86 template<
typename ToTypeT = Aws::String>
87 void SetToType(ToTypeT&& value) { m_toTypeHasBeenSet =
true; m_toType = std::forward<ToTypeT>(value); }
88 template<
typename ToTypeT = Aws::String>
98 inline void SetDropped(
bool value) { m_droppedHasBeenSet =
true; m_dropped = value; }
119 template<
typename ChildrenT = Aws::Vector<Mapping>>
120 void SetChildren(ChildrenT&& value) { m_childrenHasBeenSet =
true; m_children = std::forward<ChildrenT>(value); }
121 template<
typename ChildrenT = Aws::Vector<Mapping>>
123 template<
typename ChildrenT = Mapping>
124 Mapping&
AddChildren(ChildrenT&& value) { m_childrenHasBeenSet =
true; m_children.emplace_back(std::forward<ChildrenT>(value));
return *
this; }
129 bool m_toKeyHasBeenSet =
false;
132 bool m_fromPathHasBeenSet =
false;
135 bool m_fromTypeHasBeenSet =
false;
138 bool m_toTypeHasBeenSet =
false;
140 bool m_dropped{
false};
141 bool m_droppedHasBeenSet =
false;
144 bool m_childrenHasBeenSet =
false;
void SetDropped(bool value)
Mapping & WithDropped(bool value)
void SetToKey(ToKeyT &&value)
bool ToTypeHasBeenSet() const
void SetFromType(FromTypeT &&value)
bool ChildrenHasBeenSet() const
Mapping & AddChildren(ChildrenT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetToType(ToTypeT &&value)
bool DroppedHasBeenSet() const
const Aws::String & GetToType() const
Mapping & AddFromPath(FromPathT &&value)
bool FromPathHasBeenSet() const
AWS_GLUE_API Mapping & operator=(Aws::Utils::Json::JsonView jsonValue)
Mapping & WithFromType(FromTypeT &&value)
Mapping & WithToKey(ToKeyT &&value)
Mapping & WithChildren(ChildrenT &&value)
const Aws::Vector< Mapping > & GetChildren() const
Mapping & WithFromPath(FromPathT &&value)
const Aws::String & GetFromType() const
AWS_GLUE_API Mapping()=default
Mapping & WithToType(ToTypeT &&value)
AWS_GLUE_API Mapping(Aws::Utils::Json::JsonView jsonValue)
void SetFromPath(FromPathT &&value)
bool ToKeyHasBeenSet() const
const Aws::Vector< Aws::String > & GetFromPath() const
const Aws::String & GetToKey() const
bool FromTypeHasBeenSet() const
void SetChildren(ChildrenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue