/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a group of results for a query that retrieved aggregated statistical
* data about findings.See Also:
AWS
* API Reference
The total number of findings in the group of query results.
*/ inline long long GetCount() const{ return m_count; } /** *The total number of findings in the group of query results.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The total number of findings in the group of query results.
*/ inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; } /** *The total number of findings in the group of query results.
*/ inline GroupCount& WithCount(long long value) { SetCount(value); return *this;} /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline const Aws::String& GetGroupKey() const{ return m_groupKey; } /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline bool GroupKeyHasBeenSet() const { return m_groupKeyHasBeenSet; } /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline void SetGroupKey(const Aws::String& value) { m_groupKeyHasBeenSet = true; m_groupKey = value; } /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline void SetGroupKey(Aws::String&& value) { m_groupKeyHasBeenSet = true; m_groupKey = std::move(value); } /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline void SetGroupKey(const char* value) { m_groupKeyHasBeenSet = true; m_groupKey.assign(value); } /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline GroupCount& WithGroupKey(const Aws::String& value) { SetGroupKey(value); return *this;} /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline GroupCount& WithGroupKey(Aws::String&& value) { SetGroupKey(std::move(value)); return *this;} /** *The name of the property that defines the group in the query results, as * specified by the groupBy property in the query request.
*/ inline GroupCount& WithGroupKey(const char* value) { SetGroupKey(value); return *this;} private: long long m_count; bool m_countHasBeenSet = false; Aws::String m_groupKey; bool m_groupKeyHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws