/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input does not satisfy the constraints specified by an Amazon Web
* Services service.See Also:
AWS
* API Reference
The input does not satisfy the constraints specified by an Amazon Web * Services service.
*/ inline const ValidationExceptionReason& GetReason() const{ return m_reason; } /** *The input does not satisfy the constraints specified by an Amazon Web * Services service.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The input does not satisfy the constraints specified by an Amazon Web * Services service.
*/ inline void SetReason(const ValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The input does not satisfy the constraints specified by an Amazon Web * Services service.
*/ inline void SetReason(ValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The input does not satisfy the constraints specified by an Amazon Web * Services service.
*/ inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} /** *The input does not satisfy the constraints specified by an Amazon Web * Services service.
*/ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; ValidationExceptionReason m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws