/** * 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 AWS_DIRECTORYSERVICE_API DeleteSnapshotResult { public: DeleteSnapshotResult(); DeleteSnapshotResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_snapshotId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws