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

The number of entities that are affected by each of the specified events.

*/ inline const Aws::Vector& GetEntityAggregates() const{ return m_entityAggregates; } /** *

The number of entities that are affected by each of the specified events.

*/ inline void SetEntityAggregates(const Aws::Vector& value) { m_entityAggregates = value; } /** *

The number of entities that are affected by each of the specified events.

*/ inline void SetEntityAggregates(Aws::Vector&& value) { m_entityAggregates = std::move(value); } /** *

The number of entities that are affected by each of the specified events.

*/ inline DescribeEntityAggregatesResult& WithEntityAggregates(const Aws::Vector& value) { SetEntityAggregates(value); return *this;} /** *

The number of entities that are affected by each of the specified events.

*/ inline DescribeEntityAggregatesResult& WithEntityAggregates(Aws::Vector&& value) { SetEntityAggregates(std::move(value)); return *this;} /** *

The number of entities that are affected by each of the specified events.

*/ inline DescribeEntityAggregatesResult& AddEntityAggregates(const EntityAggregate& value) { m_entityAggregates.push_back(value); return *this; } /** *

The number of entities that are affected by each of the specified events.

*/ inline DescribeEntityAggregatesResult& AddEntityAggregates(EntityAggregate&& value) { m_entityAggregates.push_back(std::move(value)); return *this; } private: Aws::Vector m_entityAggregates; }; } // namespace Model } // namespace Health } // namespace Aws