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/RouteData.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/DeleteRouteOutput">AWS
* API Reference</a></p>
*/
class AWS_APPMESH_API DeleteRouteResult
{
public:
DeleteRouteResult();
DeleteRouteResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteRouteResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The route that was deleted.</p>
*/
inline const RouteData& GetRoute() const{ return m_route; }
/**
* <p>The route that was deleted.</p>
*/
inline void SetRoute(const RouteData& value) { m_route = value; }
/**
* <p>The route that was deleted.</p>
*/
inline void SetRoute(RouteData&& value) { m_route = std::move(value); }
/**
* <p>The route that was deleted.</p>
*/
inline DeleteRouteResult& WithRoute(const RouteData& value) { SetRoute(value); return *this;}
/**
* <p>The route that was deleted.</p>
*/
inline DeleteRouteResult& WithRoute(RouteData&& value) { SetRoute(std::move(value)); return *this;}
private:
RouteData m_route;
};
} // namespace Model
} // namespace AppMesh
} // namespace Aws