AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DeltaDirectTarget.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 <aws/glue/model/DeltaTargetCompressionType.h>
11#include <aws/glue/model/TargetFormat.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glue/model/DirectSchemaChangePolicy.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_GLUE_API S3DeltaDirectTarget();
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline S3DeltaDirectTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline S3DeltaDirectTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline S3DeltaDirectTarget& WithName(const char* value) { SetName(value); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
65 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
66 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
67 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
68 inline S3DeltaDirectTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
69 inline S3DeltaDirectTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
70 inline S3DeltaDirectTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
71 inline S3DeltaDirectTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
72 inline S3DeltaDirectTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
74
76
79 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPartitionKeys() const{ return m_partitionKeys; }
80 inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; }
81 inline void SetPartitionKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = value; }
82 inline void SetPartitionKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::move(value); }
85 inline S3DeltaDirectTarget& AddPartitionKeys(const Aws::Vector<Aws::String>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(value); return *this; }
86 inline S3DeltaDirectTarget& AddPartitionKeys(Aws::Vector<Aws::String>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(std::move(value)); return *this; }
88
90
93 inline const Aws::String& GetPath() const{ return m_path; }
94 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
95 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
96 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
97 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
98 inline S3DeltaDirectTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;}
99 inline S3DeltaDirectTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
100 inline S3DeltaDirectTarget& WithPath(const char* value) { SetPath(value); return *this;}
102
104
109 inline const DeltaTargetCompressionType& GetCompression() const{ return m_compression; }
110 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
111 inline void SetCompression(const DeltaTargetCompressionType& value) { m_compressionHasBeenSet = true; m_compression = value; }
112 inline void SetCompression(DeltaTargetCompressionType&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
114 inline S3DeltaDirectTarget& WithCompression(DeltaTargetCompressionType&& value) { SetCompression(std::move(value)); return *this;}
116
118
121 inline const TargetFormat& GetFormat() const{ return m_format; }
122 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
123 inline void SetFormat(const TargetFormat& value) { m_formatHasBeenSet = true; m_format = value; }
124 inline void SetFormat(TargetFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
125 inline S3DeltaDirectTarget& WithFormat(const TargetFormat& value) { SetFormat(value); return *this;}
126 inline S3DeltaDirectTarget& WithFormat(TargetFormat&& value) { SetFormat(std::move(value)); return *this;}
128
130
133 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalOptions() const{ return m_additionalOptions; }
134 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
135 inline void SetAdditionalOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
136 inline void SetAdditionalOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
139 inline S3DeltaDirectTarget& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
140 inline S3DeltaDirectTarget& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
141 inline S3DeltaDirectTarget& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
142 inline S3DeltaDirectTarget& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; }
143 inline S3DeltaDirectTarget& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; }
144 inline S3DeltaDirectTarget& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; }
145 inline S3DeltaDirectTarget& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; }
147
149
152 inline const DirectSchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; }
153 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
154 inline void SetSchemaChangePolicy(const DirectSchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; }
155 inline void SetSchemaChangePolicy(DirectSchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); }
159 private:
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
165 bool m_inputsHasBeenSet = false;
166
168 bool m_partitionKeysHasBeenSet = false;
169
170 Aws::String m_path;
171 bool m_pathHasBeenSet = false;
172
173 DeltaTargetCompressionType m_compression;
174 bool m_compressionHasBeenSet = false;
175
176 TargetFormat m_format;
177 bool m_formatHasBeenSet = false;
178
179 Aws::Map<Aws::String, Aws::String> m_additionalOptions;
180 bool m_additionalOptionsHasBeenSet = false;
181
182 DirectSchemaChangePolicy m_schemaChangePolicy;
183 bool m_schemaChangePolicyHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace Glue
188} // namespace Aws
S3DeltaDirectTarget & WithName(const Aws::String &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
S3DeltaDirectTarget & WithSchemaChangePolicy(const DirectSchemaChangePolicy &value)
S3DeltaDirectTarget & WithName(const char *value)
AWS_GLUE_API S3DeltaDirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalOptions() const
S3DeltaDirectTarget & WithPath(const Aws::String &value)
AWS_GLUE_API S3DeltaDirectTarget(Aws::Utils::Json::JsonView jsonValue)
void SetCompression(const DeltaTargetCompressionType &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
S3DeltaDirectTarget & AddAdditionalOptions(Aws::String &&key, Aws::String &&value)
S3DeltaDirectTarget & AddAdditionalOptions(Aws::String &&key, const Aws::String &value)
void SetName(const Aws::String &value)
void SetAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
S3DeltaDirectTarget & AddInputs(Aws::String &&value)
void SetCompression(DeltaTargetCompressionType &&value)
S3DeltaDirectTarget & AddInputs(const Aws::String &value)
S3DeltaDirectTarget & AddPartitionKeys(const Aws::Vector< Aws::String > &value)
void SetFormat(const TargetFormat &value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
S3DeltaDirectTarget & WithPath(Aws::String &&value)
S3DeltaDirectTarget & WithFormat(TargetFormat &&value)
S3DeltaDirectTarget & WithFormat(const TargetFormat &value)
void SetPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
S3DeltaDirectTarget & AddAdditionalOptions(const Aws::String &key, const Aws::String &value)
S3DeltaDirectTarget & WithName(Aws::String &&value)
void SetPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
S3DeltaDirectTarget & WithPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
S3DeltaDirectTarget & WithAdditionalOptions(Aws::Map< Aws::String, Aws::String > &&value)
const TargetFormat & GetFormat() const
void SetAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
const DeltaTargetCompressionType & GetCompression() const
void SetInputs(const Aws::Vector< Aws::String > &value)
S3DeltaDirectTarget & AddAdditionalOptions(const char *key, Aws::String &&value)
S3DeltaDirectTarget & WithInputs(const Aws::Vector< Aws::String > &value)
S3DeltaDirectTarget & WithPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
void SetSchemaChangePolicy(DirectSchemaChangePolicy &&value)
S3DeltaDirectTarget & WithSchemaChangePolicy(DirectSchemaChangePolicy &&value)
S3DeltaDirectTarget & AddAdditionalOptions(Aws::String &&key, const char *value)
S3DeltaDirectTarget & WithAdditionalOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetPath(const Aws::String &value)
S3DeltaDirectTarget & AddAdditionalOptions(const Aws::String &key, Aws::String &&value)
S3DeltaDirectTarget & WithPath(const char *value)
S3DeltaDirectTarget & WithCompression(DeltaTargetCompressionType &&value)
S3DeltaDirectTarget & WithInputs(Aws::Vector< Aws::String > &&value)
S3DeltaDirectTarget & AddPartitionKeys(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetInputs() const
S3DeltaDirectTarget & WithCompression(const DeltaTargetCompressionType &value)
void SetSchemaChangePolicy(const DirectSchemaChangePolicy &value)
S3DeltaDirectTarget & AddInputs(const char *value)
S3DeltaDirectTarget & AddAdditionalOptions(const char *key, const char *value)
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