/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { /** *

Provides the results of a query that retrieved the data for a standard metric * that applies to an application, campaign, or journey.

See Also:

* AWS * API Reference

*/ class AWS_PINPOINT_API BaseKpiResult { public: BaseKpiResult(); BaseKpiResult(Aws::Utils::Json::JsonView jsonValue); BaseKpiResult& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline const Aws::Vector& GetRows() const{ return m_rows; } /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline bool RowsHasBeenSet() const { return m_rowsHasBeenSet; } /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline void SetRows(const Aws::Vector& value) { m_rowsHasBeenSet = true; m_rows = value; } /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline void SetRows(Aws::Vector&& value) { m_rowsHasBeenSet = true; m_rows = std::move(value); } /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline BaseKpiResult& WithRows(const Aws::Vector& value) { SetRows(value); return *this;} /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline BaseKpiResult& WithRows(Aws::Vector&& value) { SetRows(std::move(value)); return *this;} /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline BaseKpiResult& AddRows(const ResultRow& value) { m_rowsHasBeenSet = true; m_rows.push_back(value); return *this; } /** *

An array of objects that provides the results of a query that retrieved the * data for a standard metric that applies to an application, campaign, or * journey.

*/ inline BaseKpiResult& AddRows(ResultRow&& value) { m_rowsHasBeenSet = true; m_rows.push_back(std::move(value)); return *this; } private: Aws::Vector m_rows; bool m_rowsHasBeenSet; }; } // namespace Model } // namespace Pinpoint } // namespace Aws