7#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
8#include <aws/appconfigcloudextension/model/FieldConstraint.h>
9#include <aws/appconfigcloudextension/model/SemanticError.h>
20namespace AppConfigCloudExtension {
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>
60 template <
typename SemanticErrorT = SemanticError>
62 m_semanticErrorHasBeenSet =
true;
63 m_semanticError = std::forward<SemanticErrorT>(value);
65 template <
typename SemanticErrorT = SemanticError>
75 bool m_fieldConstraintHasBeenSet =
false;
76 bool m_semanticErrorHasBeenSet =
false;
const SemanticError & GetSemanticError() const
const FieldConstraint & GetFieldConstraint() const
ValidationError & WithSemanticError(SemanticErrorT &&value)
bool FieldConstraintHasBeenSet() const
AWS_APPCONFIGCLOUDEXTENSION_API ValidationError()=default
bool SemanticErrorHasBeenSet() const
AWS_APPCONFIGCLOUDEXTENSION_API ValidationError(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIGCLOUDEXTENSION_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationError & WithFieldConstraint(FieldConstraintT &&value)
void SetSemanticError(SemanticErrorT &&value)
AWS_APPCONFIGCLOUDEXTENSION_API ValidationError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFieldConstraint(FieldConstraintT &&value)
Aws::Utils::Json::JsonValue JsonValue