AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline ApplyMapping& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline ApplyMapping& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline ApplyMapping& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
64 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
65 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
66 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
67 inline ApplyMapping& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
68 inline ApplyMapping& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
69 inline ApplyMapping& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
70 inline ApplyMapping& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
71 inline ApplyMapping& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
73
75
79 inline const Aws::Vector<Mapping>& GetMapping() const{ return m_mapping; }
80 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
81 inline void SetMapping(const Aws::Vector<Mapping>& value) { m_mappingHasBeenSet = true; m_mapping = value; }
82 inline void SetMapping(Aws::Vector<Mapping>&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
83 inline ApplyMapping& WithMapping(const Aws::Vector<Mapping>& value) { SetMapping(value); return *this;}
84 inline ApplyMapping& WithMapping(Aws::Vector<Mapping>&& value) { SetMapping(std::move(value)); return *this;}
85 inline ApplyMapping& AddMapping(const Mapping& value) { m_mappingHasBeenSet = true; m_mapping.push_back(value); return *this; }
86 inline ApplyMapping& AddMapping(Mapping&& value) { m_mappingHasBeenSet = true; m_mapping.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
94 bool m_inputsHasBeenSet = false;
95
96 Aws::Vector<Mapping> m_mapping;
97 bool m_mappingHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Glue
102} // namespace Aws
ApplyMapping & AddInputs(const char *value)
ApplyMapping & WithName(const Aws::String &value)
ApplyMapping & WithName(const char *value)
ApplyMapping & AddInputs(Aws::String &&value)
void SetMapping(Aws::Vector< Mapping > &&value)
ApplyMapping & AddInputs(const Aws::String &value)
AWS_GLUE_API ApplyMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ApplyMapping(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetInputs(Aws::Vector< Aws::String > &&value)
ApplyMapping & WithInputs(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputs(const Aws::Vector< Aws::String > &value)
ApplyMapping & AddMapping(const Mapping &value)
ApplyMapping & WithMapping(const Aws::Vector< Mapping > &value)
ApplyMapping & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
ApplyMapping & WithInputs(Aws::Vector< Aws::String > &&value)
void SetName(const char *value)
const Aws::Vector< Mapping > & GetMapping() const
ApplyMapping & WithMapping(Aws::Vector< Mapping > &&value)
void SetMapping(const Aws::Vector< Mapping > &value)
const Aws::Vector< Aws::String > & GetInputs() const
ApplyMapping & AddMapping(Mapping &&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