AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
49 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
50 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
51 inline S3Target& WithPath(const Aws::String& value) { SetPath(value); return *this;}
52 inline S3Target& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
53 inline S3Target& WithPath(const char* value) { SetPath(value); return *this;}
55
57
63 inline const Aws::Vector<Aws::String>& GetExclusions() const{ return m_exclusions; }
64 inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
65 inline void SetExclusions(const Aws::Vector<Aws::String>& value) { m_exclusionsHasBeenSet = true; m_exclusions = value; }
66 inline void SetExclusions(Aws::Vector<Aws::String>&& value) { m_exclusionsHasBeenSet = true; m_exclusions = std::move(value); }
67 inline S3Target& WithExclusions(const Aws::Vector<Aws::String>& value) { SetExclusions(value); return *this;}
68 inline S3Target& WithExclusions(Aws::Vector<Aws::String>&& value) { SetExclusions(std::move(value)); return *this;}
69 inline S3Target& AddExclusions(const Aws::String& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
70 inline S3Target& AddExclusions(Aws::String&& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(std::move(value)); return *this; }
71 inline S3Target& AddExclusions(const char* value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
73
75
79 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
80 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
81 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
82 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
83 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
84 inline S3Target& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
85 inline S3Target& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
86 inline S3Target& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
88
90
95 inline int GetSampleSize() const{ return m_sampleSize; }
96 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
97 inline void SetSampleSize(int value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
98 inline S3Target& WithSampleSize(int value) { SetSampleSize(value); return *this;}
100
102
106 inline const Aws::String& GetEventQueueArn() const{ return m_eventQueueArn; }
107 inline bool EventQueueArnHasBeenSet() const { return m_eventQueueArnHasBeenSet; }
108 inline void SetEventQueueArn(const Aws::String& value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn = value; }
109 inline void SetEventQueueArn(Aws::String&& value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn = std::move(value); }
110 inline void SetEventQueueArn(const char* value) { m_eventQueueArnHasBeenSet = true; m_eventQueueArn.assign(value); }
111 inline S3Target& WithEventQueueArn(const Aws::String& value) { SetEventQueueArn(value); return *this;}
112 inline S3Target& WithEventQueueArn(Aws::String&& value) { SetEventQueueArn(std::move(value)); return *this;}
113 inline S3Target& WithEventQueueArn(const char* value) { SetEventQueueArn(value); return *this;}
115
117
121 inline const Aws::String& GetDlqEventQueueArn() const{ return m_dlqEventQueueArn; }
122 inline bool DlqEventQueueArnHasBeenSet() const { return m_dlqEventQueueArnHasBeenSet; }
123 inline void SetDlqEventQueueArn(const Aws::String& value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn = value; }
124 inline void SetDlqEventQueueArn(Aws::String&& value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn = std::move(value); }
125 inline void SetDlqEventQueueArn(const char* value) { m_dlqEventQueueArnHasBeenSet = true; m_dlqEventQueueArn.assign(value); }
126 inline S3Target& WithDlqEventQueueArn(const Aws::String& value) { SetDlqEventQueueArn(value); return *this;}
127 inline S3Target& WithDlqEventQueueArn(Aws::String&& value) { SetDlqEventQueueArn(std::move(value)); return *this;}
128 inline S3Target& WithDlqEventQueueArn(const char* value) { SetDlqEventQueueArn(value); return *this;}
130 private:
131
132 Aws::String m_path;
133 bool m_pathHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_exclusions;
136 bool m_exclusionsHasBeenSet = false;
137
138 Aws::String m_connectionName;
139 bool m_connectionNameHasBeenSet = false;
140
141 int m_sampleSize;
142 bool m_sampleSizeHasBeenSet = false;
143
144 Aws::String m_eventQueueArn;
145 bool m_eventQueueArnHasBeenSet = false;
146
147 Aws::String m_dlqEventQueueArn;
148 bool m_dlqEventQueueArnHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Glue
153} // namespace Aws
S3Target & WithDlqEventQueueArn(const Aws::String &value)
Definition S3Target.h:126
S3Target & WithConnectionName(Aws::String &&value)
Definition S3Target.h:85
S3Target & WithDlqEventQueueArn(const char *value)
Definition S3Target.h:128
int GetSampleSize() const
Definition S3Target.h:95
const Aws::String & GetDlqEventQueueArn() const
Definition S3Target.h:121
S3Target & AddExclusions(const Aws::String &value)
Definition S3Target.h:69
void SetDlqEventQueueArn(Aws::String &&value)
Definition S3Target.h:124
void SetDlqEventQueueArn(const char *value)
Definition S3Target.h:125
bool PathHasBeenSet() const
Definition S3Target.h:47
S3Target & WithPath(const char *value)
Definition S3Target.h:53
S3Target & AddExclusions(const char *value)
Definition S3Target.h:71
void SetEventQueueArn(const char *value)
Definition S3Target.h:110
const Aws::String & GetPath() const
Definition S3Target.h:46
S3Target & WithEventQueueArn(const Aws::String &value)
Definition S3Target.h:111
S3Target & WithConnectionName(const Aws::String &value)
Definition S3Target.h:84
void SetSampleSize(int value)
Definition S3Target.h:97
const Aws::String & GetEventQueueArn() const
Definition S3Target.h:106
bool ConnectionNameHasBeenSet() const
Definition S3Target.h:80
AWS_GLUE_API S3Target(Aws::Utils::Json::JsonView jsonValue)
S3Target & WithSampleSize(int value)
Definition S3Target.h:98
S3Target & WithConnectionName(const char *value)
Definition S3Target.h:86
S3Target & WithExclusions(const Aws::Vector< Aws::String > &value)
Definition S3Target.h:67
void SetConnectionName(Aws::String &&value)
Definition S3Target.h:82
void SetConnectionName(const char *value)
Definition S3Target.h:83
const Aws::Vector< Aws::String > & GetExclusions() const
Definition S3Target.h:63
const Aws::String & GetConnectionName() const
Definition S3Target.h:79
bool ExclusionsHasBeenSet() const
Definition S3Target.h:64
bool DlqEventQueueArnHasBeenSet() const
Definition S3Target.h:122
void SetExclusions(Aws::Vector< Aws::String > &&value)
Definition S3Target.h:66
bool SampleSizeHasBeenSet() const
Definition S3Target.h:96
S3Target & WithExclusions(Aws::Vector< Aws::String > &&value)
Definition S3Target.h:68
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3Target & WithDlqEventQueueArn(Aws::String &&value)
Definition S3Target.h:127
void SetPath(const Aws::String &value)
Definition S3Target.h:48
S3Target & AddExclusions(Aws::String &&value)
Definition S3Target.h:70
S3Target & WithPath(const Aws::String &value)
Definition S3Target.h:51
S3Target & WithEventQueueArn(Aws::String &&value)
Definition S3Target.h:112
void SetEventQueueArn(const Aws::String &value)
Definition S3Target.h:108
S3Target & WithPath(Aws::String &&value)
Definition S3Target.h:52
bool EventQueueArnHasBeenSet() const
Definition S3Target.h:107
S3Target & WithEventQueueArn(const char *value)
Definition S3Target.h:113
void SetDlqEventQueueArn(const Aws::String &value)
Definition S3Target.h:123
AWS_GLUE_API S3Target & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPath(const char *value)
Definition S3Target.h:50
void SetEventQueueArn(Aws::String &&value)
Definition S3Target.h:109
void SetExclusions(const Aws::Vector< Aws::String > &value)
Definition S3Target.h:65
void SetPath(Aws::String &&value)
Definition S3Target.h:49
void SetConnectionName(const Aws::String &value)
Definition S3Target.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue