AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
HudiTarget.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_GLUE_API HudiTarget() = default;
36 AWS_GLUE_API HudiTarget(Aws::Utils::Json::JsonView jsonValue);
39
40
42
48 inline const Aws::Vector<Aws::String>& GetPaths() const { return m_paths; }
49 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
50 template<typename PathsT = Aws::Vector<Aws::String>>
51 void SetPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths = std::forward<PathsT>(value); }
52 template<typename PathsT = Aws::Vector<Aws::String>>
53 HudiTarget& WithPaths(PathsT&& value) { SetPaths(std::forward<PathsT>(value)); return *this;}
54 template<typename PathsT = Aws::String>
55 HudiTarget& AddPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths.emplace_back(std::forward<PathsT>(value)); return *this; }
57
59
64 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
65 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
66 template<typename ConnectionNameT = Aws::String>
67 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
68 template<typename ConnectionNameT = Aws::String>
69 HudiTarget& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
71
73
79 inline const Aws::Vector<Aws::String>& GetExclusions() const { return m_exclusions; }
80 inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
81 template<typename ExclusionsT = Aws::Vector<Aws::String>>
82 void SetExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet = true; m_exclusions = std::forward<ExclusionsT>(value); }
83 template<typename ExclusionsT = Aws::Vector<Aws::String>>
84 HudiTarget& WithExclusions(ExclusionsT&& value) { SetExclusions(std::forward<ExclusionsT>(value)); return *this;}
85 template<typename ExclusionsT = Aws::String>
86 HudiTarget& AddExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet = true; m_exclusions.emplace_back(std::forward<ExclusionsT>(value)); return *this; }
88
90
95 inline int GetMaximumTraversalDepth() const { return m_maximumTraversalDepth; }
96 inline bool MaximumTraversalDepthHasBeenSet() const { return m_maximumTraversalDepthHasBeenSet; }
97 inline void SetMaximumTraversalDepth(int value) { m_maximumTraversalDepthHasBeenSet = true; m_maximumTraversalDepth = value; }
98 inline HudiTarget& WithMaximumTraversalDepth(int value) { SetMaximumTraversalDepth(value); return *this;}
100 private:
101
103 bool m_pathsHasBeenSet = false;
104
105 Aws::String m_connectionName;
106 bool m_connectionNameHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_exclusions;
109 bool m_exclusionsHasBeenSet = false;
110
111 int m_maximumTraversalDepth{0};
112 bool m_maximumTraversalDepthHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Glue
117} // namespace Aws
HudiTarget & AddExclusions(ExclusionsT &&value)
Definition HudiTarget.h:86
void SetPaths(PathsT &&value)
Definition HudiTarget.h:51
const Aws::Vector< Aws::String > & GetPaths() const
Definition HudiTarget.h:48
bool ConnectionNameHasBeenSet() const
Definition HudiTarget.h:65
void SetConnectionName(ConnectionNameT &&value)
Definition HudiTarget.h:67
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExclusions(ExclusionsT &&value)
Definition HudiTarget.h:82
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:64
int GetMaximumTraversalDepth() const
Definition HudiTarget.h:95
void SetMaximumTraversalDepth(int value)
Definition HudiTarget.h:97
const Aws::Vector< Aws::String > & GetExclusions() const
Definition HudiTarget.h:79
AWS_GLUE_API HudiTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
HudiTarget & WithConnectionName(ConnectionNameT &&value)
Definition HudiTarget.h:69
HudiTarget & WithExclusions(ExclusionsT &&value)
Definition HudiTarget.h:84
AWS_GLUE_API HudiTarget()=default
HudiTarget & WithPaths(PathsT &&value)
Definition HudiTarget.h:53
bool MaximumTraversalDepthHasBeenSet() const
Definition HudiTarget.h:96
bool ExclusionsHasBeenSet() const
Definition HudiTarget.h:80
HudiTarget & WithMaximumTraversalDepth(int value)
Definition HudiTarget.h:98
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue