AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3GlueParquetTarget.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/ParquetCompressionType.h>
11#include <aws/glue/model/DirectSchemaChangePolicy.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUE_API S3GlueParquetTarget();
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline S3GlueParquetTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline S3GlueParquetTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline S3GlueParquetTarget& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
63 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
64 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
65 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
66 inline S3GlueParquetTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline S3GlueParquetTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline S3GlueParquetTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline S3GlueParquetTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline S3GlueParquetTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPartitionKeys() const{ return m_partitionKeys; }
78 inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; }
79 inline void SetPartitionKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = value; }
80 inline void SetPartitionKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::move(value); }
83 inline S3GlueParquetTarget& AddPartitionKeys(const Aws::Vector<Aws::String>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(value); return *this; }
84 inline S3GlueParquetTarget& AddPartitionKeys(Aws::Vector<Aws::String>&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::String& GetPath() const{ return m_path; }
92 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
93 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
94 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
95 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
96 inline S3GlueParquetTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;}
97 inline S3GlueParquetTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
98 inline S3GlueParquetTarget& WithPath(const char* value) { SetPath(value); return *this;}
100
102
107 inline const ParquetCompressionType& GetCompression() const{ return m_compression; }
108 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
109 inline void SetCompression(const ParquetCompressionType& value) { m_compressionHasBeenSet = true; m_compression = value; }
110 inline void SetCompression(ParquetCompressionType&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
111 inline S3GlueParquetTarget& WithCompression(const ParquetCompressionType& value) { SetCompression(value); return *this;}
112 inline S3GlueParquetTarget& WithCompression(ParquetCompressionType&& value) { SetCompression(std::move(value)); return *this;}
114
116
119 inline const DirectSchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; }
120 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
121 inline void SetSchemaChangePolicy(const DirectSchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; }
122 inline void SetSchemaChangePolicy(DirectSchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); }
126 private:
127
128 Aws::String m_name;
129 bool m_nameHasBeenSet = false;
130
132 bool m_inputsHasBeenSet = false;
133
135 bool m_partitionKeysHasBeenSet = false;
136
137 Aws::String m_path;
138 bool m_pathHasBeenSet = false;
139
140 ParquetCompressionType m_compression;
141 bool m_compressionHasBeenSet = false;
142
143 DirectSchemaChangePolicy m_schemaChangePolicy;
144 bool m_schemaChangePolicyHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Glue
149} // namespace Aws
S3GlueParquetTarget & WithName(const Aws::String &value)
AWS_GLUE_API S3GlueParquetTarget(Aws::Utils::Json::JsonView jsonValue)
S3GlueParquetTarget & WithSchemaChangePolicy(DirectSchemaChangePolicy &&value)
void SetInputs(const Aws::Vector< Aws::String > &value)
void SetPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
void SetPath(const Aws::String &value)
S3GlueParquetTarget & WithName(const char *value)
void SetPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
S3GlueParquetTarget & WithPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
AWS_GLUE_API S3GlueParquetTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
S3GlueParquetTarget & WithPath(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchemaChangePolicy(DirectSchemaChangePolicy &&value)
S3GlueParquetTarget & AddInputs(const Aws::String &value)
const ParquetCompressionType & GetCompression() const
S3GlueParquetTarget & WithPath(const Aws::String &value)
S3GlueParquetTarget & AddInputs(Aws::String &&value)
void SetSchemaChangePolicy(const DirectSchemaChangePolicy &value)
void SetCompression(const ParquetCompressionType &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
S3GlueParquetTarget & AddInputs(const char *value)
void SetName(const Aws::String &value)
S3GlueParquetTarget & WithInputs(Aws::Vector< Aws::String > &&value)
void SetCompression(ParquetCompressionType &&value)
const Aws::Vector< Aws::String > & GetInputs() const
S3GlueParquetTarget & AddPartitionKeys(Aws::Vector< Aws::String > &&value)
S3GlueParquetTarget & WithPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
S3GlueParquetTarget & WithInputs(const Aws::Vector< Aws::String > &value)
S3GlueParquetTarget & WithCompression(const ParquetCompressionType &value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
S3GlueParquetTarget & WithPath(const char *value)
S3GlueParquetTarget & WithName(Aws::String &&value)
S3GlueParquetTarget & AddPartitionKeys(const Aws::Vector< Aws::String > &value)
S3GlueParquetTarget & WithSchemaChangePolicy(const DirectSchemaChangePolicy &value)
S3GlueParquetTarget & WithCompression(ParquetCompressionType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue