/** * 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 SecurityLake { namespace Model { /** *

The status of the last UpdateDataLake or * DeleteDataLake API request. This is set to Completed after the * configuration is updated, or removed if deletion of the data lake is * successful.

See Also:

AWS * API Reference

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

The details of the last UpdateDataLakeor * DeleteDataLake API request which failed.

*/ inline const DataLakeUpdateException& GetException() const{ return m_exception; } /** *

The details of the last UpdateDataLakeor * DeleteDataLake API request which failed.

*/ inline bool ExceptionHasBeenSet() const { return m_exceptionHasBeenSet; } /** *

The details of the last UpdateDataLakeor * DeleteDataLake API request which failed.

*/ inline void SetException(const DataLakeUpdateException& value) { m_exceptionHasBeenSet = true; m_exception = value; } /** *

The details of the last UpdateDataLakeor * DeleteDataLake API request which failed.

*/ inline void SetException(DataLakeUpdateException&& value) { m_exceptionHasBeenSet = true; m_exception = std::move(value); } /** *

The details of the last UpdateDataLakeor * DeleteDataLake API request which failed.

*/ inline DataLakeUpdateStatus& WithException(const DataLakeUpdateException& value) { SetException(value); return *this;} /** *

The details of the last UpdateDataLakeor * DeleteDataLake API request which failed.

*/ inline DataLakeUpdateStatus& WithException(DataLakeUpdateException&& value) { SetException(std::move(value)); return *this;} /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline DataLakeUpdateStatus& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline DataLakeUpdateStatus& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The unique ID for the last UpdateDataLake or * DeleteDataLake API request.

*/ inline DataLakeUpdateStatus& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The status of the last UpdateDataLake or * DeleteDataLake API request that was requested.

*/ inline const DataLakeStatus& GetStatus() const{ return m_status; } /** *

The status of the last UpdateDataLake or * DeleteDataLake API request that was requested.

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

The status of the last UpdateDataLake or * DeleteDataLake API request that was requested.

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

The status of the last UpdateDataLake or * DeleteDataLake API request that was requested.

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

The status of the last UpdateDataLake or * DeleteDataLake API request that was requested.

*/ inline DataLakeUpdateStatus& WithStatus(const DataLakeStatus& value) { SetStatus(value); return *this;} /** *

The status of the last UpdateDataLake or * DeleteDataLake API request that was requested.

*/ inline DataLakeUpdateStatus& WithStatus(DataLakeStatus&& value) { SetStatus(std::move(value)); return *this;} private: DataLakeUpdateException m_exception; bool m_exceptionHasBeenSet = false; Aws::String m_requestId; bool m_requestIdHasBeenSet = false; DataLakeStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws