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,84 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dax/DAX_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace DAX
{
namespace Model
{
class AWS_DAX_API DeleteParameterGroupResult
{
public:
DeleteParameterGroupResult();
DeleteParameterGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteParameterGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A user-specified message for this action (i.e., a reason for deleting the
* parameter group).</p>
*/
inline const Aws::String& GetDeletionMessage() const{ return m_deletionMessage; }
/**
* <p>A user-specified message for this action (i.e., a reason for deleting the
* parameter group).</p>
*/
inline void SetDeletionMessage(const Aws::String& value) { m_deletionMessage = value; }
/**
* <p>A user-specified message for this action (i.e., a reason for deleting the
* parameter group).</p>
*/
inline void SetDeletionMessage(Aws::String&& value) { m_deletionMessage = std::move(value); }
/**
* <p>A user-specified message for this action (i.e., a reason for deleting the
* parameter group).</p>
*/
inline void SetDeletionMessage(const char* value) { m_deletionMessage.assign(value); }
/**
* <p>A user-specified message for this action (i.e., a reason for deleting the
* parameter group).</p>
*/
inline DeleteParameterGroupResult& WithDeletionMessage(const Aws::String& value) { SetDeletionMessage(value); return *this;}
/**
* <p>A user-specified message for this action (i.e., a reason for deleting the
* parameter group).</p>
*/
inline DeleteParameterGroupResult& WithDeletionMessage(Aws::String&& value) { SetDeletionMessage(std::move(value)); return *this;}
/**
* <p>A user-specified message for this action (i.e., a reason for deleting the
* parameter group).</p>
*/
inline DeleteParameterGroupResult& WithDeletionMessage(const char* value) { SetDeletionMessage(value); return *this;}
private:
Aws::String m_deletionMessage;
};
} // namespace Model
} // namespace DAX
} // namespace Aws