/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An error from a batch read set operation.See Also:
AWS
* API Reference
The error's ID.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The error's ID.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The error's ID.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The error's ID.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The error's ID.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The error's ID.
*/ inline ReadSetBatchError& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The error's ID.
*/ inline ReadSetBatchError& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The error's ID.
*/ inline ReadSetBatchError& WithId(const char* value) { SetId(value); return *this;} /** *The error's code.
*/ inline const Aws::String& GetCode() const{ return m_code; } /** *The error's code.
*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** *The error's code.
*/ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } /** *The error's code.
*/ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** *The error's code.
*/ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } /** *The error's code.
*/ inline ReadSetBatchError& WithCode(const Aws::String& value) { SetCode(value); return *this;} /** *The error's code.
*/ inline ReadSetBatchError& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} /** *The error's code.
*/ inline ReadSetBatchError& WithCode(const char* value) { SetCode(value); return *this;} /** *The error's message.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The error's message.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The error's message.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The error's message.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The error's message.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The error's message.
*/ inline ReadSetBatchError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The error's message.
*/ inline ReadSetBatchError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The error's message.
*/ inline ReadSetBatchError& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_code; bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws