AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IcebergTarget.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
30 public:
31 AWS_GLUE_API IcebergTarget() = default;
35
37
41 inline const Aws::Vector<Aws::String>& GetPaths() const { return m_paths; }
42 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
43 template <typename PathsT = Aws::Vector<Aws::String>>
44 void SetPaths(PathsT&& value) {
45 m_pathsHasBeenSet = true;
46 m_paths = std::forward<PathsT>(value);
47 }
48 template <typename PathsT = Aws::Vector<Aws::String>>
49 IcebergTarget& WithPaths(PathsT&& value) {
50 SetPaths(std::forward<PathsT>(value));
51 return *this;
52 }
53 template <typename PathsT = Aws::String>
54 IcebergTarget& AddPaths(PathsT&& value) {
55 m_pathsHasBeenSet = true;
56 m_paths.emplace_back(std::forward<PathsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
66 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
67 template <typename ConnectionNameT = Aws::String>
68 void SetConnectionName(ConnectionNameT&& value) {
69 m_connectionNameHasBeenSet = true;
70 m_connectionName = std::forward<ConnectionNameT>(value);
71 }
72 template <typename ConnectionNameT = Aws::String>
73 IcebergTarget& WithConnectionName(ConnectionNameT&& value) {
74 SetConnectionName(std::forward<ConnectionNameT>(value));
75 return *this;
76 }
78
80
86 inline const Aws::Vector<Aws::String>& GetExclusions() const { return m_exclusions; }
87 inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
88 template <typename ExclusionsT = Aws::Vector<Aws::String>>
89 void SetExclusions(ExclusionsT&& value) {
90 m_exclusionsHasBeenSet = true;
91 m_exclusions = std::forward<ExclusionsT>(value);
92 }
93 template <typename ExclusionsT = Aws::Vector<Aws::String>>
94 IcebergTarget& WithExclusions(ExclusionsT&& value) {
95 SetExclusions(std::forward<ExclusionsT>(value));
96 return *this;
97 }
98 template <typename ExclusionsT = Aws::String>
99 IcebergTarget& AddExclusions(ExclusionsT&& value) {
100 m_exclusionsHasBeenSet = true;
101 m_exclusions.emplace_back(std::forward<ExclusionsT>(value));
102 return *this;
103 }
105
107
112 inline int GetMaximumTraversalDepth() const { return m_maximumTraversalDepth; }
113 inline bool MaximumTraversalDepthHasBeenSet() const { return m_maximumTraversalDepthHasBeenSet; }
114 inline void SetMaximumTraversalDepth(int value) {
115 m_maximumTraversalDepthHasBeenSet = true;
116 m_maximumTraversalDepth = value;
117 }
120 return *this;
121 }
123 private:
125
126 Aws::String m_connectionName;
127
128 Aws::Vector<Aws::String> m_exclusions;
129
130 int m_maximumTraversalDepth{0};
131 bool m_pathsHasBeenSet = false;
132 bool m_connectionNameHasBeenSet = false;
133 bool m_exclusionsHasBeenSet = false;
134 bool m_maximumTraversalDepthHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace Glue
139} // namespace Aws
void SetPaths(PathsT &&value)
IcebergTarget & WithConnectionName(ConnectionNameT &&value)
IcebergTarget & WithExclusions(ExclusionsT &&value)
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