/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The resource passed is invalid.See Also:
AWS
* API Reference
The container for the exception message.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The container for the exception message.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The container for the exception message.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The container for the exception message.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The container for the exception message.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The container for the exception message.
*/ inline ValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The container for the exception message.
*/ inline ValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The container for the exception message.
*/ inline ValidationException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The container for the reason for the exception
*/ inline const ValidationExceptionReason& GetReason() const{ return m_reason; } /** *The container for the reason for the exception
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The container for the reason for the exception
*/ inline void SetReason(const ValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The container for the reason for the exception
*/ inline void SetReason(ValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The container for the reason for the exception
*/ inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} /** *The container for the reason for the exception
*/ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} /** *The container for the fieldList
of the exception.
The container for the fieldList
of the exception.
The container for the fieldList
of the exception.
The container for the fieldList
of the exception.
The container for the fieldList
of the exception.
The container for the fieldList
of the exception.
The container for the fieldList
of the exception.
The container for the fieldList
of the exception.