/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detailed information about the bad request exception error when creating a
* hosted configuration version.See Also:
AWS
* API Reference
The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline const Aws::String& GetConstraint() const{ return m_constraint; } /** *The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline bool ConstraintHasBeenSet() const { return m_constraintHasBeenSet; } /** *The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline void SetConstraint(const Aws::String& value) { m_constraintHasBeenSet = true; m_constraint = value; } /** *The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline void SetConstraint(Aws::String&& value) { m_constraintHasBeenSet = true; m_constraint = std::move(value); } /** *The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline void SetConstraint(const char* value) { m_constraintHasBeenSet = true; m_constraint.assign(value); } /** *The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline InvalidConfigurationDetail& WithConstraint(const Aws::String& value) { SetConstraint(value); return *this;} /** *The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline InvalidConfigurationDetail& WithConstraint(Aws::String&& value) { SetConstraint(std::move(value)); return *this;} /** *The invalid or out-of-range validation constraint in your JSON schema that * failed validation.
*/ inline InvalidConfigurationDetail& WithConstraint(const char* value) { SetConstraint(value); return *this;} /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline InvalidConfigurationDetail& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline InvalidConfigurationDetail& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *Location of the validation constraint in the configuration JSON schema that * failed validation.
*/ inline InvalidConfigurationDetail& WithLocation(const char* value) { SetLocation(value); return *this;} /** *The reason for an invalid configuration error.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *The reason for an invalid configuration error.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for an invalid configuration error.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for an invalid configuration error.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for an invalid configuration error.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason for an invalid configuration error.
*/ inline InvalidConfigurationDetail& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason for an invalid configuration error.
*/ inline InvalidConfigurationDetail& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason for an invalid configuration error.
*/ inline InvalidConfigurationDetail& WithReason(const char* value) { SetReason(value); return *this;} /** *The type of error for an invalid configuration.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of error for an invalid configuration.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of error for an invalid configuration.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of error for an invalid configuration.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of error for an invalid configuration.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of error for an invalid configuration.
*/ inline InvalidConfigurationDetail& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of error for an invalid configuration.
*/ inline InvalidConfigurationDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of error for an invalid configuration.
*/ inline InvalidConfigurationDetail& WithType(const char* value) { SetType(value); return *this;} /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline InvalidConfigurationDetail& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline InvalidConfigurationDetail& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *Details about an error with Lambda when a synchronous extension experiences * an error during an invocation.
*/ inline InvalidConfigurationDetail& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_constraint; bool m_constraintHasBeenSet = false; Aws::String m_location; bool m_locationHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws