AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
S3HyperDirectTarget.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/TargetFormat.h>
11#include <aws/glue/model/HyperTargetCompressionType.h>
12#include <aws/glue/model/DirectSchemaChangePolicy.h>
13#include <aws/glue/model/AutoDataQuality.h>
14#include <aws/glue/model/GlueSchema.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Glue
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_GLUE_API S3HyperDirectTarget() = default;
45
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 S3HyperDirectTarget& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
64 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
65 template<typename InputsT = Aws::Vector<Aws::String>>
66 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
67 template<typename InputsT = Aws::Vector<Aws::String>>
68 S3HyperDirectTarget& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
69 template<typename InputsT = Aws::String>
70 S3HyperDirectTarget& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
72
74
77 inline TargetFormat GetFormat() const { return m_format; }
78 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
79 inline void SetFormat(TargetFormat value) { m_formatHasBeenSet = true; m_format = value; }
80 inline S3HyperDirectTarget& WithFormat(TargetFormat value) { SetFormat(value); return *this;}
82
84
87 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPartitionKeys() const { return m_partitionKeys; }
88 inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; }
89 template<typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
90 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
91 template<typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
92 S3HyperDirectTarget& WithPartitionKeys(PartitionKeysT&& value) { SetPartitionKeys(std::forward<PartitionKeysT>(value)); return *this;}
93 template<typename PartitionKeysT = Aws::Vector<Aws::String>>
94 S3HyperDirectTarget& AddPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value)); return *this; }
96
98
101 inline const Aws::String& GetPath() const { return m_path; }
102 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
103 template<typename PathT = Aws::String>
104 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
105 template<typename PathT = Aws::String>
106 S3HyperDirectTarget& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
108
110
113 inline HyperTargetCompressionType GetCompression() const { return m_compression; }
114 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
115 inline void SetCompression(HyperTargetCompressionType value) { m_compressionHasBeenSet = true; m_compression = value; }
118
120
123 inline const DirectSchemaChangePolicy& GetSchemaChangePolicy() const { return m_schemaChangePolicy; }
124 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
125 template<typename SchemaChangePolicyT = DirectSchemaChangePolicy>
126 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
127 template<typename SchemaChangePolicyT = DirectSchemaChangePolicy>
128 S3HyperDirectTarget& WithSchemaChangePolicy(SchemaChangePolicyT&& value) { SetSchemaChangePolicy(std::forward<SchemaChangePolicyT>(value)); return *this;}
130
132
137 inline const AutoDataQuality& GetAutoDataQuality() const { return m_autoDataQuality; }
138 inline bool AutoDataQualityHasBeenSet() const { return m_autoDataQualityHasBeenSet; }
139 template<typename AutoDataQualityT = AutoDataQuality>
140 void SetAutoDataQuality(AutoDataQualityT&& value) { m_autoDataQualityHasBeenSet = true; m_autoDataQuality = std::forward<AutoDataQualityT>(value); }
141 template<typename AutoDataQualityT = AutoDataQuality>
142 S3HyperDirectTarget& WithAutoDataQuality(AutoDataQualityT&& value) { SetAutoDataQuality(std::forward<AutoDataQualityT>(value)); return *this;}
144
146
149 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const { return m_outputSchemas; }
150 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
151 template<typename OutputSchemasT = Aws::Vector<GlueSchema>>
152 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
153 template<typename OutputSchemasT = Aws::Vector<GlueSchema>>
154 S3HyperDirectTarget& WithOutputSchemas(OutputSchemasT&& value) { SetOutputSchemas(std::forward<OutputSchemasT>(value)); return *this;}
155 template<typename OutputSchemasT = GlueSchema>
156 S3HyperDirectTarget& AddOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value)); return *this; }
158 private:
159
160 Aws::String m_name;
161 bool m_nameHasBeenSet = false;
162
164 bool m_inputsHasBeenSet = false;
165
167 bool m_formatHasBeenSet = false;
168
170 bool m_partitionKeysHasBeenSet = false;
171
172 Aws::String m_path;
173 bool m_pathHasBeenSet = false;
174
176 bool m_compressionHasBeenSet = false;
177
178 DirectSchemaChangePolicy m_schemaChangePolicy;
179 bool m_schemaChangePolicyHasBeenSet = false;
180
181 AutoDataQuality m_autoDataQuality;
182 bool m_autoDataQualityHasBeenSet = false;
183
184 Aws::Vector<GlueSchema> m_outputSchemas;
185 bool m_outputSchemasHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Glue
190} // namespace Aws
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
HyperTargetCompressionType GetCompression() const
void SetPartitionKeys(PartitionKeysT &&value)
S3HyperDirectTarget & WithAutoDataQuality(AutoDataQualityT &&value)
S3HyperDirectTarget & AddInputs(InputsT &&value)
S3HyperDirectTarget & WithPath(PathT &&value)
S3HyperDirectTarget & WithPartitionKeys(PartitionKeysT &&value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
S3HyperDirectTarget & WithInputs(InputsT &&value)
AWS_GLUE_API S3HyperDirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetInputs() const
AWS_GLUE_API S3HyperDirectTarget(Aws::Utils::Json::JsonView jsonValue)
S3HyperDirectTarget & AddPartitionKeys(PartitionKeysT &&value)
AWS_GLUE_API S3HyperDirectTarget()=default
void SetAutoDataQuality(AutoDataQualityT &&value)
S3HyperDirectTarget & WithName(NameT &&value)
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
S3HyperDirectTarget & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
void SetOutputSchemas(OutputSchemasT &&value)
S3HyperDirectTarget & WithFormat(TargetFormat value)
void SetCompression(HyperTargetCompressionType value)
const AutoDataQuality & GetAutoDataQuality() const
S3HyperDirectTarget & WithCompression(HyperTargetCompressionType value)
S3HyperDirectTarget & WithOutputSchemas(OutputSchemasT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3HyperDirectTarget & AddOutputSchemas(OutputSchemasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue