/** * 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 Macie2 { namespace Model { class AWS_MACIE2_API GetUsageTotalsResult { public: GetUsageTotalsResult(); GetUsageTotalsResult(const Aws::AmazonWebServiceResult& result); GetUsageTotalsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of objects that contains the results of the query. Each object * contains the data for a specific usage metric.

*/ inline const Aws::Vector& GetUsageTotals() const{ return m_usageTotals; } /** *

An array of objects that contains the results of the query. Each object * contains the data for a specific usage metric.

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

An array of objects that contains the results of the query. Each object * contains the data for a specific usage metric.

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

An array of objects that contains the results of the query. Each object * contains the data for a specific usage metric.

*/ inline GetUsageTotalsResult& WithUsageTotals(const Aws::Vector& value) { SetUsageTotals(value); return *this;} /** *

An array of objects that contains the results of the query. Each object * contains the data for a specific usage metric.

*/ inline GetUsageTotalsResult& WithUsageTotals(Aws::Vector&& value) { SetUsageTotals(std::move(value)); return *this;} /** *

An array of objects that contains the results of the query. Each object * contains the data for a specific usage metric.

*/ inline GetUsageTotalsResult& AddUsageTotals(const UsageTotal& value) { m_usageTotals.push_back(value); return *this; } /** *

An array of objects that contains the results of the query. Each object * contains the data for a specific usage metric.

*/ inline GetUsageTotalsResult& AddUsageTotals(UsageTotal&& value) { m_usageTotals.push_back(std::move(value)); return *this; } private: Aws::Vector m_usageTotals; }; } // namespace Model } // namespace Macie2 } // namespace Aws