7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/SerDeInfo.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/glue/model/SkewedInfo.h>
13#include <aws/glue/model/SchemaReference.h>
14#include <aws/glue/model/Column.h>
15#include <aws/glue/model/Order.h>
53 template<
typename ColumnsT = Aws::Vector<Column>>
54 void SetColumns(ColumnsT&& value) { m_columnsHasBeenSet =
true; m_columns = std::forward<ColumnsT>(value); }
55 template<
typename ColumnsT = Aws::Vector<Column>>
57 template<
typename ColumnsT = Column>
58 StorageDescriptor&
AddColumns(ColumnsT&& value) { m_columnsHasBeenSet =
true; m_columns.emplace_back(std::forward<ColumnsT>(value));
return *
this; }
69 template<
typename LocationT = Aws::String>
70 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
71 template<
typename LocationT = Aws::String>
82 template<
typename AdditionalLocationsT = Aws::Vector<Aws::String>>
83 void SetAdditionalLocations(AdditionalLocationsT&& value) { m_additionalLocationsHasBeenSet =
true; m_additionalLocations = std::forward<AdditionalLocationsT>(value); }
84 template<
typename AdditionalLocationsT = Aws::Vector<Aws::String>>
86 template<
typename AdditionalLocationsT = Aws::String>
87 StorageDescriptor&
AddAdditionalLocations(AdditionalLocationsT&& value) { m_additionalLocationsHasBeenSet =
true; m_additionalLocations.emplace_back(std::forward<AdditionalLocationsT>(value));
return *
this; }
97 template<
typename InputFormatT = Aws::String>
98 void SetInputFormat(InputFormatT&& value) { m_inputFormatHasBeenSet =
true; m_inputFormat = std::forward<InputFormatT>(value); }
99 template<
typename InputFormatT = Aws::String>
110 template<
typename OutputFormatT = Aws::String>
111 void SetOutputFormat(OutputFormatT&& value) { m_outputFormatHasBeenSet =
true; m_outputFormat = std::forward<OutputFormatT>(value); }
112 template<
typename OutputFormatT = Aws::String>
123 inline void SetCompressed(
bool value) { m_compressedHasBeenSet =
true; m_compressed = value; }
133 inline void SetNumberOfBuckets(
int value) { m_numberOfBucketsHasBeenSet =
true; m_numberOfBuckets = value; }
143 template<
typename SerdeInfoT = SerDeInfo>
144 void SetSerdeInfo(SerdeInfoT&& value) { m_serdeInfoHasBeenSet =
true; m_serdeInfo = std::forward<SerdeInfoT>(value); }
145 template<
typename SerdeInfoT = SerDeInfo>
156 template<
typename BucketColumnsT = Aws::Vector<Aws::String>>
157 void SetBucketColumns(BucketColumnsT&& value) { m_bucketColumnsHasBeenSet =
true; m_bucketColumns = std::forward<BucketColumnsT>(value); }
158 template<
typename BucketColumnsT = Aws::Vector<Aws::String>>
160 template<
typename BucketColumnsT = Aws::String>
161 StorageDescriptor&
AddBucketColumns(BucketColumnsT&& value) { m_bucketColumnsHasBeenSet =
true; m_bucketColumns.emplace_back(std::forward<BucketColumnsT>(value));
return *
this; }
170 template<
typename SortColumnsT = Aws::Vector<Order>>
171 void SetSortColumns(SortColumnsT&& value) { m_sortColumnsHasBeenSet =
true; m_sortColumns = std::forward<SortColumnsT>(value); }
172 template<
typename SortColumnsT = Aws::Vector<Order>>
174 template<
typename SortColumnsT = Order>
175 StorageDescriptor&
AddSortColumns(SortColumnsT&& value) { m_sortColumnsHasBeenSet =
true; m_sortColumns.emplace_back(std::forward<SortColumnsT>(value));
return *
this; }
184 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
185 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
186 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
188 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
190 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
201 template<
typename SkewedInfoT = SkewedInfo>
202 void SetSkewedInfo(SkewedInfoT&& value) { m_skewedInfoHasBeenSet =
true; m_skewedInfo = std::forward<SkewedInfoT>(value); }
203 template<
typename SkewedInfoT = SkewedInfo>
226 template<
typename SchemaReferenceT = SchemaReference>
227 void SetSchemaReference(SchemaReferenceT&& value) { m_schemaReferenceHasBeenSet =
true; m_schemaReference = std::forward<SchemaReferenceT>(value); }
228 template<
typename SchemaReferenceT = SchemaReference>
234 bool m_columnsHasBeenSet =
false;
237 bool m_locationHasBeenSet =
false;
240 bool m_additionalLocationsHasBeenSet =
false;
243 bool m_inputFormatHasBeenSet =
false;
246 bool m_outputFormatHasBeenSet =
false;
248 bool m_compressed{
false};
249 bool m_compressedHasBeenSet =
false;
251 int m_numberOfBuckets{0};
252 bool m_numberOfBucketsHasBeenSet =
false;
254 SerDeInfo m_serdeInfo;
255 bool m_serdeInfoHasBeenSet =
false;
258 bool m_bucketColumnsHasBeenSet =
false;
261 bool m_sortColumnsHasBeenSet =
false;
264 bool m_parametersHasBeenSet =
false;
266 SkewedInfo m_skewedInfo;
267 bool m_skewedInfoHasBeenSet =
false;
269 bool m_storedAsSubDirectories{
false};
270 bool m_storedAsSubDirectoriesHasBeenSet =
false;
272 SchemaReference m_schemaReference;
273 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