AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IcebergTarget.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
34 {
35 public:
36 AWS_GLUE_API IcebergTarget() = default;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetPaths() const { return m_paths; }
48 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
49 template<typename PathsT = Aws::Vector<Aws::String>>
50 void SetPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths = std::forward<PathsT>(value); }
51 template<typename PathsT = Aws::Vector<Aws::String>>
52 IcebergTarget& WithPaths(PathsT&& value) { SetPaths(std::forward<PathsT>(value)); return *this;}
53 template<typename PathsT = Aws::String>
54 IcebergTarget& AddPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths.emplace_back(std::forward<PathsT>(value)); return *this; }
56
58
61 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
62 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
63 template<typename ConnectionNameT = Aws::String>
64 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
65 template<typename ConnectionNameT = Aws::String>
66 IcebergTarget& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
68
70
76 inline const Aws::Vector<Aws::String>& GetExclusions() const { return m_exclusions; }
77 inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
78 template<typename ExclusionsT = Aws::Vector<Aws::String>>
79 void SetExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet = true; m_exclusions = std::forward<ExclusionsT>(value); }
80 template<typename ExclusionsT = Aws::Vector<Aws::String>>
81 IcebergTarget& WithExclusions(ExclusionsT&& value) { SetExclusions(std::forward<ExclusionsT>(value)); return *this;}
82 template<typename ExclusionsT = Aws::String>
83 IcebergTarget& AddExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet = true; m_exclusions.emplace_back(std::forward<ExclusionsT>(value)); return *this; }
85
87
92 inline int GetMaximumTraversalDepth() const { return m_maximumTraversalDepth; }
93 inline bool MaximumTraversalDepthHasBeenSet() const { return m_maximumTraversalDepthHasBeenSet; }
94 inline void SetMaximumTraversalDepth(int value) { m_maximumTraversalDepthHasBeenSet = true; m_maximumTraversalDepth = value; }
95 inline IcebergTarget& WithMaximumTraversalDepth(int value) { SetMaximumTraversalDepth(value); return *this;}
97 private:
98
100 bool m_pathsHasBeenSet = false;
101
102 Aws::String m_connectionName;
103 bool m_connectionNameHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_exclusions;
106 bool m_exclusionsHasBeenSet = false;
107
108 int m_maximumTraversalDepth{0};
109 bool m_maximumTraversalDepthHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
void SetPaths(PathsT &&value)
IcebergTarget & WithConnectionName(ConnectionNameT &&value)
IcebergTarget & WithExclusions(ExclusionsT &&value)
bool MaximumTraversalDepthHasBeenSet() const
const Aws::Vector< Aws::String > & GetPaths() const
AWS_GLUE_API IcebergTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectionName() const
AWS_GLUE_API IcebergTarget(Aws::Utils::Json::JsonView jsonValue)
void SetExclusions(ExclusionsT &&value)
AWS_GLUE_API IcebergTarget()=default
void SetMaximumTraversalDepth(int value)
const Aws::Vector< Aws::String > & GetExclusions() const
IcebergTarget & WithPaths(PathsT &&value)
void SetConnectionName(ConnectionNameT &&value)
IcebergTarget & AddExclusions(ExclusionsT &&value)
IcebergTarget & AddPaths(PathsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergTarget & WithMaximumTraversalDepth(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue