/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class AWS_IOT_API GetCardinalityResult { public: GetCardinalityResult(); GetCardinalityResult(const Aws::AmazonWebServiceResult& result); GetCardinalityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The approximate count of unique values that match the query.

*/ inline int GetCardinality() const{ return m_cardinality; } /** *

The approximate count of unique values that match the query.

*/ inline void SetCardinality(int value) { m_cardinality = value; } /** *

The approximate count of unique values that match the query.

*/ inline GetCardinalityResult& WithCardinality(int value) { SetCardinality(value); return *this;} private: int m_cardinality; }; } // namespace Model } // namespace IoT } // namespace Aws