/** * 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 DocDBElastic { namespace Model { class DeleteClusterResult { public: AWS_DOCDBELASTIC_API DeleteClusterResult(); AWS_DOCDBELASTIC_API DeleteClusterResult(const Aws::AmazonWebServiceResult& result); AWS_DOCDBELASTIC_API DeleteClusterResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns information about the newly deleted Elastic DocumentDB cluster.

*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** *

Returns information about the newly deleted Elastic DocumentDB cluster.

*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** *

Returns information about the newly deleted Elastic DocumentDB cluster.

*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** *

Returns information about the newly deleted Elastic DocumentDB cluster.

*/ inline DeleteClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** *

Returns information about the newly deleted Elastic DocumentDB cluster.

*/ inline DeleteClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(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 DeleteClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Cluster m_cluster; Aws::String m_requestId; }; } // namespace Model } // namespace DocDBElastic } // namespace Aws