AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
Route.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/GroupFilters.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
34 class Route
35 {
36 public:
37 AWS_GLUE_API Route() = default;
38 AWS_GLUE_API Route(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUE_API Route& operator=(Aws::Utils::Json::JsonView jsonValue);
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 Route& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
60 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
61 template<typename InputsT = Aws::Vector<Aws::String>>
62 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
63 template<typename InputsT = Aws::Vector<Aws::String>>
64 Route& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
65 template<typename InputsT = Aws::String>
66 Route& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
68
70
74 inline const Aws::Vector<GroupFilters>& GetGroupFiltersList() const { return m_groupFiltersList; }
75 inline bool GroupFiltersListHasBeenSet() const { return m_groupFiltersListHasBeenSet; }
76 template<typename GroupFiltersListT = Aws::Vector<GroupFilters>>
77 void SetGroupFiltersList(GroupFiltersListT&& value) { m_groupFiltersListHasBeenSet = true; m_groupFiltersList = std::forward<GroupFiltersListT>(value); }
78 template<typename GroupFiltersListT = Aws::Vector<GroupFilters>>
79 Route& WithGroupFiltersList(GroupFiltersListT&& value) { SetGroupFiltersList(std::forward<GroupFiltersListT>(value)); return *this;}
80 template<typename GroupFiltersListT = GroupFilters>
81 Route& AddGroupFiltersList(GroupFiltersListT&& value) { m_groupFiltersListHasBeenSet = true; m_groupFiltersList.emplace_back(std::forward<GroupFiltersListT>(value)); return *this; }
83 private:
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
89 bool m_inputsHasBeenSet = false;
90
91 Aws::Vector<GroupFilters> m_groupFiltersList;
92 bool m_groupFiltersListHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Glue
97} // namespace Aws
AWS_GLUE_API Route(Aws::Utils::Json::JsonView jsonValue)
Route & AddGroupFiltersList(GroupFiltersListT &&value)
Definition Route.h:81
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
Definition Route.h:50
void SetInputs(InputsT &&value)
Definition Route.h:62
AWS_GLUE_API Route & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
Definition Route.h:48
Route & WithName(NameT &&value)
Definition Route.h:52
Route & WithInputs(InputsT &&value)
Definition Route.h:64
bool InputsHasBeenSet() const
Definition Route.h:60
Route & WithGroupFiltersList(GroupFiltersListT &&value)
Definition Route.h:79
AWS_GLUE_API Route()=default
const Aws::String & GetName() const
Definition Route.h:47
bool GroupFiltersListHasBeenSet() const
Definition Route.h:75
const Aws::Vector< GroupFilters > & GetGroupFiltersList() const
Definition Route.h:74
const Aws::Vector< Aws::String > & GetInputs() const
Definition Route.h:59
Route & AddInputs(InputsT &&value)
Definition Route.h:66
void SetGroupFiltersList(GroupFiltersListT &&value)
Definition Route.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue