AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DirectTarget.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/TargetFormat.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 S3DirectTarget();
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 S3DirectTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline S3DirectTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline S3DirectTarget& 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 S3DirectTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline S3DirectTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline S3DirectTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline S3DirectTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline S3DirectTarget& 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); }
82 inline S3DirectTarget& WithPartitionKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetPartitionKeys(std::move(value)); return *this;}
83 inline S3DirectTarget& AddPartitionKeys(const Aws::Vector<Aws::String>& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.push_back(value); return *this; }
84 inline S3DirectTarget& 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 S3DirectTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;}
97 inline S3DirectTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
98 inline S3DirectTarget& WithPath(const char* value) { SetPath(value); return *this;}
100
102
107 inline const Aws::String& GetCompression() const{ return m_compression; }
108 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
109 inline void SetCompression(const Aws::String& value) { m_compressionHasBeenSet = true; m_compression = value; }
110 inline void SetCompression(Aws::String&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
111 inline void SetCompression(const char* value) { m_compressionHasBeenSet = true; m_compression.assign(value); }
112 inline S3DirectTarget& WithCompression(const Aws::String& value) { SetCompression(value); return *this;}
113 inline S3DirectTarget& WithCompression(Aws::String&& value) { SetCompression(std::move(value)); return *this;}
114 inline S3DirectTarget& WithCompression(const char* value) { SetCompression(value); return *this;}
116
118
121 inline const TargetFormat& GetFormat() const{ return m_format; }
122 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
123 inline void SetFormat(const TargetFormat& value) { m_formatHasBeenSet = true; m_format = value; }
124 inline void SetFormat(TargetFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
125 inline S3DirectTarget& WithFormat(const TargetFormat& value) { SetFormat(value); return *this;}
126 inline S3DirectTarget& WithFormat(TargetFormat&& value) { SetFormat(std::move(value)); return *this;}
128
130
133 inline const DirectSchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; }
134 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
135 inline void SetSchemaChangePolicy(const DirectSchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; }
136 inline void SetSchemaChangePolicy(DirectSchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); }
138 inline S3DirectTarget& WithSchemaChangePolicy(DirectSchemaChangePolicy&& value) { SetSchemaChangePolicy(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
146 bool m_inputsHasBeenSet = false;
147
149 bool m_partitionKeysHasBeenSet = false;
150
151 Aws::String m_path;
152 bool m_pathHasBeenSet = false;
153
154 Aws::String m_compression;
155 bool m_compressionHasBeenSet = false;
156
157 TargetFormat m_format;
158 bool m_formatHasBeenSet = false;
159
160 DirectSchemaChangePolicy m_schemaChangePolicy;
161 bool m_schemaChangePolicyHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Glue
166} // namespace Aws
void SetInputs(Aws::Vector< Aws::String > &&value)
const TargetFormat & GetFormat() const
S3DirectTarget & WithPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
S3DirectTarget & WithCompression(const char *value)
void SetPartitionKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
const Aws::String & GetPath() const
void SetName(const char *value)
void SetPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
const Aws::String & GetName() const
void SetSchemaChangePolicy(const DirectSchemaChangePolicy &value)
void SetFormat(TargetFormat &&value)
S3DirectTarget & WithCompression(const Aws::String &value)
S3DirectTarget & WithInputs(Aws::Vector< Aws::String > &&value)
void SetFormat(const TargetFormat &value)
void SetSchemaChangePolicy(DirectSchemaChangePolicy &&value)
S3DirectTarget & WithName(const Aws::String &value)
AWS_GLUE_API S3DirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DirectTarget & AddInputs(const Aws::String &value)
S3DirectTarget & WithSchemaChangePolicy(const DirectSchemaChangePolicy &value)
S3DirectTarget & WithSchemaChangePolicy(DirectSchemaChangePolicy &&value)
S3DirectTarget & WithInputs(const Aws::Vector< Aws::String > &value)
S3DirectTarget & WithName(const char *value)
S3DirectTarget & AddPartitionKeys(Aws::Vector< Aws::String > &&value)
S3DirectTarget & AddPartitionKeys(const Aws::Vector< Aws::String > &value)
void SetName(Aws::String &&value)
void SetCompression(const char *value)
S3DirectTarget & WithPath(const char *value)
void SetPath(const char *value)
S3DirectTarget & WithPath(Aws::String &&value)
void SetPath(Aws::String &&value)
const Aws::String & GetCompression() const
S3DirectTarget & AddInputs(const char *value)
S3DirectTarget & WithFormat(const TargetFormat &value)
S3DirectTarget & WithCompression(Aws::String &&value)
AWS_GLUE_API S3DirectTarget(Aws::Utils::Json::JsonView jsonValue)
void SetCompression(const Aws::String &value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
void SetInputs(const Aws::Vector< Aws::String > &value)
void SetPath(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
S3DirectTarget & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
void SetCompression(Aws::String &&value)
S3DirectTarget & WithFormat(TargetFormat &&value)
S3DirectTarget & WithPartitionKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
const Aws::Vector< Aws::String > & GetInputs() const
S3DirectTarget & WithPath(const Aws::String &value)
S3DirectTarget & AddInputs(Aws::String &&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