/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The value of a parameter in the request caused an error.See
* Also:
AWS
* API Reference
A list of fields that might be associated with the error.
*/ inline const Aws::VectorA list of fields that might be associated with the error.
*/ inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } /** *A list of fields that might be associated with the error.
*/ inline void SetFieldList(const Aws::VectorA list of fields that might be associated with the error.
*/ inline void SetFieldList(Aws::VectorA list of fields that might be associated with the error.
*/ inline ValidationException& WithFieldList(const Aws::VectorA list of fields that might be associated with the error.
*/ inline ValidationException& WithFieldList(Aws::VectorA list of fields that might be associated with the error.
*/ inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } /** *A list of fields that might be associated with the error.
*/ inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } /** *A description of the error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A description of the error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A description of the error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A description of the error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A description of the error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A description of the error.
*/ inline ValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A description of the error.
*/ inline ValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A description of the error.
*/ inline ValidationException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The reason that the operation failed.
*/ inline const ValidationExceptionReason& GetReason() const{ return m_reason; } /** *The reason that the operation failed.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason that the operation failed.
*/ inline void SetReason(const ValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason that the operation failed.
*/ inline void SetReason(ValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason that the operation failed.
*/ inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} /** *The reason that the operation failed.
*/ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::Vector