/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include One or more parameters provided in the request is not valid.See
* Also:
AWS
* API Reference
The list of fields that failed service validation.
*/ inline const Aws::VectorThe list of fields that failed service validation.
*/ inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } /** *The list of fields that failed service validation.
*/ inline void SetFieldList(const Aws::VectorThe list of fields that failed service validation.
*/ inline void SetFieldList(Aws::VectorThe list of fields that failed service validation.
*/ inline ValidationException& WithFieldList(const Aws::VectorThe list of fields that failed service validation.
*/ inline ValidationException& WithFieldList(Aws::VectorThe list of fields that failed service validation.
*/ inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } /** *The list of fields that failed service validation.
*/ inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(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 ValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline ValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline ValidationException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The reason why it failed service validation.
*/ inline const ValidationExceptionReason& GetReason() const{ return m_reason; } /** *The reason why it failed service validation.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason why it failed service validation.
*/ inline void SetReason(const ValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason why it failed service validation.
*/ inline void SetReason(ValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason why it failed service validation.
*/ inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} /** *The reason why it failed service validation.
*/ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::Vector