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,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sms/SMS_EXPORTS.h>
#include <aws/sms/model/S3Location.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SMS
{
namespace Model
{
class AWS_SMS_API GenerateTemplateResult
{
public:
GenerateTemplateResult();
GenerateTemplateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GenerateTemplateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The location of the Amazon S3 object.</p>
*/
inline const S3Location& GetS3Location() const{ return m_s3Location; }
/**
* <p>The location of the Amazon S3 object.</p>
*/
inline void SetS3Location(const S3Location& value) { m_s3Location = value; }
/**
* <p>The location of the Amazon S3 object.</p>
*/
inline void SetS3Location(S3Location&& value) { m_s3Location = std::move(value); }
/**
* <p>The location of the Amazon S3 object.</p>
*/
inline GenerateTemplateResult& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;}
/**
* <p>The location of the Amazon S3 object.</p>
*/
inline GenerateTemplateResult& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;}
private:
S3Location m_s3Location;
};
} // namespace Model
} // namespace SMS
} // namespace Aws