feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,72 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appmesh/AppMesh_EXPORTS.h>
#include <aws/appmesh/model/MeshData.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace AppMesh
{
namespace Model
{
/**
* <p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMeshOutput">AWS
* API Reference</a></p>
*/
class AWS_APPMESH_API DescribeMeshResult
{
public:
DescribeMeshResult();
DescribeMeshResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeMeshResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The full description of your service mesh.</p>
*/
inline const MeshData& GetMesh() const{ return m_mesh; }
/**
* <p>The full description of your service mesh.</p>
*/
inline void SetMesh(const MeshData& value) { m_mesh = value; }
/**
* <p>The full description of your service mesh.</p>
*/
inline void SetMesh(MeshData&& value) { m_mesh = std::move(value); }
/**
* <p>The full description of your service mesh.</p>
*/
inline DescribeMeshResult& WithMesh(const MeshData& value) { SetMesh(value); return *this;}
/**
* <p>The full description of your service mesh.</p>
*/
inline DescribeMeshResult& WithMesh(MeshData&& value) { SetMesh(std::move(value)); return *this;}
private:
MeshData m_mesh;
};
} // namespace Model
} // namespace AppMesh
} // namespace Aws