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/Column.h>
12#include <aws/glue/model/Order.h>
13#include <aws/glue/model/SchemaReference.h>
14#include <aws/glue/model/SerDeInfo.h>
15#include <aws/glue/model/SkewedInfo.h>
47 template <
typename ColumnsT = Aws::Vector<Column>>
49 m_columnsHasBeenSet =
true;
50 m_columns = std::forward<ColumnsT>(value);
52 template <
typename ColumnsT = Aws::Vector<Column>>
57 template <
typename ColumnsT = Column>
59 m_columnsHasBeenSet =
true;
60 m_columns.emplace_back(std::forward<ColumnsT>(value));
73 template <
typename LocationT = Aws::String>
75 m_locationHasBeenSet =
true;
76 m_location = std::forward<LocationT>(value);
78 template <
typename LocationT = Aws::String>
92 template <
typename AdditionalLocationsT = Aws::Vector<Aws::String>>
94 m_additionalLocationsHasBeenSet =
true;
95 m_additionalLocations = std::forward<AdditionalLocationsT>(value);
97 template <
typename AdditionalLocationsT = Aws::Vector<Aws::String>>
102 template <
typename AdditionalLocationsT = Aws::String>
104 m_additionalLocationsHasBeenSet =
true;
105 m_additionalLocations.emplace_back(std::forward<AdditionalLocationsT>(value));
117 template <
typename InputFormatT = Aws::String>
119 m_inputFormatHasBeenSet =
true;
120 m_inputFormat = std::forward<InputFormatT>(value);
122 template <
typename InputFormatT = Aws::String>
136 template <
typename OutputFormatT = Aws::String>
138 m_outputFormatHasBeenSet =
true;
139 m_outputFormat = std::forward<OutputFormatT>(value);
141 template <
typename OutputFormatT = Aws::String>
156 m_compressedHasBeenSet =
true;
157 m_compressed = value;
172 m_numberOfBucketsHasBeenSet =
true;
173 m_numberOfBuckets = value;
187 template <
typename SerdeInfoT = SerDeInfo>
189 m_serdeInfoHasBeenSet =
true;
190 m_serdeInfo = std::forward<SerdeInfoT>(value);
192 template <
typename SerdeInfoT = SerDeInfo>
206 template <
typename BucketColumnsT = Aws::Vector<Aws::String>>
208 m_bucketColumnsHasBeenSet =
true;
209 m_bucketColumns = std::forward<BucketColumnsT>(value);
211 template <
typename BucketColumnsT = Aws::Vector<Aws::String>>
216 template <
typename BucketColumnsT = Aws::String>
218 m_bucketColumnsHasBeenSet =
true;
219 m_bucketColumns.emplace_back(std::forward<BucketColumnsT>(value));
230 template <
typename SortColumnsT = Aws::Vector<Order>>
232 m_sortColumnsHasBeenSet =
true;
233 m_sortColumns = std::forward<SortColumnsT>(value);
235 template <
typename SortColumnsT = Aws::Vector<Order>>
240 template <
typename SortColumnsT = Order>
242 m_sortColumnsHasBeenSet =
true;
243 m_sortColumns.emplace_back(std::forward<SortColumnsT>(value));
254 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
256 m_parametersHasBeenSet =
true;
257 m_parameters = std::forward<ParametersT>(value);
259 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
264 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
266 m_parametersHasBeenSet =
true;
267 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
279 template <
typename SkewedInfoT = SkewedInfo>
281 m_skewedInfoHasBeenSet =
true;
282 m_skewedInfo = std::forward<SkewedInfoT>(value);
284 template <
typename SkewedInfoT = SkewedInfo>
299 m_storedAsSubDirectoriesHasBeenSet =
true;
300 m_storedAsSubDirectories = value;
316 template <
typename SchemaReferenceT = SchemaReference>
318 m_schemaReferenceHasBeenSet =
true;
319 m_schemaReference = std::forward<SchemaReferenceT>(value);
321 template <
typename SchemaReferenceT = SchemaReference>
338 bool m_compressed{
false};
340 int m_numberOfBuckets{0};
342 SerDeInfo m_serdeInfo;
350 SkewedInfo m_skewedInfo;
352 bool m_storedAsSubDirectories{
false};
354 SchemaReference m_schemaReference;
355 bool m_columnsHasBeenSet =
false;
356 bool m_locationHasBeenSet =
false;
357 bool m_additionalLocationsHasBeenSet =
false;
358 bool m_inputFormatHasBeenSet =
false;
359 bool m_outputFormatHasBeenSet =
false;
360 bool m_compressedHasBeenSet =
false;
361 bool m_numberOfBucketsHasBeenSet =
false;
362 bool m_serdeInfoHasBeenSet =
false;
363 bool m_bucketColumnsHasBeenSet =
false;
364 bool m_sortColumnsHasBeenSet =
false;
365 bool m_parametersHasBeenSet =
false;
366 bool m_skewedInfoHasBeenSet =
false;
367 bool m_storedAsSubDirectoriesHasBeenSet =
false;
368 bool m_schemaReferenceHasBeenSet =
false;
StorageDescriptor & WithSortColumns(SortColumnsT &&value)
const Aws::String & GetInputFormat() const
const Aws::Vector< Aws::String > & GetAdditionalLocations() const
bool BucketColumnsHasBeenSet() const
bool ParametersHasBeenSet() const
bool CompressedHasBeenSet() const
StorageDescriptor & WithSchemaReference(SchemaReferenceT &&value)
bool ColumnsHasBeenSet() const
void SetColumns(ColumnsT &&value)
bool InputFormatHasBeenSet() const
void SetCompressed(bool value)
void SetSerdeInfo(SerdeInfoT &&value)
bool GetCompressed() const
AWS_GLUE_API StorageDescriptor(Aws::Utils::Json::JsonView jsonValue)
StorageDescriptor & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::String & GetLocation() const
StorageDescriptor & WithNumberOfBuckets(int value)
StorageDescriptor & WithSkewedInfo(SkewedInfoT &&value)
void SetInputFormat(InputFormatT &&value)
void SetParameters(ParametersT &&value)
StorageDescriptor & WithInputFormat(InputFormatT &&value)
bool SortColumnsHasBeenSet() const
void SetStoredAsSubDirectories(bool value)
StorageDescriptor & WithStoredAsSubDirectories(bool value)
StorageDescriptor & WithBucketColumns(BucketColumnsT &&value)
const Aws::Vector< Order > & GetSortColumns() const
StorageDescriptor & WithLocation(LocationT &&value)
const Aws::Vector< Aws::String > & GetBucketColumns() const
StorageDescriptor & AddBucketColumns(BucketColumnsT &&value)
StorageDescriptor & AddAdditionalLocations(AdditionalLocationsT &&value)
AWS_GLUE_API StorageDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
StorageDescriptor & WithAdditionalLocations(AdditionalLocationsT &&value)
void SetSortColumns(SortColumnsT &&value)
void SetSchemaReference(SchemaReferenceT &&value)
const SkewedInfo & GetSkewedInfo() const
const SerDeInfo & GetSerdeInfo() const
StorageDescriptor & AddSortColumns(SortColumnsT &&value)
bool GetStoredAsSubDirectories() const
bool LocationHasBeenSet() const
const SchemaReference & GetSchemaReference() const
bool SerdeInfoHasBeenSet() const
StorageDescriptor & WithParameters(ParametersT &&value)
void SetLocation(LocationT &&value)
StorageDescriptor & WithColumns(ColumnsT &&value)
const Aws::Vector< Column > & GetColumns() const
bool OutputFormatHasBeenSet() const
bool StoredAsSubDirectoriesHasBeenSet() const
bool SkewedInfoHasBeenSet() const
void SetSkewedInfo(SkewedInfoT &&value)
AWS_GLUE_API StorageDescriptor()=default
void SetOutputFormat(OutputFormatT &&value)
const Aws::String & GetOutputFormat() const
StorageDescriptor & WithCompressed(bool value)
void SetNumberOfBuckets(int value)
StorageDescriptor & WithOutputFormat(OutputFormatT &&value)
StorageDescriptor & WithSerdeInfo(SerdeInfoT &&value)
bool AdditionalLocationsHasBeenSet() const
bool NumberOfBucketsHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBucketColumns(BucketColumnsT &&value)
void SetAdditionalLocations(AdditionalLocationsT &&value)
int GetNumberOfBuckets() const
bool SchemaReferenceHasBeenSet() const
StorageDescriptor & AddColumns(ColumnsT &&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