/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { class BatchGetAssetPropertyValueHistoryResult { public: AWS_IOTSITEWISE_API BatchGetAssetPropertyValueHistoryResult(); AWS_IOTSITEWISE_API BatchGetAssetPropertyValueHistoryResult(const Aws::AmazonWebServiceResult& result); AWS_IOTSITEWISE_API BatchGetAssetPropertyValueHistoryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of the errors (if any) associated with the batch request. Each error * entry contains the entryId of the entry that failed.

*/ inline const Aws::Vector& GetErrorEntries() const{ return m_errorEntries; } /** *

A list of the errors (if any) associated with the batch request. Each error * entry contains the entryId of the entry that failed.

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

A list of the errors (if any) associated with the batch request. Each error * entry contains the entryId of the entry that failed.

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

A list of the errors (if any) associated with the batch request. Each error * entry contains the entryId of the entry that failed.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithErrorEntries(const Aws::Vector& value) { SetErrorEntries(value); return *this;} /** *

A list of the errors (if any) associated with the batch request. Each error * entry contains the entryId of the entry that failed.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithErrorEntries(Aws::Vector&& value) { SetErrorEntries(std::move(value)); return *this;} /** *

A list of the errors (if any) associated with the batch request. Each error * entry contains the entryId of the entry that failed.

*/ inline BatchGetAssetPropertyValueHistoryResult& AddErrorEntries(const BatchGetAssetPropertyValueHistoryErrorEntry& value) { m_errorEntries.push_back(value); return *this; } /** *

A list of the errors (if any) associated with the batch request. Each error * entry contains the entryId of the entry that failed.

*/ inline BatchGetAssetPropertyValueHistoryResult& AddErrorEntries(BatchGetAssetPropertyValueHistoryErrorEntry&& value) { m_errorEntries.push_back(std::move(value)); return *this; } /** *

A list of entries that were processed successfully by this batch request. * Each success entry contains the entryId of the entry that succeeded * and the latest query result.

*/ inline const Aws::Vector& GetSuccessEntries() const{ return m_successEntries; } /** *

A list of entries that were processed successfully by this batch request. * Each success entry contains the entryId of the entry that succeeded * and the latest query result.

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

A list of entries that were processed successfully by this batch request. * Each success entry contains the entryId of the entry that succeeded * and the latest query result.

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

A list of entries that were processed successfully by this batch request. * Each success entry contains the entryId of the entry that succeeded * and the latest query result.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithSuccessEntries(const Aws::Vector& value) { SetSuccessEntries(value); return *this;} /** *

A list of entries that were processed successfully by this batch request. * Each success entry contains the entryId of the entry that succeeded * and the latest query result.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithSuccessEntries(Aws::Vector&& value) { SetSuccessEntries(std::move(value)); return *this;} /** *

A list of entries that were processed successfully by this batch request. * Each success entry contains the entryId of the entry that succeeded * and the latest query result.

*/ inline BatchGetAssetPropertyValueHistoryResult& AddSuccessEntries(const BatchGetAssetPropertyValueHistorySuccessEntry& value) { m_successEntries.push_back(value); return *this; } /** *

A list of entries that were processed successfully by this batch request. * Each success entry contains the entryId of the entry that succeeded * and the latest query result.

*/ inline BatchGetAssetPropertyValueHistoryResult& AddSuccessEntries(BatchGetAssetPropertyValueHistorySuccessEntry&& value) { m_successEntries.push_back(std::move(value)); return *this; } /** *

A list of entries that were not processed by this batch request. because * these entries had been completely processed by previous paginated requests. Each * skipped entry contains the entryId of the entry that skipped.

*/ inline const Aws::Vector& GetSkippedEntries() const{ return m_skippedEntries; } /** *

A list of entries that were not processed by this batch request. because * these entries had been completely processed by previous paginated requests. Each * skipped entry contains the entryId of the entry that skipped.

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

A list of entries that were not processed by this batch request. because * these entries had been completely processed by previous paginated requests. Each * skipped entry contains the entryId of the entry that skipped.

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

A list of entries that were not processed by this batch request. because * these entries had been completely processed by previous paginated requests. Each * skipped entry contains the entryId of the entry that skipped.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithSkippedEntries(const Aws::Vector& value) { SetSkippedEntries(value); return *this;} /** *

A list of entries that were not processed by this batch request. because * these entries had been completely processed by previous paginated requests. Each * skipped entry contains the entryId of the entry that skipped.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithSkippedEntries(Aws::Vector&& value) { SetSkippedEntries(std::move(value)); return *this;} /** *

A list of entries that were not processed by this batch request. because * these entries had been completely processed by previous paginated requests. Each * skipped entry contains the entryId of the entry that skipped.

*/ inline BatchGetAssetPropertyValueHistoryResult& AddSkippedEntries(const BatchGetAssetPropertyValueHistorySkippedEntry& value) { m_skippedEntries.push_back(value); return *this; } /** *

A list of entries that were not processed by this batch request. because * these entries had been completely processed by previous paginated requests. Each * skipped entry contains the entryId of the entry that skipped.

*/ inline BatchGetAssetPropertyValueHistoryResult& AddSkippedEntries(BatchGetAssetPropertyValueHistorySkippedEntry&& value) { m_skippedEntries.push_back(std::move(value)); return *this; } /** *

The token for the next set of results, or null if there are no additional * results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token for the next set of results, or null if there are no additional * results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The token for the next set of results, or null if there are no additional * results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The token for the next set of results, or null if there are no additional * results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token for the next set of results, or null if there are no additional * results.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token for the next set of results, or null if there are no additional * results.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token for the next set of results, or null if there are no additional * results.

*/ inline BatchGetAssetPropertyValueHistoryResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchGetAssetPropertyValueHistoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetAssetPropertyValueHistoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetAssetPropertyValueHistoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_errorEntries; Aws::Vector m_successEntries; Aws::Vector m_skippedEntries; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws