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,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/HealthCheck.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to the
* <code>UpdateHealthCheck</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheckResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API UpdateHealthCheckResult
{
public:
UpdateHealthCheckResult();
UpdateHealthCheckResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
UpdateHealthCheckResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains the response to an
* <code>UpdateHealthCheck</code> request.</p>
*/
inline const HealthCheck& GetHealthCheck() const{ return m_healthCheck; }
/**
* <p>A complex type that contains the response to an
* <code>UpdateHealthCheck</code> request.</p>
*/
inline void SetHealthCheck(const HealthCheck& value) { m_healthCheck = value; }
/**
* <p>A complex type that contains the response to an
* <code>UpdateHealthCheck</code> request.</p>
*/
inline void SetHealthCheck(HealthCheck&& value) { m_healthCheck = std::move(value); }
/**
* <p>A complex type that contains the response to an
* <code>UpdateHealthCheck</code> request.</p>
*/
inline UpdateHealthCheckResult& WithHealthCheck(const HealthCheck& value) { SetHealthCheck(value); return *this;}
/**
* <p>A complex type that contains the response to an
* <code>UpdateHealthCheck</code> request.</p>
*/
inline UpdateHealthCheckResult& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;}
private:
HealthCheck m_healthCheck;
};
} // namespace Model
} // namespace Route53
} // namespace Aws