/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that describes a request field with a validation
* error.See Also:
AWS
* API Reference
The name of the request field that had a validation error.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the request field that had a validation error.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the request field that had a validation error.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the request field that had a validation error.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the request field that had a validation error.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the request field that had a validation error.
*/ inline ValidationExceptionField& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the request field that had a validation error.
*/ inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the request field that had a validation error.
*/ inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} /** *The validation error caused by the request field.
*/ inline const Aws::String& GetValidationIssue() const{ return m_validationIssue; } /** *The validation error caused by the request field.
*/ inline bool ValidationIssueHasBeenSet() const { return m_validationIssueHasBeenSet; } /** *The validation error caused by the request field.
*/ inline void SetValidationIssue(const Aws::String& value) { m_validationIssueHasBeenSet = true; m_validationIssue = value; } /** *The validation error caused by the request field.
*/ inline void SetValidationIssue(Aws::String&& value) { m_validationIssueHasBeenSet = true; m_validationIssue = std::move(value); } /** *The validation error caused by the request field.
*/ inline void SetValidationIssue(const char* value) { m_validationIssueHasBeenSet = true; m_validationIssue.assign(value); } /** *The validation error caused by the request field.
*/ inline ValidationExceptionField& WithValidationIssue(const Aws::String& value) { SetValidationIssue(value); return *this;} /** *The validation error caused by the request field.
*/ inline ValidationExceptionField& WithValidationIssue(Aws::String&& value) { SetValidationIssue(std::move(value)); return *this;} /** *The validation error caused by the request field.
*/ inline ValidationExceptionField& WithValidationIssue(const char* value) { SetValidationIssue(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_validationIssue; bool m_validationIssueHasBeenSet = false; }; } // namespace Model } // namespace ResourceExplorer2 } // namespace Aws