/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { /** *

Contains success information for an entry that is associated with the BatchGetAssetPropertyAggregates * API.

See Also:

AWS * API Reference

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

The ID of the entry.

*/ inline const Aws::String& GetEntryId() const{ return m_entryId; } /** *

The ID of the entry.

*/ inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; } /** *

The ID of the entry.

*/ inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; } /** *

The ID of the entry.

*/ inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); } /** *

The ID of the entry.

*/ inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); } /** *

The ID of the entry.

*/ inline BatchGetAssetPropertyAggregatesSuccessEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;} /** *

The ID of the entry.

*/ inline BatchGetAssetPropertyAggregatesSuccessEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;} /** *

The ID of the entry.

*/ inline BatchGetAssetPropertyAggregatesSuccessEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;} /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline const Aws::Vector& GetAggregatedValues() const{ return m_aggregatedValues; } /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline bool AggregatedValuesHasBeenSet() const { return m_aggregatedValuesHasBeenSet; } /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline void SetAggregatedValues(const Aws::Vector& value) { m_aggregatedValuesHasBeenSet = true; m_aggregatedValues = value; } /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline void SetAggregatedValues(Aws::Vector&& value) { m_aggregatedValuesHasBeenSet = true; m_aggregatedValues = std::move(value); } /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline BatchGetAssetPropertyAggregatesSuccessEntry& WithAggregatedValues(const Aws::Vector& value) { SetAggregatedValues(value); return *this;} /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline BatchGetAssetPropertyAggregatesSuccessEntry& WithAggregatedValues(Aws::Vector&& value) { SetAggregatedValues(std::move(value)); return *this;} /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline BatchGetAssetPropertyAggregatesSuccessEntry& AddAggregatedValues(const AggregatedValue& value) { m_aggregatedValuesHasBeenSet = true; m_aggregatedValues.push_back(value); return *this; } /** *

The requested aggregated asset property values (for example, average, * minimum, and maximum).

*/ inline BatchGetAssetPropertyAggregatesSuccessEntry& AddAggregatedValues(AggregatedValue&& value) { m_aggregatedValuesHasBeenSet = true; m_aggregatedValues.push_back(std::move(value)); return *this; } private: Aws::String m_entryId; bool m_entryIdHasBeenSet = false; Aws::Vector m_aggregatedValues; bool m_aggregatedValuesHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws