7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/databrew/GlueDataBrew_EXPORTS.h>
10#include <aws/databrew/model/CompressionFormat.h>
11#include <aws/databrew/model/OutputFormat.h>
12#include <aws/databrew/model/OutputFormatOptions.h>
13#include <aws/databrew/model/S3Location.h>
24namespace GlueDataBrew {
35 AWS_GLUEDATABREW_API
Output() =
default;
47 m_compressionFormatHasBeenSet =
true;
48 m_compressionFormat = value;
63 m_formatHasBeenSet =
true;
78 template <
typename PartitionColumnsT = Aws::Vector<Aws::String>>
80 m_partitionColumnsHasBeenSet =
true;
81 m_partitionColumns = std::forward<PartitionColumnsT>(value);
83 template <
typename PartitionColumnsT = Aws::Vector<Aws::String>>
88 template <
typename PartitionColumnsT = Aws::String>
90 m_partitionColumnsHasBeenSet =
true;
91 m_partitionColumns.emplace_back(std::forward<PartitionColumnsT>(value));
102 template <
typename LocationT = S3Location>
104 m_locationHasBeenSet =
true;
105 m_location = std::forward<LocationT>(value);
107 template <
typename LocationT = S3Location>
122 m_overwriteHasBeenSet =
true;
137 template <
typename FormatOptionsT = OutputFormatOptions>
139 m_formatOptionsHasBeenSet =
true;
140 m_formatOptions = std::forward<FormatOptionsT>(value);
142 template <
typename FormatOptionsT = OutputFormatOptions>
158 m_maxOutputFilesHasBeenSet =
true;
159 m_maxOutputFiles = value;
173 S3Location m_location;
175 bool m_overwrite{
false};
177 OutputFormatOptions m_formatOptions;
179 int m_maxOutputFiles{0};
180 bool m_compressionFormatHasBeenSet =
false;
181 bool m_formatHasBeenSet =
false;
182 bool m_partitionColumnsHasBeenSet =
false;
183 bool m_locationHasBeenSet =
false;
184 bool m_overwriteHasBeenSet =
false;
185 bool m_formatOptionsHasBeenSet =
false;
186 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