7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/model/CompressionFormat.h>
9#include <aws/databrew/model/OutputFormat.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/databrew/model/S3Location.h>
12#include <aws/databrew/model/OutputFormatOptions.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
40 AWS_GLUEDATABREW_API
Output() =
default;
72 template<
typename PartitionColumnsT = Aws::Vector<Aws::String>>
73 void SetPartitionColumns(PartitionColumnsT&& value) { m_partitionColumnsHasBeenSet =
true; m_partitionColumns = std::forward<PartitionColumnsT>(value); }
74 template<
typename PartitionColumnsT = Aws::Vector<Aws::String>>
76 template<
typename PartitionColumnsT = Aws::String>
77 Output&
AddPartitionColumns(PartitionColumnsT&& value) { m_partitionColumnsHasBeenSet =
true; m_partitionColumns.emplace_back(std::forward<PartitionColumnsT>(value));
return *
this; }
86 template<
typename LocationT = S3Location>
87 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
88 template<
typename LocationT = S3Location>
99 inline void SetOverwrite(
bool value) { m_overwriteHasBeenSet =
true; m_overwrite = value; }
109 template<
typename FormatOptionsT = OutputFormatOptions>
110 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet =
true; m_formatOptions = std::forward<FormatOptionsT>(value); }
111 template<
typename FormatOptionsT = OutputFormatOptions>
123 inline void SetMaxOutputFiles(
int value) { m_maxOutputFilesHasBeenSet =
true; m_maxOutputFiles = value; }
129 bool m_compressionFormatHasBeenSet =
false;
132 bool m_formatHasBeenSet =
false;
135 bool m_partitionColumnsHasBeenSet =
false;
137 S3Location m_location;
138 bool m_locationHasBeenSet =
false;
140 bool m_overwrite{
false};
141 bool m_overwriteHasBeenSet =
false;
143 OutputFormatOptions m_formatOptions;
144 bool m_formatOptionsHasBeenSet =
false;
146 int m_maxOutputFiles{0};
147 bool m_maxOutputFilesHasBeenSet =
false;
void SetPartitionColumns(PartitionColumnsT &&value)
void SetLocation(LocationT &&value)
void SetOverwrite(bool value)
void SetCompressionFormat(CompressionFormat value)
Output & AddPartitionColumns(PartitionColumnsT &&value)
const OutputFormatOptions & GetFormatOptions() const
CompressionFormat GetCompressionFormat() const
void SetFormatOptions(FormatOptionsT &&value)
bool PartitionColumnsHasBeenSet() const
bool FormatHasBeenSet() const
int GetMaxOutputFiles() const
void SetMaxOutputFiles(int value)
bool LocationHasBeenSet() const
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
bool FormatOptionsHasBeenSet() const
Output & WithMaxOutputFiles(int value)
Output & WithOverwrite(bool value)
Output & WithCompressionFormat(CompressionFormat value)
Output & WithFormat(OutputFormat value)
OutputFormat GetFormat() const
AWS_GLUEDATABREW_API Output(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetLocation() const
Output & WithFormatOptions(FormatOptionsT &&value)
Output & WithLocation(LocationT &&value)
bool OverwriteHasBeenSet() const
bool GetOverwrite() const
AWS_GLUEDATABREW_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
Output & WithPartitionColumns(PartitionColumnsT &&value)
void SetFormat(OutputFormat value)
bool MaxOutputFilesHasBeenSet() const
bool CompressionFormatHasBeenSet() const
AWS_GLUEDATABREW_API Output()=default
const Aws::Vector< Aws::String > & GetPartitionColumns() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue