/** * 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 BatchGetAssetPropertyValueHistory * API.

See Also:

AWS * API Reference

*/ class BatchGetAssetPropertyValueHistorySuccessEntry { public: AWS_IOTSITEWISE_API BatchGetAssetPropertyValueHistorySuccessEntry(); AWS_IOTSITEWISE_API BatchGetAssetPropertyValueHistorySuccessEntry(Aws::Utils::Json::JsonView jsonValue); AWS_IOTSITEWISE_API BatchGetAssetPropertyValueHistorySuccessEntry& 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 BatchGetAssetPropertyValueHistorySuccessEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;} /** *

The ID of the entry.

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

The ID of the entry.

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

The requested historical values for the specified asset property.

*/ inline const Aws::Vector& GetAssetPropertyValueHistory() const{ return m_assetPropertyValueHistory; } /** *

The requested historical values for the specified asset property.

*/ inline bool AssetPropertyValueHistoryHasBeenSet() const { return m_assetPropertyValueHistoryHasBeenSet; } /** *

The requested historical values for the specified asset property.

*/ inline void SetAssetPropertyValueHistory(const Aws::Vector& value) { m_assetPropertyValueHistoryHasBeenSet = true; m_assetPropertyValueHistory = value; } /** *

The requested historical values for the specified asset property.

*/ inline void SetAssetPropertyValueHistory(Aws::Vector&& value) { m_assetPropertyValueHistoryHasBeenSet = true; m_assetPropertyValueHistory = std::move(value); } /** *

The requested historical values for the specified asset property.

*/ inline BatchGetAssetPropertyValueHistorySuccessEntry& WithAssetPropertyValueHistory(const Aws::Vector& value) { SetAssetPropertyValueHistory(value); return *this;} /** *

The requested historical values for the specified asset property.

*/ inline BatchGetAssetPropertyValueHistorySuccessEntry& WithAssetPropertyValueHistory(Aws::Vector&& value) { SetAssetPropertyValueHistory(std::move(value)); return *this;} /** *

The requested historical values for the specified asset property.

*/ inline BatchGetAssetPropertyValueHistorySuccessEntry& AddAssetPropertyValueHistory(const AssetPropertyValue& value) { m_assetPropertyValueHistoryHasBeenSet = true; m_assetPropertyValueHistory.push_back(value); return *this; } /** *

The requested historical values for the specified asset property.

*/ inline BatchGetAssetPropertyValueHistorySuccessEntry& AddAssetPropertyValueHistory(AssetPropertyValue&& value) { m_assetPropertyValueHistoryHasBeenSet = true; m_assetPropertyValueHistory.push_back(std::move(value)); return *this; } private: Aws::String m_entryId; bool m_entryIdHasBeenSet = false; Aws::Vector m_assetPropertyValueHistory; bool m_assetPropertyValueHistoryHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws