AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Target.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 S3Target() = default;
37 AWS_GLUE_API S3Target(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetPath() const { return m_path; }
47 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
48 template<typename PathT = Aws::String>
49 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
50 template<typename PathT = Aws::String>
51 S3Target& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
53
55
61 inline const Aws::Vector<Aws::String>& GetExclusions() const { return m_exclusions; }
62 inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
63 template<typename ExclusionsT = Aws::Vector<Aws::String>>
64 void SetExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet = true; m_exclusions = std::forward<ExclusionsT>(value); }
65 template<typename ExclusionsT = Aws::Vector<Aws::String>>
66 S3Target& WithExclusions(ExclusionsT&& value) { SetExclusions(std::forward<ExclusionsT>(value)); return *this;}
67 template<typename ExclusionsT = Aws::String>
68 S3Target& AddExclusions(ExclusionsT&& value) { m_exclusionsHasBeenSet = true; m_exclusions.emplace_back(std::forward<ExclusionsT>(value)); return *this; }
70
72
76 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
77 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
78 template<typename ConnectionNameT = Aws::String>
79 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
80 template<typename ConnectionNameT = Aws::String>
81 S3Target& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
83
85
90 inline int GetSampleSize() const { return m_sampleSize; }
91 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
92 inline void SetSampleSize(int value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
93 inline S3Target& WithSampleSize(int value) { SetSampleSize(value); return *this;}
95
97
101 inline const Aws::String& GetEventQueueArn() const { return m_eventQueueArn; }
102 inline bool EventQueueArnHasBeenSet() const { return m_eventQueueArnHasBeenSet; }
103 template<typename EventQueueArnT = Aws::String>
104 void SetEventQueueArn(EventQueueArnT&& value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn = std::forward<EventQueueArnT>(value); }
105 template<typename EventQueueArnT = Aws::String>
106 S3Target& WithEventQueueArn(EventQueueArnT&& value) { SetEventQueueArn(std::forward<EventQueueArnT>(value)); return *this;}
108
110
114 inline const Aws::String& GetDlqEventQueueArn() const { return m_dlqEventQueueArn; }
115 inline bool DlqEventQueueArnHasBeenSet() const { return m_dlqEventQueueArnHasBeenSet; }
116 template<typename DlqEventQueueArnT = Aws::String>
117 void SetDlqEventQueueArn(DlqEventQueueArnT&& value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn = std::forward<DlqEventQueueArnT>(value); }
118 template<typename DlqEventQueueArnT = Aws::String>
119 S3Target& WithDlqEventQueueArn(DlqEventQueueArnT&& value) { SetDlqEventQueueArn(std::forward<DlqEventQueueArnT>(value)); return *this;}
121 private:
122
123 Aws::String m_path;
124 bool m_pathHasBeenSet = false;
125
126 Aws::Vector<Aws::String> m_exclusions;
127 bool m_exclusionsHasBeenSet = false;
128
129 Aws::String m_connectionName;
130 bool m_connectionNameHasBeenSet = false;
131
132 int m_sampleSize{0};
133 bool m_sampleSizeHasBeenSet = false;
134
135 Aws::String m_eventQueueArn;
136 bool m_eventQueueArnHasBeenSet = false;
137
138 Aws::String m_dlqEventQueueArn;
139 bool m_dlqEventQueueArnHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Glue
144} // namespace Aws
S3Target & AddExclusions(ExclusionsT &&value)
Definition S3Target.h:68
S3Target & WithDlqEventQueueArn(DlqEventQueueArnT &&value)
Definition S3Target.h:119
int GetSampleSize() const
Definition S3Target.h:90
const Aws::String & GetDlqEventQueueArn() const
Definition S3Target.h:114
void SetConnectionName(ConnectionNameT &&value)
Definition S3Target.h:79
S3Target & WithEventQueueArn(EventQueueArnT &&value)
Definition S3Target.h:106
bool PathHasBeenSet() const
Definition S3Target.h:47
const Aws::String & GetPath() const
Definition S3Target.h:46
void SetSampleSize(int value)
Definition S3Target.h:92
const Aws::String & GetEventQueueArn() const
Definition S3Target.h:101
bool ConnectionNameHasBeenSet() const
Definition S3Target.h:77
void SetEventQueueArn(EventQueueArnT &&value)
Definition S3Target.h:104
AWS_GLUE_API S3Target(Aws::Utils::Json::JsonView jsonValue)
S3Target & WithSampleSize(int value)
Definition S3Target.h:93
const Aws::Vector< Aws::String > & GetExclusions() const
Definition S3Target.h:61
const Aws::String & GetConnectionName() const
Definition S3Target.h:76
bool ExclusionsHasBeenSet() const
Definition S3Target.h:62
S3Target & WithConnectionName(ConnectionNameT &&value)
Definition S3Target.h:81
bool DlqEventQueueArnHasBeenSet() const
Definition S3Target.h:115
S3Target & WithPath(PathT &&value)
Definition S3Target.h:51
bool SampleSizeHasBeenSet() const
Definition S3Target.h:91
void SetPath(PathT &&value)
Definition S3Target.h:49
void SetExclusions(ExclusionsT &&value)
Definition S3Target.h:64
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDlqEventQueueArn(DlqEventQueueArnT &&value)
Definition S3Target.h:117
AWS_GLUE_API S3Target()=default
S3Target & WithExclusions(ExclusionsT &&value)
Definition S3Target.h:66
bool EventQueueArnHasBeenSet() const
Definition S3Target.h:102
AWS_GLUE_API S3Target & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue