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,74 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/fsx/FSx_EXPORTS.h>
#include <aws/fsx/model/FileSystem.h>
#include <aws/fsx/model/AdministrativeAction.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace FSx
{
namespace Model
{
/**
* <p>The response object for the <code>UpdateFileSystem</code>
* operation.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystemResponse">AWS
* API Reference</a></p>
*/
class AWS_FSX_API UpdateFileSystemResult
{
public:
UpdateFileSystemResult();
UpdateFileSystemResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateFileSystemResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A description of the file system that was updated.</p>
*/
inline const FileSystem& GetFileSystem() const{ return m_fileSystem; }
/**
* <p>A description of the file system that was updated.</p>
*/
inline void SetFileSystem(const FileSystem& value) { m_fileSystem = value; }
/**
* <p>A description of the file system that was updated.</p>
*/
inline void SetFileSystem(FileSystem&& value) { m_fileSystem = std::move(value); }
/**
* <p>A description of the file system that was updated.</p>
*/
inline UpdateFileSystemResult& WithFileSystem(const FileSystem& value) { SetFileSystem(value); return *this;}
/**
* <p>A description of the file system that was updated.</p>
*/
inline UpdateFileSystemResult& WithFileSystem(FileSystem&& value) { SetFileSystem(std::move(value)); return *this;}
private:
FileSystem m_fileSystem;
};
} // namespace Model
} // namespace FSx
} // namespace Aws