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,60 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sdb/SimpleDB_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace SimpleDB
{
namespace Model
{
/**
* <p>Too many attributes in this item.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sdb-2009-04-15/NumberItemAttributesExceeded">AWS
* API Reference</a></p>
*/
class AWS_SIMPLEDB_API NumberItemAttributesExceeded
{
public:
NumberItemAttributesExceeded();
NumberItemAttributesExceeded(const Aws::Utils::Xml::XmlNode& xmlNode);
NumberItemAttributesExceeded& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
void OutputToStream(Aws::OStream& oStream, const char* location) const;
inline double GetBoxUsage() const{ return m_boxUsage; }
inline bool BoxUsageHasBeenSet() const { return m_boxUsageHasBeenSet; }
inline void SetBoxUsage(double value) { m_boxUsageHasBeenSet = true; m_boxUsage = value; }
inline NumberItemAttributesExceeded& WithBoxUsage(double value) { SetBoxUsage(value); return *this;}
private:
double m_boxUsage;
bool m_boxUsageHasBeenSet;
};
} // namespace Model
} // namespace SimpleDB
} // namespace Aws