AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
S3Target.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
29class S3Target {
30 public:
31 AWS_GLUE_API S3Target() = default;
32 AWS_GLUE_API S3Target(Aws::Utils::Json::JsonView jsonValue);
35
37
40 inline const Aws::String& GetPath() const { return m_path; }
41 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
42 template <typename PathT = Aws::String>
43 void SetPath(PathT&& value) {
44 m_pathHasBeenSet = true;
45 m_path = std::forward<PathT>(value);
46 }
47 template <typename PathT = Aws::String>
48 S3Target& WithPath(PathT&& value) {
49 SetPath(std::forward<PathT>(value));
50 return *this;
51 }
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) {
65 m_exclusionsHasBeenSet = true;
66 m_exclusions = std::forward<ExclusionsT>(value);
67 }
68 template <typename ExclusionsT = Aws::Vector<Aws::String>>
69 S3Target& WithExclusions(ExclusionsT&& value) {
70 SetExclusions(std::forward<ExclusionsT>(value));
71 return *this;
72 }
73 template <typename ExclusionsT = Aws::String>
74 S3Target& AddExclusions(ExclusionsT&& value) {
75 m_exclusionsHasBeenSet = true;
76 m_exclusions.emplace_back(std::forward<ExclusionsT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
87 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
88 template <typename ConnectionNameT = Aws::String>
89 void SetConnectionName(ConnectionNameT&& value) {
90 m_connectionNameHasBeenSet = true;
91 m_connectionName = std::forward<ConnectionNameT>(value);
92 }
93 template <typename ConnectionNameT = Aws::String>
94 S3Target& WithConnectionName(ConnectionNameT&& value) {
95 SetConnectionName(std::forward<ConnectionNameT>(value));
96 return *this;
97 }
99
101
106 inline int GetSampleSize() const { return m_sampleSize; }
107 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
108 inline void SetSampleSize(int value) {
109 m_sampleSizeHasBeenSet = true;
110 m_sampleSize = value;
111 }
112 inline S3Target& WithSampleSize(int value) {
113 SetSampleSize(value);
114 return *this;
115 }
117
119
123 inline const Aws::String& GetEventQueueArn() const { return m_eventQueueArn; }
124 inline bool EventQueueArnHasBeenSet() const { return m_eventQueueArnHasBeenSet; }
125 template <typename EventQueueArnT = Aws::String>
126 void SetEventQueueArn(EventQueueArnT&& value) {
127 m_eventQueueArnHasBeenSet = true;
128 m_eventQueueArn = std::forward<EventQueueArnT>(value);
129 }
130 template <typename EventQueueArnT = Aws::String>
131 S3Target& WithEventQueueArn(EventQueueArnT&& value) {
132 SetEventQueueArn(std::forward<EventQueueArnT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::String& GetDlqEventQueueArn() const { return m_dlqEventQueueArn; }
143 inline bool DlqEventQueueArnHasBeenSet() const { return m_dlqEventQueueArnHasBeenSet; }
144 template <typename DlqEventQueueArnT = Aws::String>
145 void SetDlqEventQueueArn(DlqEventQueueArnT&& value) {
146 m_dlqEventQueueArnHasBeenSet = true;
147 m_dlqEventQueueArn = std::forward<DlqEventQueueArnT>(value);
148 }
149 template <typename DlqEventQueueArnT = Aws::String>
150 S3Target& WithDlqEventQueueArn(DlqEventQueueArnT&& value) {
151 SetDlqEventQueueArn(std::forward<DlqEventQueueArnT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_path;
157
158 Aws::Vector<Aws::String> m_exclusions;
159
160 Aws::String m_connectionName;
161
162 int m_sampleSize{0};
163
164 Aws::String m_eventQueueArn;
165
166 Aws::String m_dlqEventQueueArn;
167 bool m_pathHasBeenSet = false;
168 bool m_exclusionsHasBeenSet = false;
169 bool m_connectionNameHasBeenSet = false;
170 bool m_sampleSizeHasBeenSet = false;
171 bool m_eventQueueArnHasBeenSet = false;
172 bool m_dlqEventQueueArnHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace Glue
177} // namespace Aws
S3Target & AddExclusions(ExclusionsT &&value)
Definition S3Target.h:74
S3Target & WithDlqEventQueueArn(DlqEventQueueArnT &&value)
Definition S3Target.h:150
const Aws::String & GetDlqEventQueueArn() const
Definition S3Target.h:142
void SetConnectionName(ConnectionNameT &&value)
Definition S3Target.h:89
S3Target & WithEventQueueArn(EventQueueArnT &&value)
Definition S3Target.h:131
bool PathHasBeenSet() const
Definition S3Target.h:41
const Aws::String & GetPath() const
Definition S3Target.h:40
void SetSampleSize(int value)
Definition S3Target.h:108
const Aws::String & GetEventQueueArn() const
Definition S3Target.h:123
bool ConnectionNameHasBeenSet() const
Definition S3Target.h:87
void SetEventQueueArn(EventQueueArnT &&value)
Definition S3Target.h:126
AWS_GLUE_API S3Target(Aws::Utils::Json::JsonView jsonValue)
S3Target & WithSampleSize(int value)
Definition S3Target.h:112
const Aws::Vector< Aws::String > & GetExclusions() const
Definition S3Target.h:61
const Aws::String & GetConnectionName() const
Definition S3Target.h:86
bool ExclusionsHasBeenSet() const
Definition S3Target.h:62
S3Target & WithConnectionName(ConnectionNameT &&value)
Definition S3Target.h:94
bool DlqEventQueueArnHasBeenSet() const
Definition S3Target.h:143
S3Target & WithPath(PathT &&value)
Definition S3Target.h:48
bool SampleSizeHasBeenSet() const
Definition S3Target.h:107
void SetPath(PathT &&value)
Definition S3Target.h:43
void SetExclusions(ExclusionsT &&value)
Definition S3Target.h:64
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDlqEventQueueArn(DlqEventQueueArnT &&value)
Definition S3Target.h:145
AWS_GLUE_API S3Target()=default
S3Target & WithExclusions(ExclusionsT &&value)
Definition S3Target.h:69
bool EventQueueArnHasBeenSet() const
Definition S3Target.h:124
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