AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
47 inline const Aws::Vector<Aws::String>& GetPaths() const{ return m_paths; }
48 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
49 inline void SetPaths(const Aws::Vector<Aws::String>& value) { m_pathsHasBeenSet = true; m_paths = value; }
50 inline void SetPaths(Aws::Vector<Aws::String>&& value) { m_pathsHasBeenSet = true; m_paths = std::move(value); }
51 inline IcebergTarget& WithPaths(const Aws::Vector<Aws::String>& value) { SetPaths(value); return *this;}
52 inline IcebergTarget& WithPaths(Aws::Vector<Aws::String>&& value) { SetPaths(std::move(value)); return *this;}
53 inline IcebergTarget& AddPaths(const Aws::String& value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
54 inline IcebergTarget& AddPaths(Aws::String&& value) { m_pathsHasBeenSet = true; m_paths.push_back(std::move(value)); return *this; }
55 inline IcebergTarget& AddPaths(const char* value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
57
59
62 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
63 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
64 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
65 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
66 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
67 inline IcebergTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
68 inline IcebergTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
69 inline IcebergTarget& WithConnectionName(const char* value) { SetConnectionName(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 inline void SetExclusions(const Aws::Vector<Aws::String>& value) { m_exclusionsHasBeenSet = true; m_exclusions = value; }
82 inline void SetExclusions(Aws::Vector<Aws::String>&& value) { m_exclusionsHasBeenSet = true; m_exclusions = std::move(value); }
83 inline IcebergTarget& WithExclusions(const Aws::Vector<Aws::String>& value) { SetExclusions(value); return *this;}
84 inline IcebergTarget& WithExclusions(Aws::Vector<Aws::String>&& value) { SetExclusions(std::move(value)); return *this;}
85 inline IcebergTarget& AddExclusions(const Aws::String& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
86 inline IcebergTarget& AddExclusions(Aws::String&& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(std::move(value)); return *this; }
87 inline IcebergTarget& AddExclusions(const char* value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
89
91
96 inline int GetMaximumTraversalDepth() const{ return m_maximumTraversalDepth; }
97 inline bool MaximumTraversalDepthHasBeenSet() const { return m_maximumTraversalDepthHasBeenSet; }
98 inline void SetMaximumTraversalDepth(int value) { m_maximumTraversalDepthHasBeenSet = true; m_maximumTraversalDepth = value; }
99 inline IcebergTarget& WithMaximumTraversalDepth(int value) { SetMaximumTraversalDepth(value); return *this;}
101 private:
102
104 bool m_pathsHasBeenSet = false;
105
106 Aws::String m_connectionName;
107 bool m_connectionNameHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_exclusions;
110 bool m_exclusionsHasBeenSet = false;
111
112 int m_maximumTraversalDepth;
113 bool m_maximumTraversalDepthHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Glue
118} // namespace Aws
bool MaximumTraversalDepthHasBeenSet() const
IcebergTarget & AddPaths(const char *value)
void SetPaths(const Aws::Vector< Aws::String > &value)
void SetExclusions(Aws::Vector< Aws::String > &&value)
IcebergTarget & AddPaths(Aws::String &&value)
void SetConnectionName(const char *value)
void SetPaths(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPaths() const
IcebergTarget & WithConnectionName(Aws::String &&value)
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 SetMaximumTraversalDepth(int value)
IcebergTarget & WithPaths(const Aws::Vector< Aws::String > &value)
IcebergTarget & WithExclusions(const Aws::Vector< Aws::String > &value)
IcebergTarget & WithExclusions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetExclusions() const
IcebergTarget & AddExclusions(const Aws::String &value)
IcebergTarget & WithConnectionName(const char *value)
void SetConnectionName(const Aws::String &value)
IcebergTarget & AddExclusions(const char *value)
IcebergTarget & WithConnectionName(const Aws::String &value)
void SetConnectionName(Aws::String &&value)
IcebergTarget & AddPaths(const Aws::String &value)
IcebergTarget & AddExclusions(Aws::String &&value)
void SetExclusions(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IcebergTarget & WithMaximumTraversalDepth(int value)
IcebergTarget & WithPaths(Aws::Vector< Aws::String > &&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