AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ApplyMapping.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/Mapping.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
37 {
38 public:
39 AWS_GLUE_API ApplyMapping() = default;
43
44
46
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 ApplyMapping& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
62 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
63 template<typename InputsT = Aws::Vector<Aws::String>>
64 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
65 template<typename InputsT = Aws::Vector<Aws::String>>
66 ApplyMapping& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
67 template<typename InputsT = Aws::String>
68 ApplyMapping& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
70
72
76 inline const Aws::Vector<Mapping>& GetMapping() const { return m_mapping; }
77 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
78 template<typename MappingT = Aws::Vector<Mapping>>
79 void SetMapping(MappingT&& value) { m_mappingHasBeenSet = true; m_mapping = std::forward<MappingT>(value); }
80 template<typename MappingT = Aws::Vector<Mapping>>
81 ApplyMapping& WithMapping(MappingT&& value) { SetMapping(std::forward<MappingT>(value)); return *this;}
82 template<typename MappingT = Mapping>
83 ApplyMapping& AddMapping(MappingT&& value) { m_mappingHasBeenSet = true; m_mapping.emplace_back(std::forward<MappingT>(value)); return *this; }
85 private:
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
91 bool m_inputsHasBeenSet = false;
92
93 Aws::Vector<Mapping> m_mapping;
94 bool m_mappingHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Glue
99} // namespace Aws
void SetMapping(MappingT &&value)
ApplyMapping & AddMapping(MappingT &&value)
void SetName(NameT &&value)
AWS_GLUE_API ApplyMapping()=default
AWS_GLUE_API ApplyMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplyMapping & WithMapping(MappingT &&value)
AWS_GLUE_API ApplyMapping(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ApplyMapping & WithName(NameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ApplyMapping & AddInputs(InputsT &&value)
ApplyMapping & WithInputs(InputsT &&value)
const Aws::Vector< Mapping > & GetMapping() const
const Aws::Vector< Aws::String > & GetInputs() const
void SetInputs(InputsT &&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