AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
HudiTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
29 public:
30 AWS_GLUE_API HudiTarget() = default;
31 AWS_GLUE_API HudiTarget(Aws::Utils::Json::JsonView jsonValue);
34
36
42 inline const Aws::Vector<Aws::String>& GetPaths() const { return m_paths; }
43 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
44 template <typename PathsT = Aws::Vector<Aws::String>>
45 void SetPaths(PathsT&& value) {
46 m_pathsHasBeenSet = true;
47 m_paths = std::forward<PathsT>(value);
48 }
49 template <typename PathsT = Aws::Vector<Aws::String>>
50 HudiTarget& WithPaths(PathsT&& value) {
51 SetPaths(std::forward<PathsT>(value));
52 return *this;
53 }
54 template <typename PathsT = Aws::String>
55 HudiTarget& AddPaths(PathsT&& value) {
56 m_pathsHasBeenSet = true;
57 m_paths.emplace_back(std::forward<PathsT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
69 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
70 template <typename ConnectionNameT = Aws::String>
71 void SetConnectionName(ConnectionNameT&& value) {
72 m_connectionNameHasBeenSet = true;
73 m_connectionName = std::forward<ConnectionNameT>(value);
74 }
75 template <typename ConnectionNameT = Aws::String>
76 HudiTarget& WithConnectionName(ConnectionNameT&& value) {
77 SetConnectionName(std::forward<ConnectionNameT>(value));
78 return *this;
79 }
81
83
89 inline const Aws::Vector<Aws::String>& GetExclusions() const { return m_exclusions; }
90 inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
91 template <typename ExclusionsT = Aws::Vector<Aws::String>>
92 void SetExclusions(ExclusionsT&& value) {
93 m_exclusionsHasBeenSet = true;
94 m_exclusions = std::forward<ExclusionsT>(value);
95 }
96 template <typename ExclusionsT = Aws::Vector<Aws::String>>
97 HudiTarget& WithExclusions(ExclusionsT&& value) {
98 SetExclusions(std::forward<ExclusionsT>(value));
99 return *this;
100 }
101 template <typename ExclusionsT = Aws::String>
102 HudiTarget& AddExclusions(ExclusionsT&& value) {
103 m_exclusionsHasBeenSet = true;
104 m_exclusions.emplace_back(std::forward<ExclusionsT>(value));
105 return *this;
106 }
108
110
115 inline int GetMaximumTraversalDepth() const { return m_maximumTraversalDepth; }
116 inline bool MaximumTraversalDepthHasBeenSet() const { return m_maximumTraversalDepthHasBeenSet; }
117 inline void SetMaximumTraversalDepth(int value) {
118 m_maximumTraversalDepthHasBeenSet = true;
119 m_maximumTraversalDepth = value;
120 }
123 return *this;
124 }
126 private:
128
129 Aws::String m_connectionName;
130
131 Aws::Vector<Aws::String> m_exclusions;
132
133 int m_maximumTraversalDepth{0};
134 bool m_pathsHasBeenSet = false;
135 bool m_connectionNameHasBeenSet = false;
136 bool m_exclusionsHasBeenSet = false;
137 bool m_maximumTraversalDepthHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace Glue
142} // namespace Aws
HudiTarget & AddExclusions(ExclusionsT &&value)
Definition HudiTarget.h:102
void SetPaths(PathsT &&value)
Definition HudiTarget.h:45
const Aws::Vector< Aws::String > & GetPaths() const
Definition HudiTarget.h:42
bool ConnectionNameHasBeenSet() const
Definition HudiTarget.h:69
void SetConnectionName(ConnectionNameT &&value)
Definition HudiTarget.h:71
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExclusions(ExclusionsT &&value)
Definition HudiTarget.h:92
AWS_GLUE_API HudiTarget(Aws::Utils::Json::JsonView jsonValue)
HudiTarget & AddPaths(PathsT &&value)
Definition HudiTarget.h:55
const Aws::String & GetConnectionName() const
Definition HudiTarget.h:68
int GetMaximumTraversalDepth() const
Definition HudiTarget.h:115
void SetMaximumTraversalDepth(int value)
Definition HudiTarget.h:117
const Aws::Vector< Aws::String > & GetExclusions() const
Definition HudiTarget.h:89
AWS_GLUE_API HudiTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
HudiTarget & WithConnectionName(ConnectionNameT &&value)
Definition HudiTarget.h:76
HudiTarget & WithExclusions(ExclusionsT &&value)
Definition HudiTarget.h:97
AWS_GLUE_API HudiTarget()=default
HudiTarget & WithPaths(PathsT &&value)
Definition HudiTarget.h:50
bool MaximumTraversalDepthHasBeenSet() const
Definition HudiTarget.h:116
bool ExclusionsHasBeenSet() const
Definition HudiTarget.h:90
HudiTarget & WithMaximumTraversalDepth(int value)
Definition HudiTarget.h:121
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue