/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

Provides summary information about an export in an export list. *

See Also:

AWS * API Reference

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

The unique identifier that Amazon Lex assigned to the export.

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

The unique identifier that Amazon Lex assigned to the export.

*/ inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; } /** *

The unique identifier that Amazon Lex assigned to the export.

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

The unique identifier that Amazon Lex assigned to the export.

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

The unique identifier that Amazon Lex assigned to the export.

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

The unique identifier that Amazon Lex assigned to the export.

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

The unique identifier that Amazon Lex assigned to the export.

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

The unique identifier that Amazon Lex assigned to the export.

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

Information about the bot or bot locale that was exported.

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

Information about the bot or bot locale that was exported.

*/ inline bool ResourceSpecificationHasBeenSet() const { return m_resourceSpecificationHasBeenSet; } /** *

Information about the bot or bot locale that was exported.

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

Information about the bot or bot locale that was exported.

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

Information about the bot or bot locale that was exported.

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

Information about the bot or bot locale that was exported.

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

The file format used in the export files.

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

The file format used in the export files.

*/ inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; } /** *

The file format used in the export files.

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

The file format used in the export files.

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

The file format used in the export files.

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

The file format used in the export files.

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

The status of the export. When the status is Completed the * export is ready to download.

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

The status of the export. When the status is Completed the * export is ready to download.

*/ inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; } /** *

The status of the export. When the status is Completed the * export is ready to download.

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

The status of the export. When the status is Completed the * export is ready to download.

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

The status of the export. When the status is Completed the * export is ready to download.

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

The status of the export. When the status is Completed the * export is ready to download.

*/ inline ExportSummary& 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 bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The date and time that the export was created.

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

The date and time that the export was created.

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

The date and time that the export was created.

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

The date and time that the export was created.

*/ inline ExportSummary& 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 bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The date and time that the export was last updated.

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

The date and time that the export was last updated.

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

The date and time that the export was last updated.

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

The date and time that the export was last updated.

*/ inline ExportSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} private: Aws::String m_exportId; bool m_exportIdHasBeenSet = false; ExportResourceSpecification m_resourceSpecification; bool m_resourceSpecificationHasBeenSet = false; ImportExportFileFormat m_fileFormat; bool m_fileFormatHasBeenSet = false; ExportStatus m_exportStatus; bool m_exportStatusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws