AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DropDuplicates.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 DropDuplicates() = default;
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 DropDuplicates& 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 DropDuplicates& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
64 template<typename InputsT = Aws::String>
65 DropDuplicates& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
67
69
72 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetColumns() const { return m_columns; }
73 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
74 template<typename ColumnsT = Aws::Vector<Aws::Vector<Aws::String>>>
75 void SetColumns(ColumnsT&& value) { m_columnsHasBeenSet = true; m_columns = std::forward<ColumnsT>(value); }
76 template<typename ColumnsT = Aws::Vector<Aws::Vector<Aws::String>>>
77 DropDuplicates& WithColumns(ColumnsT&& value) { SetColumns(std::forward<ColumnsT>(value)); return *this;}
78 template<typename ColumnsT = Aws::Vector<Aws::String>>
79 DropDuplicates& AddColumns(ColumnsT&& value) { m_columnsHasBeenSet = true; m_columns.emplace_back(std::forward<ColumnsT>(value)); return *this; }
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
87 bool m_inputsHasBeenSet = false;
88
90 bool m_columnsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
AWS_GLUE_API DropDuplicates()=default
void SetInputs(InputsT &&value)
void SetColumns(ColumnsT &&value)
DropDuplicates & AddInputs(InputsT &&value)
DropDuplicates & WithInputs(InputsT &&value)
DropDuplicates & AddColumns(ColumnsT &&value)
const Aws::String & GetName() const
DropDuplicates & WithName(NameT &&value)
AWS_GLUE_API DropDuplicates & operator=(Aws::Utils::Json::JsonView jsonValue)
DropDuplicates & WithColumns(ColumnsT &&value)
AWS_GLUE_API DropDuplicates(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetColumns() const
const Aws::Vector< Aws::String > & GetInputs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue