/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about why a property is not valid.See
* Also:
AWS
* API Reference
The full property path.
*/ inline const Aws::String& GetPropertyPath() const{ return m_propertyPath; } /** *The full property path.
*/ inline bool PropertyPathHasBeenSet() const { return m_propertyPathHasBeenSet; } /** *The full property path.
*/ inline void SetPropertyPath(const Aws::String& value) { m_propertyPathHasBeenSet = true; m_propertyPath = value; } /** *The full property path.
*/ inline void SetPropertyPath(Aws::String&& value) { m_propertyPathHasBeenSet = true; m_propertyPath = std::move(value); } /** *The full property path.
*/ inline void SetPropertyPath(const char* value) { m_propertyPathHasBeenSet = true; m_propertyPath.assign(value); } /** *The full property path.
*/ inline PropertyValidationExceptionProperty& WithPropertyPath(const Aws::String& value) { SetPropertyPath(value); return *this;} /** *The full property path.
*/ inline PropertyValidationExceptionProperty& WithPropertyPath(Aws::String&& value) { SetPropertyPath(std::move(value)); return *this;} /** *The full property path.
*/ inline PropertyValidationExceptionProperty& WithPropertyPath(const char* value) { SetPropertyPath(value); return *this;} /** *Why the property is not valid.
*/ inline const PropertyValidationExceptionReason& GetReason() const{ return m_reason; } /** *Why the property is not valid.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *Why the property is not valid.
*/ inline void SetReason(const PropertyValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *Why the property is not valid.
*/ inline void SetReason(PropertyValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *Why the property is not valid.
*/ inline PropertyValidationExceptionProperty& WithReason(const PropertyValidationExceptionReason& value) { SetReason(value); return *this;} /** *Why the property is not valid.
*/ inline PropertyValidationExceptionProperty& WithReason(PropertyValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} /** *A message describing why the property is not valid.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message describing why the property is not valid.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message describing why the property is not valid.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message describing why the property is not valid.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message describing why the property is not valid.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message describing why the property is not valid.
*/ inline PropertyValidationExceptionProperty& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message describing why the property is not valid.
*/ inline PropertyValidationExceptionProperty& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message describing why the property is not valid.
*/ inline PropertyValidationExceptionProperty& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_propertyPath; bool m_propertyPathHasBeenSet = false; PropertyValidationExceptionReason m_reason; bool m_reasonHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws