7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/cloudextensions/model/FieldConstraint.h>
9#include <aws/cloudextensions/model/SemanticError.h>
20namespace CloudExtensions {
42 template <
typename FieldConstra
intT = FieldConstra
int>
44 m_fieldConstraintHasBeenSet =
true;
45 m_fieldConstraint = std::forward<FieldConstraintT>(value);
47 template <
typename FieldConstra
intT = FieldConstra
int>
61 template <
typename SemanticErrorT = SemanticError>
63 m_semanticErrorHasBeenSet =
true;
64 m_semanticError = std::forward<SemanticErrorT>(value);
66 template <
typename SemanticErrorT = SemanticError>
76 bool m_fieldConstraintHasBeenSet =
false;
77 bool m_semanticErrorHasBeenSet =
false;
void SetSemanticError(SemanticErrorT &&value)
ValidationError & WithFieldConstraint(FieldConstraintT &&value)
bool FieldConstraintHasBeenSet() const
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDEXTENSIONS_API ValidationError()=default
ValidationError & WithSemanticError(SemanticErrorT &&value)
AWS_CLOUDEXTENSIONS_API ValidationError(Aws::Utils::Json::JsonView jsonValue)
const SemanticError & GetSemanticError() const
const FieldConstraint & GetFieldConstraint() const
void SetFieldConstraint(FieldConstraintT &&value)
AWS_CLOUDEXTENSIONS_API ValidationError & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SemanticErrorHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue