/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request was invalid.See Also:
AWS
* API Reference
The message that informs you about what was invalid about the request.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The message that informs you about what was invalid about the request.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The message that informs you about what was invalid about the request.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The message that informs you about what was invalid about the request.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The message that informs you about what was invalid about the request.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The message that informs you about what was invalid about the request.
*/ inline ValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The message that informs you about what was invalid about the request.
*/ inline ValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The message that informs you about what was invalid about the request.
*/ inline ValidationException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The unique identifier for the resource that couldn't be found.
*/ inline const ExceptionCause& GetExceptionCause() const{ return m_exceptionCause; } /** *The unique identifier for the resource that couldn't be found.
*/ inline bool ExceptionCauseHasBeenSet() const { return m_exceptionCauseHasBeenSet; } /** *The unique identifier for the resource that couldn't be found.
*/ inline void SetExceptionCause(const ExceptionCause& value) { m_exceptionCauseHasBeenSet = true; m_exceptionCause = value; } /** *The unique identifier for the resource that couldn't be found.
*/ inline void SetExceptionCause(ExceptionCause&& value) { m_exceptionCauseHasBeenSet = true; m_exceptionCause = std::move(value); } /** *The unique identifier for the resource that couldn't be found.
*/ inline ValidationException& WithExceptionCause(const ExceptionCause& value) { SetExceptionCause(value); return *this;} /** *The unique identifier for the resource that couldn't be found.
*/ inline ValidationException& WithExceptionCause(ExceptionCause&& value) { SetExceptionCause(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; ExceptionCause m_exceptionCause; bool m_exceptionCauseHasBeenSet = false; }; } // namespace Model } // namespace DataExchange } // namespace Aws