/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Health { namespace Model { class DescribeEntityAggregatesResult { public: AWS_HEALTH_API DescribeEntityAggregatesResult(); AWS_HEALTH_API DescribeEntityAggregatesResult(const Aws::AmazonWebServiceResult& result); AWS_HEALTH_API 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; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeEntityAggregatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEntityAggregatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEntityAggregatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_entityAggregates; Aws::String m_requestId; }; } // namespace Model } // namespace Health } // namespace Aws