AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline RenameField& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline RenameField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline RenameField& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
61 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
62 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
63 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
64 inline RenameField& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
65 inline RenameField& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
66 inline RenameField& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
67 inline RenameField& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
68 inline RenameField& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
70
72
75 inline const Aws::Vector<Aws::String>& GetSourcePath() const{ return m_sourcePath; }
76 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
77 inline void SetSourcePath(const Aws::Vector<Aws::String>& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
78 inline void SetSourcePath(Aws::Vector<Aws::String>&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
79 inline RenameField& WithSourcePath(const Aws::Vector<Aws::String>& value) { SetSourcePath(value); return *this;}
80 inline RenameField& WithSourcePath(Aws::Vector<Aws::String>&& value) { SetSourcePath(std::move(value)); return *this;}
81 inline RenameField& AddSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath.push_back(value); return *this; }
82 inline RenameField& AddSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath.push_back(std::move(value)); return *this; }
83 inline RenameField& AddSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.push_back(value); return *this; }
85
87
90 inline const Aws::Vector<Aws::String>& GetTargetPath() const{ return m_targetPath; }
91 inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; }
92 inline void SetTargetPath(const Aws::Vector<Aws::String>& value) { m_targetPathHasBeenSet = true; m_targetPath = value; }
93 inline void SetTargetPath(Aws::Vector<Aws::String>&& value) { m_targetPathHasBeenSet = true; m_targetPath = std::move(value); }
94 inline RenameField& WithTargetPath(const Aws::Vector<Aws::String>& value) { SetTargetPath(value); return *this;}
95 inline RenameField& WithTargetPath(Aws::Vector<Aws::String>&& value) { SetTargetPath(std::move(value)); return *this;}
96 inline RenameField& AddTargetPath(const Aws::String& value) { m_targetPathHasBeenSet = true; m_targetPath.push_back(value); return *this; }
97 inline RenameField& AddTargetPath(Aws::String&& value) { m_targetPathHasBeenSet = true; m_targetPath.push_back(std::move(value)); return *this; }
98 inline RenameField& AddTargetPath(const char* value) { m_targetPathHasBeenSet = true; m_targetPath.push_back(value); return *this; }
100 private:
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
106 bool m_inputsHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_sourcePath;
109 bool m_sourcePathHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_targetPath;
112 bool m_targetPathHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Glue
117} // namespace Aws
RenameField & AddTargetPath(Aws::String &&value)
Definition RenameField.h:97
RenameField & WithTargetPath(const Aws::Vector< Aws::String > &value)
Definition RenameField.h:94
void SetInputs(const Aws::Vector< Aws::String > &value)
Definition RenameField.h:62
AWS_GLUE_API RenameField & operator=(Aws::Utils::Json::JsonView jsonValue)
RenameField & AddInputs(const Aws::String &value)
Definition RenameField.h:66
AWS_GLUE_API RenameField(Aws::Utils::Json::JsonView jsonValue)
RenameField & WithSourcePath(const Aws::Vector< Aws::String > &value)
Definition RenameField.h:79
const Aws::Vector< Aws::String > & GetInputs() const
Definition RenameField.h:60
RenameField & WithName(const Aws::String &value)
Definition RenameField.h:51
void SetTargetPath(const Aws::Vector< Aws::String > &value)
Definition RenameField.h:92
RenameField & WithSourcePath(Aws::Vector< Aws::String > &&value)
Definition RenameField.h:80
void SetTargetPath(Aws::Vector< Aws::String > &&value)
Definition RenameField.h:93
RenameField & AddTargetPath(const char *value)
Definition RenameField.h:98
RenameField & WithTargetPath(Aws::Vector< Aws::String > &&value)
Definition RenameField.h:95
void SetSourcePath(const Aws::Vector< Aws::String > &value)
Definition RenameField.h:77
RenameField & AddTargetPath(const Aws::String &value)
Definition RenameField.h:96
RenameField & AddInputs(Aws::String &&value)
Definition RenameField.h:67
const Aws::String & GetName() const
Definition RenameField.h:46
RenameField & AddInputs(const char *value)
Definition RenameField.h:68
RenameField & AddSourcePath(Aws::String &&value)
Definition RenameField.h:82
const Aws::Vector< Aws::String > & GetSourcePath() const
Definition RenameField.h:75
void SetSourcePath(Aws::Vector< Aws::String > &&value)
Definition RenameField.h:78
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
Definition RenameField.h:50
void SetName(Aws::String &&value)
Definition RenameField.h:49
RenameField & WithName(const char *value)
Definition RenameField.h:53
const Aws::Vector< Aws::String > & GetTargetPath() const
Definition RenameField.h:90
RenameField & AddSourcePath(const Aws::String &value)
Definition RenameField.h:81
RenameField & WithInputs(const Aws::Vector< Aws::String > &value)
Definition RenameField.h:64
RenameField & WithInputs(Aws::Vector< Aws::String > &&value)
Definition RenameField.h:65
RenameField & WithName(Aws::String &&value)
Definition RenameField.h:52
void SetInputs(Aws::Vector< Aws::String > &&value)
Definition RenameField.h:63
void SetName(const Aws::String &value)
Definition RenameField.h:48
RenameField & AddSourcePath(const char *value)
Definition RenameField.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue