/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GlueDataBrew { namespace Model { /** *

Represents a dataset that can be processed by DataBrew.

See * Also:

AWS * API Reference

*/ class Dataset { public: AWS_GLUEDATABREW_API Dataset(); AWS_GLUEDATABREW_API Dataset(Aws::Utils::Json::JsonView jsonValue); AWS_GLUEDATABREW_API Dataset& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline Dataset& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline Dataset& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The ID of the Amazon Web Services account that owns the dataset.

*/ inline Dataset& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline Dataset& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline Dataset& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who created the dataset.

*/ inline Dataset& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The date and time that the dataset was created.

*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *

The date and time that the dataset was created.

*/ inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; } /** *

The date and time that the dataset was created.

*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; } /** *

The date and time that the dataset was created.

*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); } /** *

The date and time that the dataset was created.

*/ inline Dataset& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *

The date and time that the dataset was created.

*/ inline Dataset& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *

The unique name of the dataset.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The unique name of the dataset.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The unique name of the dataset.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The unique name of the dataset.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The unique name of the dataset.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The unique name of the dataset.

*/ inline Dataset& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The unique name of the dataset.

*/ inline Dataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The unique name of the dataset.

*/ inline Dataset& WithName(const char* value) { SetName(value); return *this;} /** *

The file format of a dataset that is created from an Amazon S3 file or * folder.

*/ inline const InputFormat& GetFormat() const{ return m_format; } /** *

The file format of a dataset that is created from an Amazon S3 file or * folder.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The file format of a dataset that is created from an Amazon S3 file or * folder.

*/ inline void SetFormat(const InputFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The file format of a dataset that is created from an Amazon S3 file or * folder.

*/ inline void SetFormat(InputFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The file format of a dataset that is created from an Amazon S3 file or * folder.

*/ inline Dataset& WithFormat(const InputFormat& value) { SetFormat(value); return *this;} /** *

The file format of a dataset that is created from an Amazon S3 file or * folder.

*/ inline Dataset& WithFormat(InputFormat&& value) { SetFormat(std::move(value)); return *this;} /** *

A set of options that define how DataBrew interprets the data in the * dataset.

*/ inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; } /** *

A set of options that define how DataBrew interprets the data in the * dataset.

*/ inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; } /** *

A set of options that define how DataBrew interprets the data in the * dataset.

*/ inline void SetFormatOptions(const FormatOptions& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = value; } /** *

A set of options that define how DataBrew interprets the data in the * dataset.

*/ inline void SetFormatOptions(FormatOptions&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::move(value); } /** *

A set of options that define how DataBrew interprets the data in the * dataset.

*/ inline Dataset& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;} /** *

A set of options that define how DataBrew interprets the data in the * dataset.

*/ inline Dataset& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;} /** *

Information on how DataBrew can find the dataset, in either the Glue Data * Catalog or Amazon S3.

*/ inline const Input& GetInput() const{ return m_input; } /** *

Information on how DataBrew can find the dataset, in either the Glue Data * Catalog or Amazon S3.

*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *

Information on how DataBrew can find the dataset, in either the Glue Data * Catalog or Amazon S3.

*/ inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; } /** *

Information on how DataBrew can find the dataset, in either the Glue Data * Catalog or Amazon S3.

*/ inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } /** *

Information on how DataBrew can find the dataset, in either the Glue Data * Catalog or Amazon S3.

*/ inline Dataset& WithInput(const Input& value) { SetInput(value); return *this;} /** *

Information on how DataBrew can find the dataset, in either the Glue Data * Catalog or Amazon S3.

*/ inline Dataset& WithInput(Input&& value) { SetInput(std::move(value)); return *this;} /** *

The last modification date and time of the dataset.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *

The last modification date and time of the dataset.

*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *

The last modification date and time of the dataset.

*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *

The last modification date and time of the dataset.

*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *

The last modification date and time of the dataset.

*/ inline Dataset& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *

The last modification date and time of the dataset.

*/ inline Dataset& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); } /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline Dataset& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline Dataset& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user who last modified the dataset.

*/ inline Dataset& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} /** *

The location of the data for the dataset, either Amazon S3 or the Glue Data * Catalog.

*/ inline const Source& GetSource() const{ return m_source; } /** *

The location of the data for the dataset, either Amazon S3 or the Glue Data * Catalog.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The location of the data for the dataset, either Amazon S3 or the Glue Data * Catalog.

*/ inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The location of the data for the dataset, either Amazon S3 or the Glue Data * Catalog.

*/ inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The location of the data for the dataset, either Amazon S3 or the Glue Data * Catalog.

*/ inline Dataset& WithSource(const Source& value) { SetSource(value); return *this;} /** *

The location of the data for the dataset, either Amazon S3 or the Glue Data * Catalog.

*/ inline Dataset& WithSource(Source&& value) { SetSource(std::move(value)); return *this;} /** *

A set of options that defines how DataBrew interprets an Amazon S3 path of * the dataset.

*/ inline const PathOptions& GetPathOptions() const{ return m_pathOptions; } /** *

A set of options that defines how DataBrew interprets an Amazon S3 path of * the dataset.

*/ inline bool PathOptionsHasBeenSet() const { return m_pathOptionsHasBeenSet; } /** *

A set of options that defines how DataBrew interprets an Amazon S3 path of * the dataset.

*/ inline void SetPathOptions(const PathOptions& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = value; } /** *

A set of options that defines how DataBrew interprets an Amazon S3 path of * the dataset.

*/ inline void SetPathOptions(PathOptions&& value) { m_pathOptionsHasBeenSet = true; m_pathOptions = std::move(value); } /** *

A set of options that defines how DataBrew interprets an Amazon S3 path of * the dataset.

*/ inline Dataset& WithPathOptions(const PathOptions& value) { SetPathOptions(value); return *this;} /** *

A set of options that defines how DataBrew interprets an Amazon S3 path of * the dataset.

*/ inline Dataset& WithPathOptions(PathOptions&& value) { SetPathOptions(std::move(value)); return *this;} /** *

Metadata tags that have been applied to the dataset.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Metadata tags that have been applied to the dataset.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Metadata tags that have been applied to the dataset.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Metadata tags that have been applied to the dataset.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags that have been applied to the dataset.

*/ inline Dataset& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline Dataset& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline Dataset& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The unique Amazon Resource Name (ARN) for the dataset.

*/ inline Dataset& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_createDate; bool m_createDateHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; InputFormat m_format; bool m_formatHasBeenSet = false; FormatOptions m_formatOptions; bool m_formatOptionsHasBeenSet = false; Input m_input; bool m_inputHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedDate; bool m_lastModifiedDateHasBeenSet = false; Aws::String m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; Source m_source; bool m_sourceHasBeenSet = false; PathOptions m_pathOptions; bool m_pathOptionsHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws