AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
S3DeltaSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/GlueSchema.h>
12#include <aws/glue/model/S3DirectSourceAdditionalOptions.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
25
33 public:
34 AWS_GLUE_API S3DeltaSource() = default;
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
51 S3DeltaSource& WithName(NameT&& value) {
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<Aws::String>& GetPaths() const { return m_paths; }
62 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
63 template <typename PathsT = Aws::Vector<Aws::String>>
64 void SetPaths(PathsT&& value) {
65 m_pathsHasBeenSet = true;
66 m_paths = std::forward<PathsT>(value);
67 }
68 template <typename PathsT = Aws::Vector<Aws::String>>
69 S3DeltaSource& WithPaths(PathsT&& value) {
70 SetPaths(std::forward<PathsT>(value));
71 return *this;
72 }
73 template <typename PathsT = Aws::String>
74 S3DeltaSource& AddPaths(PathsT&& value) {
75 m_pathsHasBeenSet = true;
76 m_paths.emplace_back(std::forward<PathsT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalDeltaOptions() const { return m_additionalDeltaOptions; }
86 inline bool AdditionalDeltaOptionsHasBeenSet() const { return m_additionalDeltaOptionsHasBeenSet; }
87 template <typename AdditionalDeltaOptionsT = Aws::Map<Aws::String, Aws::String>>
88 void SetAdditionalDeltaOptions(AdditionalDeltaOptionsT&& value) {
89 m_additionalDeltaOptionsHasBeenSet = true;
90 m_additionalDeltaOptions = std::forward<AdditionalDeltaOptionsT>(value);
91 }
92 template <typename AdditionalDeltaOptionsT = Aws::Map<Aws::String, Aws::String>>
93 S3DeltaSource& WithAdditionalDeltaOptions(AdditionalDeltaOptionsT&& value) {
94 SetAdditionalDeltaOptions(std::forward<AdditionalDeltaOptionsT>(value));
95 return *this;
96 }
97 template <typename AdditionalDeltaOptionsKeyT = Aws::String, typename AdditionalDeltaOptionsValueT = Aws::String>
98 S3DeltaSource& AddAdditionalDeltaOptions(AdditionalDeltaOptionsKeyT&& key, AdditionalDeltaOptionsValueT&& value) {
99 m_additionalDeltaOptionsHasBeenSet = true;
100 m_additionalDeltaOptions.emplace(std::forward<AdditionalDeltaOptionsKeyT>(key), std::forward<AdditionalDeltaOptionsValueT>(value));
101 return *this;
102 }
104
106
109 inline const S3DirectSourceAdditionalOptions& GetAdditionalOptions() const { return m_additionalOptions; }
110 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
111 template <typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
112 void SetAdditionalOptions(AdditionalOptionsT&& value) {
113 m_additionalOptionsHasBeenSet = true;
114 m_additionalOptions = std::forward<AdditionalOptionsT>(value);
115 }
116 template <typename AdditionalOptionsT = S3DirectSourceAdditionalOptions>
117 S3DeltaSource& WithAdditionalOptions(AdditionalOptionsT&& value) {
118 SetAdditionalOptions(std::forward<AdditionalOptionsT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const { return m_outputSchemas; }
128 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
129 template <typename OutputSchemasT = Aws::Vector<GlueSchema>>
130 void SetOutputSchemas(OutputSchemasT&& value) {
131 m_outputSchemasHasBeenSet = true;
132 m_outputSchemas = std::forward<OutputSchemasT>(value);
133 }
134 template <typename OutputSchemasT = Aws::Vector<GlueSchema>>
135 S3DeltaSource& WithOutputSchemas(OutputSchemasT&& value) {
136 SetOutputSchemas(std::forward<OutputSchemasT>(value));
137 return *this;
138 }
139 template <typename OutputSchemasT = GlueSchema>
140 S3DeltaSource& AddOutputSchemas(OutputSchemasT&& value) {
141 m_outputSchemasHasBeenSet = true;
142 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_name;
148
150
151 Aws::Map<Aws::String, Aws::String> m_additionalDeltaOptions;
152
153 S3DirectSourceAdditionalOptions m_additionalOptions;
154
155 Aws::Vector<GlueSchema> m_outputSchemas;
156 bool m_nameHasBeenSet = false;
157 bool m_pathsHasBeenSet = false;
158 bool m_additionalDeltaOptionsHasBeenSet = false;
159 bool m_additionalOptionsHasBeenSet = false;
160 bool m_outputSchemasHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace Glue
165} // namespace Aws
S3DeltaSource & AddOutputSchemas(OutputSchemasT &&value)
void SetAdditionalDeltaOptions(AdditionalDeltaOptionsT &&value)
bool AdditionalDeltaOptionsHasBeenSet() const
AWS_GLUE_API S3DeltaSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DeltaSource & AddAdditionalDeltaOptions(AdditionalDeltaOptionsKeyT &&key, AdditionalDeltaOptionsValueT &&value)
const Aws::String & GetName() const
S3DeltaSource & AddPaths(PathsT &&value)
void SetOutputSchemas(OutputSchemasT &&value)
void SetPaths(PathsT &&value)
S3DeltaSource & WithPaths(PathsT &&value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
AWS_GLUE_API S3DeltaSource(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API S3DeltaSource()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalDeltaOptions() const
S3DeltaSource & WithName(NameT &&value)
S3DeltaSource & WithAdditionalOptions(AdditionalOptionsT &&value)
S3DeltaSource & WithOutputSchemas(OutputSchemasT &&value)
const Aws::Vector< Aws::String > & GetPaths() const
void SetAdditionalOptions(AdditionalOptionsT &&value)
S3DeltaSource & WithAdditionalDeltaOptions(AdditionalDeltaOptionsT &&value)
const S3DirectSourceAdditionalOptions & GetAdditionalOptions() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue