/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about data passed in to a field during a request that
* is not valid. See Also:
AWS
* API Reference
A message that describes the validation exception.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message that describes the validation exception.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message that describes the validation exception.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message that describes the validation exception.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message that describes the validation exception.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message that describes the validation exception.
*/ inline ValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message that describes the validation exception.
*/ inline ValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message that describes the validation exception.
*/ inline ValidationException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The reason the validation exception was thrown.
*/ inline const ValidationExceptionReason& GetReason() const{ return m_reason; } /** *The reason the validation exception was thrown.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason the validation exception was thrown.
*/ inline void SetReason(const ValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason the validation exception was thrown.
*/ inline void SetReason(ValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason the validation exception was thrown.
*/ inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} /** *The reason the validation exception was thrown.
*/ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} inline const Aws::Vector