/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GlueDataBrew { namespace Model { class DescribeDatasetResult { public: AWS_GLUEDATABREW_API DescribeDatasetResult(); AWS_GLUEDATABREW_API DescribeDatasetResult(const Aws::AmazonWebServiceResult& result); AWS_GLUEDATABREW_API DescribeDatasetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier (user name) of the user who created the dataset.

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

The identifier (user name) of the user who created the dataset.

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

The identifier (user name) of the user who created the dataset.

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

The identifier (user name) of the user who created the dataset.

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

The identifier (user name) of the user who created the dataset.

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

The identifier (user name) of the user who created the dataset.

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

The identifier (user name) of the user who created the dataset.

*/ inline DescribeDatasetResult& 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 void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDate = value; } /** *

The date and time that the dataset was created.

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

The date and time that the dataset was created.

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

The date and time that the dataset was created.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

*/ inline DescribeDatasetResult& 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 void SetFormat(const InputFormat& value) { 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_format = std::move(value); } /** *

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

*/ inline DescribeDatasetResult& 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 DescribeDatasetResult& WithFormat(InputFormat&& value) { SetFormat(std::move(value)); return *this;} inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; } inline void SetFormatOptions(const FormatOptions& value) { m_formatOptions = value; } inline void SetFormatOptions(FormatOptions&& value) { m_formatOptions = std::move(value); } inline DescribeDatasetResult& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;} inline DescribeDatasetResult& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;} inline const Input& GetInput() const{ return m_input; } inline void SetInput(const Input& value) { m_input = value; } inline void SetInput(Input&& value) { m_input = std::move(value); } inline DescribeDatasetResult& WithInput(const Input& value) { SetInput(value); return *this;} inline DescribeDatasetResult& WithInput(Input&& value) { SetInput(std::move(value)); return *this;} /** *

The date and time that the dataset was last modified.

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

The date and time that the dataset was last modified.

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

The date and time that the dataset was last modified.

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

The date and time that the dataset was last modified.

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

The date and time that the dataset was last modified.

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

The identifier (user name) of the user who last modified the dataset.

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

The identifier (user name) of the user who last modified the dataset.

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

The identifier (user name) of the user who last modified the dataset.

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

The identifier (user name) of the user who last modified the dataset.

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

The identifier (user name) of the user who last modified the dataset.

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

The identifier (user name) of the user who last modified the dataset.

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

The identifier (user name) of the user who last modified the dataset.

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

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

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

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

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

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

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

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

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

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

*/ inline DescribeDatasetResult& 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 void SetPathOptions(const PathOptions& value) { 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_pathOptions = std::move(value); } /** *

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

*/ inline DescribeDatasetResult& 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 DescribeDatasetResult& WithPathOptions(PathOptions&& value) { SetPathOptions(std::move(value)); return *this;} /** *

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

Metadata tags associated with this dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

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

The Amazon Resource Name (ARN) of the dataset.

*/ inline DescribeDatasetResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDatasetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDatasetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDatasetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_createdBy; Aws::Utils::DateTime m_createDate; Aws::String m_name; InputFormat m_format; FormatOptions m_formatOptions; Input m_input; Aws::Utils::DateTime m_lastModifiedDate; Aws::String m_lastModifiedBy; Source m_source; PathOptions m_pathOptions; Aws::Map m_tags; Aws::String m_resourceArn; Aws::String m_requestId; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws