/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a target that writes to a Hudi data source in Amazon
* S3.See Also:
AWS
* API Reference
The name of the data target.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data target.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data target.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data target.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data target.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data target.
*/ inline S3HudiDirectTarget& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data target.
*/ inline S3HudiDirectTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data target.
*/ inline S3HudiDirectTarget& WithName(const char* value) { SetName(value); return *this;} /** *The nodes that are inputs to the data target.
*/ inline const Aws::VectorThe nodes that are inputs to the data target.
*/ inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; } /** *The nodes that are inputs to the data target.
*/ inline void SetInputs(const Aws::VectorThe nodes that are inputs to the data target.
*/ inline void SetInputs(Aws::VectorThe nodes that are inputs to the data target.
*/ inline S3HudiDirectTarget& WithInputs(const Aws::VectorThe nodes that are inputs to the data target.
*/ inline S3HudiDirectTarget& WithInputs(Aws::VectorThe nodes that are inputs to the data target.
*/ inline S3HudiDirectTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *The nodes that are inputs to the data target.
*/ inline S3HudiDirectTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; } /** *The nodes that are inputs to the data target.
*/ inline S3HudiDirectTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline S3HudiDirectTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline S3HudiDirectTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The Amazon S3 path of your Hudi data source to write to.
*/ inline S3HudiDirectTarget& WithPath(const char* value) { SetPath(value); return *this;} /** *Specifies how the data is compressed. This is generally not necessary if the
* data has a standard file extension. Possible values are "gzip"
and
* "bzip"
).
Specifies how the data is compressed. This is generally not necessary if the
* data has a standard file extension. Possible values are "gzip"
and
* "bzip"
).
Specifies how the data is compressed. This is generally not necessary if the
* data has a standard file extension. Possible values are "gzip"
and
* "bzip"
).
Specifies how the data is compressed. This is generally not necessary if the
* data has a standard file extension. Possible values are "gzip"
and
* "bzip"
).
Specifies how the data is compressed. This is generally not necessary if the
* data has a standard file extension. Possible values are "gzip"
and
* "bzip"
).
Specifies how the data is compressed. This is generally not necessary if the
* data has a standard file extension. Possible values are "gzip"
and
* "bzip"
).
Specifies native partitioning using a sequence of keys.
*/ inline const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline bool PartitionKeysHasBeenSet() const { return m_partitionKeysHasBeenSet; } /** *Specifies native partitioning using a sequence of keys.
*/ inline void SetPartitionKeys(const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline void SetPartitionKeys(Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiDirectTarget& WithPartitionKeys(const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiDirectTarget& WithPartitionKeys(Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiDirectTarget& AddPartitionKeys(const Aws::VectorSpecifies native partitioning using a sequence of keys.
*/ inline S3HudiDirectTarget& AddPartitionKeys(Aws::VectorSpecifies the data output format for the target.
*/ inline const TargetFormat& GetFormat() const{ return m_format; } /** *Specifies the data output format for the target.
*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *Specifies the data output format for the target.
*/ inline void SetFormat(const TargetFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *Specifies the data output format for the target.
*/ inline void SetFormat(TargetFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *Specifies the data output format for the target.
*/ inline S3HudiDirectTarget& WithFormat(const TargetFormat& value) { SetFormat(value); return *this;} /** *Specifies the data output format for the target.
*/ inline S3HudiDirectTarget& WithFormat(TargetFormat&& value) { SetFormat(std::move(value)); return *this;} /** *Specifies additional connection options for the connector.
*/ inline const Aws::MapSpecifies additional connection options for the connector.
*/ inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; } /** *Specifies additional connection options for the connector.
*/ inline void SetAdditionalOptions(const Aws::MapSpecifies additional connection options for the connector.
*/ inline void SetAdditionalOptions(Aws::MapSpecifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& WithAdditionalOptions(const Aws::MapSpecifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& WithAdditionalOptions(Aws::MapSpecifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& AddAdditionalOptions(const Aws::String& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& AddAdditionalOptions(Aws::String&& key, const Aws::String& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& AddAdditionalOptions(const Aws::String& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& AddAdditionalOptions(Aws::String&& key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), std::move(value)); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& AddAdditionalOptions(const char* key, Aws::String&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, std::move(value)); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& AddAdditionalOptions(Aws::String&& key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(std::move(key), value); return *this; } /** *Specifies additional connection options for the connector.
*/ inline S3HudiDirectTarget& AddAdditionalOptions(const char* key, const char* value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions.emplace(key, value); return *this; } /** *A policy that specifies update behavior for the crawler.
*/ inline const DirectSchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; } /** *A policy that specifies update behavior for the crawler.
*/ inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; } /** *A policy that specifies update behavior for the crawler.
*/ inline void SetSchemaChangePolicy(const DirectSchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; } /** *A policy that specifies update behavior for the crawler.
*/ inline void SetSchemaChangePolicy(DirectSchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); } /** *A policy that specifies update behavior for the crawler.
*/ inline S3HudiDirectTarget& WithSchemaChangePolicy(const DirectSchemaChangePolicy& value) { SetSchemaChangePolicy(value); return *this;} /** *A policy that specifies update behavior for the crawler.
*/ inline S3HudiDirectTarget& WithSchemaChangePolicy(DirectSchemaChangePolicy&& value) { SetSchemaChangePolicy(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector