/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains error information from updating a batch of asset property
* values.See Also:
AWS
* API Reference
The error code.
*/ inline const BatchPutAssetPropertyValueErrorCode& GetErrorCode() const{ return m_errorCode; } /** *The error code.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code.
*/ inline void SetErrorCode(const BatchPutAssetPropertyValueErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code.
*/ inline void SetErrorCode(BatchPutAssetPropertyValueErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code.
*/ inline BatchPutAssetPropertyError& WithErrorCode(const BatchPutAssetPropertyValueErrorCode& value) { SetErrorCode(value); return *this;} /** *The error code.
*/ inline BatchPutAssetPropertyError& WithErrorCode(BatchPutAssetPropertyValueErrorCode&& value) { SetErrorCode(std::move(value)); return *this;} /** *The associated error message.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The associated error message.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The associated error message.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The associated error message.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The associated error message.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The associated error message.
*/ inline BatchPutAssetPropertyError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The associated error message.
*/ inline BatchPutAssetPropertyError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The associated error message.
*/ inline BatchPutAssetPropertyError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *A list of timestamps for each error, if any.
*/ inline const Aws::VectorA list of timestamps for each error, if any.
*/ inline bool TimestampsHasBeenSet() const { return m_timestampsHasBeenSet; } /** *A list of timestamps for each error, if any.
*/ inline void SetTimestamps(const Aws::VectorA list of timestamps for each error, if any.
*/ inline void SetTimestamps(Aws::VectorA list of timestamps for each error, if any.
*/ inline BatchPutAssetPropertyError& WithTimestamps(const Aws::VectorA list of timestamps for each error, if any.
*/ inline BatchPutAssetPropertyError& WithTimestamps(Aws::VectorA list of timestamps for each error, if any.
*/ inline BatchPutAssetPropertyError& AddTimestamps(const TimeInNanos& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(value); return *this; } /** *A list of timestamps for each error, if any.
*/ inline BatchPutAssetPropertyError& AddTimestamps(TimeInNanos&& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(std::move(value)); return *this; } private: BatchPutAssetPropertyValueErrorCode m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Aws::Vector