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

Provides a summary of the Explainability export properties used in the * ListExplainabilityExports operation. To get a complete set of properties, * call the DescribeExplainabilityExport operation, and provide the * ExplainabilityExportArn.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline const Aws::String& GetExplainabilityExportArn() const{ return m_explainabilityExportArn; } /** *

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline bool ExplainabilityExportArnHasBeenSet() const { return m_explainabilityExportArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline void SetExplainabilityExportArn(const Aws::String& value) { m_explainabilityExportArnHasBeenSet = true; m_explainabilityExportArn = value; } /** *

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline void SetExplainabilityExportArn(Aws::String&& value) { m_explainabilityExportArnHasBeenSet = true; m_explainabilityExportArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline void SetExplainabilityExportArn(const char* value) { m_explainabilityExportArnHasBeenSet = true; m_explainabilityExportArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline ExplainabilityExportSummary& WithExplainabilityExportArn(const Aws::String& value) { SetExplainabilityExportArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline ExplainabilityExportSummary& WithExplainabilityExportArn(Aws::String&& value) { SetExplainabilityExportArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Explainability export.

*/ inline ExplainabilityExportSummary& WithExplainabilityExportArn(const char* value) { SetExplainabilityExportArn(value); return *this;} /** *

The name of the Explainability export

*/ inline const Aws::String& GetExplainabilityExportName() const{ return m_explainabilityExportName; } /** *

The name of the Explainability export

*/ inline bool ExplainabilityExportNameHasBeenSet() const { return m_explainabilityExportNameHasBeenSet; } /** *

The name of the Explainability export

*/ inline void SetExplainabilityExportName(const Aws::String& value) { m_explainabilityExportNameHasBeenSet = true; m_explainabilityExportName = value; } /** *

The name of the Explainability export

*/ inline void SetExplainabilityExportName(Aws::String&& value) { m_explainabilityExportNameHasBeenSet = true; m_explainabilityExportName = std::move(value); } /** *

The name of the Explainability export

*/ inline void SetExplainabilityExportName(const char* value) { m_explainabilityExportNameHasBeenSet = true; m_explainabilityExportName.assign(value); } /** *

The name of the Explainability export

*/ inline ExplainabilityExportSummary& WithExplainabilityExportName(const Aws::String& value) { SetExplainabilityExportName(value); return *this;} /** *

The name of the Explainability export

*/ inline ExplainabilityExportSummary& WithExplainabilityExportName(Aws::String&& value) { SetExplainabilityExportName(std::move(value)); return *this;} /** *

The name of the Explainability export

*/ inline ExplainabilityExportSummary& WithExplainabilityExportName(const char* value) { SetExplainabilityExportName(value); return *this;} inline const DataDestination& GetDestination() const{ return m_destination; } inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } inline void SetDestination(const DataDestination& value) { m_destinationHasBeenSet = true; m_destination = value; } inline void SetDestination(DataDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } inline ExplainabilityExportSummary& WithDestination(const DataDestination& value) { SetDestination(value); return *this;} inline ExplainabilityExportSummary& WithDestination(DataDestination&& value) { SetDestination(std::move(value)); return *this;} /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline ExplainabilityExportSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline ExplainabilityExportSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the Explainability export. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * CREATE_STOPPING, CREATE_STOPPED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

*/ inline ExplainabilityExportSummary& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline ExplainabilityExportSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline ExplainabilityExportSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

Information about any errors that may have occurred during the Explainability * export.

*/ inline ExplainabilityExportSummary& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

When the Explainability was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the Explainability was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the Explainability was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When the Explainability was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When the Explainability was created.

*/ inline ExplainabilityExportSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the Explainability was created.

*/ inline ExplainabilityExportSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The last time the resource was modified. The timestamp depends on the status * of the job:

  • CREATE_PENDING - The * CreationTime.

  • CREATE_IN_PROGRESS - * The current timestamp.

  • CREATE_STOPPING - The * current timestamp.

  • CREATE_STOPPED - When the job * stopped.

  • ACTIVE or CREATE_FAILED - * When the job finished or failed.

*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *

The last time the resource was modified. The timestamp depends on the status * of the job:

  • CREATE_PENDING - The * CreationTime.

  • CREATE_IN_PROGRESS - * The current timestamp.

  • CREATE_STOPPING - The * current timestamp.

  • CREATE_STOPPED - When the job * stopped.

  • ACTIVE or CREATE_FAILED - * When the job finished or failed.

*/ inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } /** *

The last time the resource was modified. The timestamp depends on the status * of the job:

  • CREATE_PENDING - The * CreationTime.

  • CREATE_IN_PROGRESS - * The current timestamp.

  • CREATE_STOPPING - The * current timestamp.

  • CREATE_STOPPED - When the job * stopped.

  • ACTIVE or CREATE_FAILED - * When the job finished or failed.

*/ inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; } /** *

The last time the resource was modified. The timestamp depends on the status * of the job:

  • CREATE_PENDING - The * CreationTime.

  • CREATE_IN_PROGRESS - * The current timestamp.

  • CREATE_STOPPING - The * current timestamp.

  • CREATE_STOPPED - When the job * stopped.

  • ACTIVE or CREATE_FAILED - * When the job finished or failed.

*/ inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); } /** *

The last time the resource was modified. The timestamp depends on the status * of the job:

  • CREATE_PENDING - The * CreationTime.

  • CREATE_IN_PROGRESS - * The current timestamp.

  • CREATE_STOPPING - The * current timestamp.

  • CREATE_STOPPED - When the job * stopped.

  • ACTIVE or CREATE_FAILED - * When the job finished or failed.

*/ inline ExplainabilityExportSummary& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *

The last time the resource was modified. The timestamp depends on the status * of the job:

  • CREATE_PENDING - The * CreationTime.

  • CREATE_IN_PROGRESS - * The current timestamp.

  • CREATE_STOPPING - The * current timestamp.

  • CREATE_STOPPED - When the job * stopped.

  • ACTIVE or CREATE_FAILED - * When the job finished or failed.

*/ inline ExplainabilityExportSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;} private: Aws::String m_explainabilityExportArn; bool m_explainabilityExportArnHasBeenSet = false; Aws::String m_explainabilityExportName; bool m_explainabilityExportNameHasBeenSet = false; DataDestination m_destination; bool m_destinationHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModificationTime; bool m_lastModificationTimeHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws