/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a field that failed policy validation.See Also:
* AWS
* API Reference
The path to the specific element that Verified Permissions found to be not * valid.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The path to the specific element that Verified Permissions found to be not * valid.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path to the specific element that Verified Permissions found to be not * valid.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path to the specific element that Verified Permissions found to be not * valid.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path to the specific element that Verified Permissions found to be not * valid.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The path to the specific element that Verified Permissions found to be not * valid.
*/ inline ValidationExceptionField& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The path to the specific element that Verified Permissions found to be not * valid.
*/ inline ValidationExceptionField& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The path to the specific element that Verified Permissions found to be not * valid.
*/ inline ValidationExceptionField& WithPath(const char* value) { SetPath(value); return *this;} /** *Describes the policy validation error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Describes the policy validation error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Describes the policy validation error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Describes the policy validation error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Describes the policy validation error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Describes the policy validation error.
*/ inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Describes the policy validation error.
*/ inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Describes the policy validation error.
*/ inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_path; bool m_pathHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace VerifiedPermissions } // namespace Aws