/** * 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 information for an entry that has been processed by the previous BatchGetAssetPropertyValueHistory * request.

See Also:

AWS * API Reference

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

The ID of the entry.

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

The ID of the entry.

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

The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory * API.

*/ inline const BatchEntryCompletionStatus& GetCompletionStatus() const{ return m_completionStatus; } /** *

The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory * API.

*/ inline bool CompletionStatusHasBeenSet() const { return m_completionStatusHasBeenSet; } /** *

The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory * API.

*/ inline void SetCompletionStatus(const BatchEntryCompletionStatus& value) { m_completionStatusHasBeenSet = true; m_completionStatus = value; } /** *

The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory * API.

*/ inline void SetCompletionStatus(BatchEntryCompletionStatus&& value) { m_completionStatusHasBeenSet = true; m_completionStatus = std::move(value); } /** *

The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory * API.

*/ inline BatchGetAssetPropertyValueHistorySkippedEntry& WithCompletionStatus(const BatchEntryCompletionStatus& value) { SetCompletionStatus(value); return *this;} /** *

The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory * API.

*/ inline BatchGetAssetPropertyValueHistorySkippedEntry& WithCompletionStatus(BatchEntryCompletionStatus&& value) { SetCompletionStatus(std::move(value)); return *this;} /** *

The error information, such as the error code and the timestamp.

*/ inline const BatchGetAssetPropertyValueHistoryErrorInfo& GetErrorInfo() const{ return m_errorInfo; } /** *

The error information, such as the error code and the timestamp.

*/ inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; } /** *

The error information, such as the error code and the timestamp.

*/ inline void SetErrorInfo(const BatchGetAssetPropertyValueHistoryErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; } /** *

The error information, such as the error code and the timestamp.

*/ inline void SetErrorInfo(BatchGetAssetPropertyValueHistoryErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); } /** *

The error information, such as the error code and the timestamp.

*/ inline BatchGetAssetPropertyValueHistorySkippedEntry& WithErrorInfo(const BatchGetAssetPropertyValueHistoryErrorInfo& value) { SetErrorInfo(value); return *this;} /** *

The error information, such as the error code and the timestamp.

*/ inline BatchGetAssetPropertyValueHistorySkippedEntry& WithErrorInfo(BatchGetAssetPropertyValueHistoryErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;} private: Aws::String m_entryId; bool m_entryIdHasBeenSet = false; BatchEntryCompletionStatus m_completionStatus; bool m_completionStatusHasBeenSet = false; BatchGetAssetPropertyValueHistoryErrorInfo m_errorInfo; bool m_errorInfoHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws