AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Output.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace GlueDataBrew
27{
28namespace Model
29{
30
37 class Output
38 {
39 public:
40 AWS_GLUEDATABREW_API Output();
41 AWS_GLUEDATABREW_API Output(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GLUEDATABREW_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const CompressionFormat& GetCompressionFormat() const{ return m_compressionFormat; }
51 inline bool CompressionFormatHasBeenSet() const { return m_compressionFormatHasBeenSet; }
52 inline void SetCompressionFormat(const CompressionFormat& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
53 inline void SetCompressionFormat(CompressionFormat&& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = std::move(value); }
54 inline Output& WithCompressionFormat(const CompressionFormat& value) { SetCompressionFormat(value); return *this;}
55 inline Output& WithCompressionFormat(CompressionFormat&& value) { SetCompressionFormat(std::move(value)); return *this;}
57
59
62 inline const OutputFormat& GetFormat() const{ return m_format; }
63 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
64 inline void SetFormat(const OutputFormat& value) { m_formatHasBeenSet = true; m_format = value; }
65 inline void SetFormat(OutputFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
66 inline Output& WithFormat(const OutputFormat& value) { SetFormat(value); return *this;}
67 inline Output& WithFormat(OutputFormat&& value) { SetFormat(std::move(value)); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetPartitionColumns() const{ return m_partitionColumns; }
75 inline bool PartitionColumnsHasBeenSet() const { return m_partitionColumnsHasBeenSet; }
76 inline void SetPartitionColumns(const Aws::Vector<Aws::String>& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns = value; }
77 inline void SetPartitionColumns(Aws::Vector<Aws::String>&& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns = std::move(value); }
78 inline Output& WithPartitionColumns(const Aws::Vector<Aws::String>& value) { SetPartitionColumns(value); return *this;}
79 inline Output& WithPartitionColumns(Aws::Vector<Aws::String>&& value) { SetPartitionColumns(std::move(value)); return *this;}
80 inline Output& AddPartitionColumns(const Aws::String& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns.push_back(value); return *this; }
81 inline Output& AddPartitionColumns(Aws::String&& value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns.push_back(std::move(value)); return *this; }
82 inline Output& AddPartitionColumns(const char* value) { m_partitionColumnsHasBeenSet = true; m_partitionColumns.push_back(value); return *this; }
84
86
89 inline const S3Location& GetLocation() const{ return m_location; }
90 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
91 inline void SetLocation(const S3Location& value) { m_locationHasBeenSet = true; m_location = value; }
92 inline void SetLocation(S3Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
93 inline Output& WithLocation(const S3Location& value) { SetLocation(value); return *this;}
94 inline Output& WithLocation(S3Location&& value) { SetLocation(std::move(value)); return *this;}
96
98
102 inline bool GetOverwrite() const{ return m_overwrite; }
103 inline bool OverwriteHasBeenSet() const { return m_overwriteHasBeenSet; }
104 inline void SetOverwrite(bool value) { m_overwriteHasBeenSet = true; m_overwrite = value; }
105 inline Output& WithOverwrite(bool value) { SetOverwrite(value); return *this;}
107
109
112 inline const OutputFormatOptions& GetFormatOptions() const{ return m_formatOptions; }
113 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
114 inline void SetFormatOptions(const OutputFormatOptions& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = value; }
115 inline void SetFormatOptions(OutputFormatOptions&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::move(value); }
116 inline Output& WithFormatOptions(const OutputFormatOptions& value) { SetFormatOptions(value); return *this;}
117 inline Output& WithFormatOptions(OutputFormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;}
119
121
126 inline int GetMaxOutputFiles() const{ return m_maxOutputFiles; }
127 inline bool MaxOutputFilesHasBeenSet() const { return m_maxOutputFilesHasBeenSet; }
128 inline void SetMaxOutputFiles(int value) { m_maxOutputFilesHasBeenSet = true; m_maxOutputFiles = value; }
129 inline Output& WithMaxOutputFiles(int value) { SetMaxOutputFiles(value); return *this;}
131 private:
132
133 CompressionFormat m_compressionFormat;
134 bool m_compressionFormatHasBeenSet = false;
135
136 OutputFormat m_format;
137 bool m_formatHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_partitionColumns;
140 bool m_partitionColumnsHasBeenSet = false;
141
142 S3Location m_location;
143 bool m_locationHasBeenSet = false;
144
145 bool m_overwrite;
146 bool m_overwriteHasBeenSet = false;
147
148 OutputFormatOptions m_formatOptions;
149 bool m_formatOptionsHasBeenSet = false;
150
151 int m_maxOutputFiles;
152 bool m_maxOutputFilesHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace GlueDataBrew
157} // namespace Aws
Output & AddPartitionColumns(const Aws::String &value)
Definition Output.h:80
Output & WithCompressionFormat(CompressionFormat &&value)
Definition Output.h:55
Output & WithLocation(const S3Location &value)
Definition Output.h:93
Output & WithCompressionFormat(const CompressionFormat &value)
Definition Output.h:54
void SetFormatOptions(OutputFormatOptions &&value)
Definition Output.h:115
void SetOverwrite(bool value)
Definition Output.h:104
Output & WithFormatOptions(const OutputFormatOptions &value)
Definition Output.h:116
Output & WithFormat(OutputFormat &&value)
Definition Output.h:67
void SetLocation(S3Location &&value)
Definition Output.h:92
void SetLocation(const S3Location &value)
Definition Output.h:91
void SetPartitionColumns(Aws::Vector< Aws::String > &&value)
Definition Output.h:77
const OutputFormatOptions & GetFormatOptions() const
Definition Output.h:112
void SetFormat(OutputFormat &&value)
Definition Output.h:65
bool PartitionColumnsHasBeenSet() const
Definition Output.h:75
Output & WithLocation(S3Location &&value)
Definition Output.h:94
void SetMaxOutputFiles(int value)
Definition Output.h:128
Output & WithPartitionColumns(Aws::Vector< Aws::String > &&value)
Definition Output.h:79
bool LocationHasBeenSet() const
Definition Output.h:90
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
bool FormatOptionsHasBeenSet() const
Definition Output.h:113
Output & WithMaxOutputFiles(int value)
Definition Output.h:129
Output & WithOverwrite(bool value)
Definition Output.h:105
void SetCompressionFormat(CompressionFormat &&value)
Definition Output.h:53
void SetPartitionColumns(const Aws::Vector< Aws::String > &value)
Definition Output.h:76
AWS_GLUEDATABREW_API Output(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetLocation() const
Definition Output.h:89
void SetFormatOptions(const OutputFormatOptions &value)
Definition Output.h:114
const CompressionFormat & GetCompressionFormat() const
Definition Output.h:50
Output & WithFormatOptions(OutputFormatOptions &&value)
Definition Output.h:117
AWS_GLUEDATABREW_API Output()
AWS_GLUEDATABREW_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCompressionFormat(const CompressionFormat &value)
Definition Output.h:52
Output & WithPartitionColumns(const Aws::Vector< Aws::String > &value)
Definition Output.h:78
Output & AddPartitionColumns(Aws::String &&value)
Definition Output.h:81
bool MaxOutputFilesHasBeenSet() const
Definition Output.h:127
bool CompressionFormatHasBeenSet() const
Definition Output.h:51
void SetFormat(const OutputFormat &value)
Definition Output.h:64
Output & AddPartitionColumns(const char *value)
Definition Output.h:82
Output & WithFormat(const OutputFormat &value)
Definition Output.h:66
const Aws::Vector< Aws::String > & GetPartitionColumns() const
Definition Output.h:74
const OutputFormat & GetFormat() const
Definition Output.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue