/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FSx { namespace Model { class DeleteDataRepositoryAssociationResult { public: AWS_FSX_API DeleteDataRepositoryAssociationResult(); AWS_FSX_API DeleteDataRepositoryAssociationResult(const Aws::AmazonWebServiceResult& result); AWS_FSX_API DeleteDataRepositoryAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the data repository association being deleted.

*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *

The ID of the data repository association being deleted.

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

The ID of the data repository association being deleted.

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

The ID of the data repository association being deleted.

*/ inline void SetAssociationId(const char* value) { m_associationId.assign(value); } /** *

The ID of the data repository association being deleted.

*/ inline DeleteDataRepositoryAssociationResult& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *

The ID of the data repository association being deleted.

*/ inline DeleteDataRepositoryAssociationResult& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *

The ID of the data repository association being deleted.

*/ inline DeleteDataRepositoryAssociationResult& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *

Describes the lifecycle state of the data repository association being * deleted.

*/ inline const DataRepositoryLifecycle& GetLifecycle() const{ return m_lifecycle; } /** *

Describes the lifecycle state of the data repository association being * deleted.

*/ inline void SetLifecycle(const DataRepositoryLifecycle& value) { m_lifecycle = value; } /** *

Describes the lifecycle state of the data repository association being * deleted.

*/ inline void SetLifecycle(DataRepositoryLifecycle&& value) { m_lifecycle = std::move(value); } /** *

Describes the lifecycle state of the data repository association being * deleted.

*/ inline DeleteDataRepositoryAssociationResult& WithLifecycle(const DataRepositoryLifecycle& value) { SetLifecycle(value); return *this;} /** *

Describes the lifecycle state of the data repository association being * deleted.

*/ inline DeleteDataRepositoryAssociationResult& WithLifecycle(DataRepositoryLifecycle&& value) { SetLifecycle(std::move(value)); return *this;} /** *

Indicates whether data in the file system that corresponds to the data * repository association is being deleted. Default is false.

*/ inline bool GetDeleteDataInFileSystem() const{ return m_deleteDataInFileSystem; } /** *

Indicates whether data in the file system that corresponds to the data * repository association is being deleted. Default is false.

*/ inline void SetDeleteDataInFileSystem(bool value) { m_deleteDataInFileSystem = value; } /** *

Indicates whether data in the file system that corresponds to the data * repository association is being deleted. Default is false.

*/ inline DeleteDataRepositoryAssociationResult& WithDeleteDataInFileSystem(bool value) { SetDeleteDataInFileSystem(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 DeleteDataRepositoryAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteDataRepositoryAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteDataRepositoryAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_associationId; DataRepositoryLifecycle m_lifecycle; bool m_deleteDataInFileSystem; Aws::String m_requestId; }; } // namespace Model } // namespace FSx } // namespace Aws