AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RenameField.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API RenameField() = default;
37 AWS_GLUE_API RenameField(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 RenameField& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
59 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
60 template<typename InputsT = Aws::Vector<Aws::String>>
61 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
62 template<typename InputsT = Aws::Vector<Aws::String>>
63 RenameField& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
64 template<typename InputsT = Aws::String>
65 RenameField& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
67
69
72 inline const Aws::Vector<Aws::String>& GetSourcePath() const { return m_sourcePath; }
73 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
74 template<typename SourcePathT = Aws::Vector<Aws::String>>
75 void SetSourcePath(SourcePathT&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::forward<SourcePathT>(value); }
76 template<typename SourcePathT = Aws::Vector<Aws::String>>
77 RenameField& WithSourcePath(SourcePathT&& value) { SetSourcePath(std::forward<SourcePathT>(value)); return *this;}
78 template<typename SourcePathT = Aws::String>
79 RenameField& AddSourcePath(SourcePathT&& value) { m_sourcePathHasBeenSet = true; m_sourcePath.emplace_back(std::forward<SourcePathT>(value)); return *this; }
81
83
86 inline const Aws::Vector<Aws::String>& GetTargetPath() const { return m_targetPath; }
87 inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; }
88 template<typename TargetPathT = Aws::Vector<Aws::String>>
89 void SetTargetPath(TargetPathT&& value) { m_targetPathHasBeenSet = true; m_targetPath = std::forward<TargetPathT>(value); }
90 template<typename TargetPathT = Aws::Vector<Aws::String>>
91 RenameField& WithTargetPath(TargetPathT&& value) { SetTargetPath(std::forward<TargetPathT>(value)); return *this;}
92 template<typename TargetPathT = Aws::String>
93 RenameField& AddTargetPath(TargetPathT&& value) { m_targetPathHasBeenSet = true; m_targetPath.emplace_back(std::forward<TargetPathT>(value)); return *this; }
95 private:
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
101 bool m_inputsHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_sourcePath;
104 bool m_sourcePathHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_targetPath;
107 bool m_targetPathHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Glue
112} // namespace Aws
void SetTargetPath(TargetPathT &&value)
Definition RenameField.h:89
RenameField & AddTargetPath(TargetPathT &&value)
Definition RenameField.h:93
AWS_GLUE_API RenameField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API RenameField(Aws::Utils::Json::JsonView jsonValue)
RenameField & WithSourcePath(SourcePathT &&value)
Definition RenameField.h:77
const Aws::Vector< Aws::String > & GetInputs() const
Definition RenameField.h:58
const Aws::String & GetName() const
Definition RenameField.h:46
RenameField & WithName(NameT &&value)
Definition RenameField.h:51
void SetSourcePath(SourcePathT &&value)
Definition RenameField.h:75
RenameField & WithInputs(InputsT &&value)
Definition RenameField.h:63
const Aws::Vector< Aws::String > & GetSourcePath() const
Definition RenameField.h:72
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
Definition RenameField.h:49
AWS_GLUE_API RenameField()=default
const Aws::Vector< Aws::String > & GetTargetPath() const
Definition RenameField.h:86
RenameField & AddSourcePath(SourcePathT &&value)
Definition RenameField.h:79
RenameField & AddInputs(InputsT &&value)
Definition RenameField.h:65
RenameField & WithTargetPath(TargetPathT &&value)
Definition RenameField.h:91
void SetInputs(InputsT &&value)
Definition RenameField.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue