/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An error returned by the BatchPutProperty
action.See
* Also:
AWS
* API Reference
The error code.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code.
*/ inline BatchPutPropertyError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code.
*/ inline BatchPutPropertyError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code.
*/ inline BatchPutPropertyError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *The error message.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The error message.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The error message.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The error message.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The error message.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The error message.
*/ inline BatchPutPropertyError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The error message.
*/ inline BatchPutPropertyError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The error message.
*/ inline BatchPutPropertyError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *An object that contains information about errors returned by the
* BatchPutProperty
action.
An object that contains information about errors returned by the
* BatchPutProperty
action.
An object that contains information about errors returned by the
* BatchPutProperty
action.
An object that contains information about errors returned by the
* BatchPutProperty
action.
An object that contains information about errors returned by the
* BatchPutProperty
action.
An object that contains information about errors returned by the
* BatchPutProperty
action.