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,114 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/glue/Glue_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Glue
{
namespace Model
{
/**
* <p>Defines a boolean column statistics.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BooleanColumnStatisticsData">AWS
* API Reference</a></p>
*/
class AWS_GLUE_API BooleanColumnStatisticsData
{
public:
BooleanColumnStatisticsData();
BooleanColumnStatisticsData(Aws::Utils::Json::JsonView jsonValue);
BooleanColumnStatisticsData& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Number of true value.</p>
*/
inline long long GetNumberOfTrues() const{ return m_numberOfTrues; }
/**
* <p>Number of true value.</p>
*/
inline bool NumberOfTruesHasBeenSet() const { return m_numberOfTruesHasBeenSet; }
/**
* <p>Number of true value.</p>
*/
inline void SetNumberOfTrues(long long value) { m_numberOfTruesHasBeenSet = true; m_numberOfTrues = value; }
/**
* <p>Number of true value.</p>
*/
inline BooleanColumnStatisticsData& WithNumberOfTrues(long long value) { SetNumberOfTrues(value); return *this;}
/**
* <p>Number of false value.</p>
*/
inline long long GetNumberOfFalses() const{ return m_numberOfFalses; }
/**
* <p>Number of false value.</p>
*/
inline bool NumberOfFalsesHasBeenSet() const { return m_numberOfFalsesHasBeenSet; }
/**
* <p>Number of false value.</p>
*/
inline void SetNumberOfFalses(long long value) { m_numberOfFalsesHasBeenSet = true; m_numberOfFalses = value; }
/**
* <p>Number of false value.</p>
*/
inline BooleanColumnStatisticsData& WithNumberOfFalses(long long value) { SetNumberOfFalses(value); return *this;}
/**
* <p>Number of nulls.</p>
*/
inline long long GetNumberOfNulls() const{ return m_numberOfNulls; }
/**
* <p>Number of nulls.</p>
*/
inline bool NumberOfNullsHasBeenSet() const { return m_numberOfNullsHasBeenSet; }
/**
* <p>Number of nulls.</p>
*/
inline void SetNumberOfNulls(long long value) { m_numberOfNullsHasBeenSet = true; m_numberOfNulls = value; }
/**
* <p>Number of nulls.</p>
*/
inline BooleanColumnStatisticsData& WithNumberOfNulls(long long value) { SetNumberOfNulls(value); return *this;}
private:
long long m_numberOfTrues;
bool m_numberOfTruesHasBeenSet;
long long m_numberOfFalses;
bool m_numberOfFalsesHasBeenSet;
long long m_numberOfNulls;
bool m_numberOfNullsHasBeenSet;
};
} // namespace Model
} // namespace Glue
} // namespace Aws