AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3HyperDirectTarget.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/HyperTargetCompressionType.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 S3HyperDirectTarget() = default;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 S3HyperDirectTarget& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
61 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
62 template<typename InputsT = Aws::Vector<Aws::String>>
63 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
64 template<typename InputsT = Aws::Vector<Aws::String>>
65 S3HyperDirectTarget& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
66 template<typename InputsT = Aws::String>
67 S3HyperDirectTarget& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
69
71
74 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPartitionKeys() const { return m_partitionKeys; }
75 inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; }
76 template<typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
77 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
78 template<typename PartitionKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
79 S3HyperDirectTarget& WithPartitionKeys(PartitionKeysT&& value) { SetPartitionKeys(std::forward<PartitionKeysT>(value)); return *this;}
80 template<typename PartitionKeysT = Aws::Vector<Aws::String>>
81 S3HyperDirectTarget& AddPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value)); return *this; }
83
85
88 inline const Aws::String& GetPath() const { return m_path; }
89 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
90 template<typename PathT = Aws::String>
91 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
92 template<typename PathT = Aws::String>
93 S3HyperDirectTarget& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
95
97
100 inline HyperTargetCompressionType GetCompression() const { return m_compression; }
101 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
102 inline void SetCompression(HyperTargetCompressionType value) { m_compressionHasBeenSet = true; m_compression = value; }
105
107
110 inline const DirectSchemaChangePolicy& GetSchemaChangePolicy() const { return m_schemaChangePolicy; }
111 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
112 template<typename SchemaChangePolicyT = DirectSchemaChangePolicy>
113 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
114 template<typename SchemaChangePolicyT = DirectSchemaChangePolicy>
115 S3HyperDirectTarget& WithSchemaChangePolicy(SchemaChangePolicyT&& value) { SetSchemaChangePolicy(std::forward<SchemaChangePolicyT>(value)); return *this;}
117 private:
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
123 bool m_inputsHasBeenSet = false;
124
126 bool m_partitionKeysHasBeenSet = false;
127
128 Aws::String m_path;
129 bool m_pathHasBeenSet = false;
130
132 bool m_compressionHasBeenSet = false;
133
134 DirectSchemaChangePolicy m_schemaChangePolicy;
135 bool m_schemaChangePolicyHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Glue
140} // namespace Aws
const Aws::Vector< Aws::Vector< Aws::String > > & GetPartitionKeys() const
HyperTargetCompressionType GetCompression() const
void SetPartitionKeys(PartitionKeysT &&value)
S3HyperDirectTarget & AddInputs(InputsT &&value)
S3HyperDirectTarget & WithPath(PathT &&value)
S3HyperDirectTarget & WithPartitionKeys(PartitionKeysT &&value)
const DirectSchemaChangePolicy & GetSchemaChangePolicy() const
S3HyperDirectTarget & WithInputs(InputsT &&value)
AWS_GLUE_API S3HyperDirectTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetInputs() const
AWS_GLUE_API S3HyperDirectTarget(Aws::Utils::Json::JsonView jsonValue)
S3HyperDirectTarget & AddPartitionKeys(PartitionKeysT &&value)
AWS_GLUE_API S3HyperDirectTarget()=default
S3HyperDirectTarget & WithName(NameT &&value)
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
S3HyperDirectTarget & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
void SetCompression(HyperTargetCompressionType value)
S3HyperDirectTarget & WithCompression(HyperTargetCompressionType value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue