/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request contains an invalid parameter value.See Also:
* AWS
* API Reference
A list of attributes that led to the exception and their values.
*/ inline const Aws::VectorA list of attributes that led to the exception and their values.
*/ inline bool ErrorArgumentsHasBeenSet() const { return m_errorArgumentsHasBeenSet; } /** *A list of attributes that led to the exception and their values.
*/ inline void SetErrorArguments(const Aws::VectorA list of attributes that led to the exception and their values.
*/ inline void SetErrorArguments(Aws::VectorA list of attributes that led to the exception and their values.
*/ inline ValidationException& WithErrorArguments(const Aws::VectorA list of attributes that led to the exception and their values.
*/ inline ValidationException& WithErrorArguments(Aws::VectorA list of attributes that led to the exception and their values.
*/ inline ValidationException& AddErrorArguments(const ValidationExceptionErrorArgument& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments.push_back(value); return *this; } /** *A list of attributes that led to the exception and their values.
*/ inline ValidationException& AddErrorArguments(ValidationExceptionErrorArgument&& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments.push_back(std::move(value)); return *this; } /** *A unique ID for the error.
*/ inline const Aws::String& GetErrorId() const{ return m_errorId; } /** *A unique ID for the error.
*/ inline bool ErrorIdHasBeenSet() const { return m_errorIdHasBeenSet; } /** *A unique ID for the error.
*/ inline void SetErrorId(const Aws::String& value) { m_errorIdHasBeenSet = true; m_errorId = value; } /** *A unique ID for the error.
*/ inline void SetErrorId(Aws::String&& value) { m_errorIdHasBeenSet = true; m_errorId = std::move(value); } /** *A unique ID for the error.
*/ inline void SetErrorId(const char* value) { m_errorIdHasBeenSet = true; m_errorId.assign(value); } /** *A unique ID for the error.
*/ inline ValidationException& WithErrorId(const Aws::String& value) { SetErrorId(value); return *this;} /** *A unique ID for the error.
*/ inline ValidationException& WithErrorId(Aws::String&& value) { SetErrorId(std::move(value)); return *this;} /** *A unique ID for the error.
*/ inline ValidationException& WithErrorId(const char* value) { SetErrorId(value); return *this;} /** *A list of request parameters that failed validation.
*/ inline const Aws::VectorA list of request parameters that failed validation.
*/ inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; } /** *A list of request parameters that failed validation.
*/ inline void SetFields(const Aws::VectorA list of request parameters that failed validation.
*/ inline void SetFields(Aws::VectorA list of request parameters that failed validation.
*/ inline ValidationException& WithFields(const Aws::VectorA list of request parameters that failed validation.
*/ inline ValidationException& WithFields(Aws::VectorA list of request parameters that failed validation.
*/ inline ValidationException& AddFields(const ValidationExceptionField& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; } /** *A list of request parameters that failed validation.
*/ inline ValidationException& AddFields(ValidationExceptionField&& value) { m_fieldsHasBeenSet = true; m_fields.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 that validation failed.
*/ inline const ValidationExceptionReason& GetReason() const{ return m_reason; } /** *The reason that validation failed.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason that validation failed.
*/ inline void SetReason(const ValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason that validation failed.
*/ inline void SetReason(ValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason that validation failed.
*/ inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} /** *The reason that validation failed.
*/ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::Vector