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

Summary information about an export task.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the export.

*/ inline const Aws::String& GetExportArn() const{ return m_exportArn; } /** *

The Amazon Resource Name (ARN) of the export.

*/ inline bool ExportArnHasBeenSet() const { return m_exportArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the export.

*/ inline void SetExportArn(const Aws::String& value) { m_exportArnHasBeenSet = true; m_exportArn = value; } /** *

The Amazon Resource Name (ARN) of the export.

*/ inline void SetExportArn(Aws::String&& value) { m_exportArnHasBeenSet = true; m_exportArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the export.

*/ inline void SetExportArn(const char* value) { m_exportArnHasBeenSet = true; m_exportArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the export.

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

The Amazon Resource Name (ARN) of the export.

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

The Amazon Resource Name (ARN) of the export.

*/ inline ExportSummary& WithExportArn(const char* value) { SetExportArn(value); return *this;} /** *

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or * FAILED.

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

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or * FAILED.

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

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or * FAILED.

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

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or * FAILED.

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

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or * FAILED.

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

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or * FAILED.

*/ inline ExportSummary& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;} private: Aws::String m_exportArn; bool m_exportArnHasBeenSet = false; ExportStatus m_exportStatus; bool m_exportStatusHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws