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

The unique identifier Amazon Lex assigned to the export.

*/ inline const Aws::String& GetExportId() const{ return m_exportId; } /** *

The unique identifier Amazon Lex assigned to the export.

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

The unique identifier Amazon Lex assigned to the export.

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

The unique identifier Amazon Lex assigned to the export.

*/ inline void SetExportId(const char* value) { m_exportId.assign(value); } /** *

The unique identifier Amazon Lex assigned to the export.

*/ inline UpdateExportResult& WithExportId(const Aws::String& value) { SetExportId(value); return *this;} /** *

The unique identifier Amazon Lex assigned to the export.

*/ inline UpdateExportResult& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;} /** *

The unique identifier Amazon Lex assigned to the export.

*/ inline UpdateExportResult& WithExportId(const char* value) { SetExportId(value); return *this;} /** *

A description of the type of resource that was exported, either a bot or a * bot locale.

*/ inline const ExportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; } /** *

A description of the type of resource that was exported, either a bot or a * bot locale.

*/ inline void SetResourceSpecification(const ExportResourceSpecification& value) { m_resourceSpecification = value; } /** *

A description of the type of resource that was exported, either a bot or a * bot locale.

*/ inline void SetResourceSpecification(ExportResourceSpecification&& value) { m_resourceSpecification = std::move(value); } /** *

A description of the type of resource that was exported, either a bot or a * bot locale.

*/ inline UpdateExportResult& WithResourceSpecification(const ExportResourceSpecification& value) { SetResourceSpecification(value); return *this;} /** *

A description of the type of resource that was exported, either a bot or a * bot locale.

*/ inline UpdateExportResult& WithResourceSpecification(ExportResourceSpecification&& value) { SetResourceSpecification(std::move(value)); return *this;} /** *

The file format used for the files that define the resource. The * TSV format is required to export a custom vocabulary only; * otherwise use LexJson format.

*/ inline const ImportExportFileFormat& GetFileFormat() const{ return m_fileFormat; } /** *

The file format used for the files that define the resource. The * TSV format is required to export a custom vocabulary only; * otherwise use LexJson format.

*/ inline void SetFileFormat(const ImportExportFileFormat& value) { m_fileFormat = value; } /** *

The file format used for the files that define the resource. The * TSV format is required to export a custom vocabulary only; * otherwise use LexJson format.

*/ inline void SetFileFormat(ImportExportFileFormat&& value) { m_fileFormat = std::move(value); } /** *

The file format used for the files that define the resource. The * TSV format is required to export a custom vocabulary only; * otherwise use LexJson format.

*/ inline UpdateExportResult& WithFileFormat(const ImportExportFileFormat& value) { SetFileFormat(value); return *this;} /** *

The file format used for the files that define the resource. The * TSV format is required to export a custom vocabulary only; * otherwise use LexJson format.

*/ inline UpdateExportResult& WithFileFormat(ImportExportFileFormat&& value) { SetFileFormat(std::move(value)); return *this;} /** *

The status of the export. When the status is Completed the * export archive is available for download.

*/ inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; } /** *

The status of the export. When the status is Completed the * export archive is available for download.

*/ inline void SetExportStatus(const ExportStatus& value) { m_exportStatus = value; } /** *

The status of the export. When the status is Completed the * export archive is available for download.

*/ inline void SetExportStatus(ExportStatus&& value) { m_exportStatus = std::move(value); } /** *

The status of the export. When the status is Completed the * export archive is available for download.

*/ inline UpdateExportResult& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;} /** *

The status of the export. When the status is Completed the * export archive is available for download.

*/ inline UpdateExportResult& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;} /** *

The date and time that the export was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time that the export was created.

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

The date and time that the export was created.

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

The date and time that the export was created.

*/ inline UpdateExportResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time that the export was created.

*/ inline UpdateExportResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The date and time that the export was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The date and time that the export was last updated.

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

The date and time that the export was last updated.

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

The date and time that the export was last updated.

*/ inline UpdateExportResult& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The date and time that the export was last updated.

*/ inline UpdateExportResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(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 UpdateExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_exportId; ExportResourceSpecification m_resourceSpecification; ImportExportFileFormat m_fileFormat; ExportStatus m_exportStatus; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws