/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A resource that is required for the action wasn't found.See
* Also:
AWS
* API Reference
A description of which resource wasn't found.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *A description of which resource wasn't found.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *A description of which resource wasn't found.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *A description of which resource wasn't found.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *A description of which resource wasn't found.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *A description of which resource wasn't found.
*/ inline ResourceNotFoundException& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *A description of which resource wasn't found.
*/ inline ResourceNotFoundException& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *A description of which resource wasn't found.
*/ inline ResourceNotFoundException& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace BackupGateway } // namespace Aws