// This file was generated by generate-classes.
// DO NOT EDIT THIS FILE!
#pragma once

#include <CesiumGltf/ExtensionNodeMaxarMeshVariantsMappingsValue.h>
#include <CesiumJsonReader/ArrayJsonHandler.h>
#include <CesiumJsonReader/ExtensibleObjectJsonHandler.h>
#include <CesiumJsonReader/IntegerJsonHandler.h>
#include <CesiumJsonReader/StringJsonHandler.h>

namespace CesiumJsonReader {
class ExtensionReaderContext;
}

namespace CesiumGltfReader {
class ExtensionNodeMaxarMeshVariantsMappingsValueJsonHandler
    : public CesiumJsonReader::ExtensibleObjectJsonHandler {
public:
  using ValueType = CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue;

  ExtensionNodeMaxarMeshVariantsMappingsValueJsonHandler(
      const CesiumJsonReader::ExtensionReaderContext& context) noexcept;
  void reset(
      IJsonHandler* pParentHandler,
      CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue* pObject);

  virtual IJsonHandler* readObjectKey(const std::string_view& str) override;

protected:
  IJsonHandler* readObjectKeyExtensionNodeMaxarMeshVariantsMappingsValue(
      const std::string& objectType,
      const std::string_view& str,
      CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue& o);

private:
  CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue* _pObject = nullptr;
  CesiumJsonReader::
      ArrayJsonHandler<int32_t, CesiumJsonReader::IntegerJsonHandler<int32_t>>
          _variants;
  CesiumJsonReader::IntegerJsonHandler<int32_t> _mesh;
  CesiumJsonReader::StringJsonHandler _name;
};
} // namespace CesiumGltfReader
