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

Contains the results of the DeleteSnapshot operation.

See * Also:

AWS * API Reference

*/ class DeleteSnapshotResult { public: AWS_DIRECTORYSERVICE_API DeleteSnapshotResult(); AWS_DIRECTORYSERVICE_API DeleteSnapshotResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTORYSERVICE_API DeleteSnapshotResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the directory snapshot that was deleted.

*/ inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; } /** *

The identifier of the directory snapshot that was deleted.

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

The identifier of the directory snapshot that was deleted.

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

The identifier of the directory snapshot that was deleted.

*/ inline void SetSnapshotId(const char* value) { m_snapshotId.assign(value); } /** *

The identifier of the directory snapshot that was deleted.

*/ inline DeleteSnapshotResult& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;} /** *

The identifier of the directory snapshot that was deleted.

*/ inline DeleteSnapshotResult& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;} /** *

The identifier of the directory snapshot that was deleted.

*/ inline DeleteSnapshotResult& WithSnapshotId(const char* value) { SetSnapshotId(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 DeleteSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_snapshotId; Aws::String m_requestId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws