// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from lane_parameter_msg:msg/LaneMarkingProjectedArrayBoth.idl
// generated code does not contain a copyright notice

#ifndef LANE_PARAMETER_MSG__MSG__DETAIL__LANE_MARKING_PROJECTED_ARRAY_BOTH__BUILDER_HPP_
#define LANE_PARAMETER_MSG__MSG__DETAIL__LANE_MARKING_PROJECTED_ARRAY_BOTH__BUILDER_HPP_

#include "lane_parameter_msg/msg/detail/lane_marking_projected_array_both__struct.hpp"
#include <rosidl_runtime_cpp/message_initialization.hpp>
#include <algorithm>
#include <utility>


namespace lane_parameter_msg
{

namespace msg
{

namespace builder
{

class Init_LaneMarkingProjectedArrayBoth_markings_right
{
public:
  explicit Init_LaneMarkingProjectedArrayBoth_markings_right(::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth & msg)
  : msg_(msg)
  {}
  ::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth markings_right(::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth::_markings_right_type arg)
  {
    msg_.markings_right = std::move(arg);
    return std::move(msg_);
  }

private:
  ::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth msg_;
};

class Init_LaneMarkingProjectedArrayBoth_markings_left
{
public:
  explicit Init_LaneMarkingProjectedArrayBoth_markings_left(::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth & msg)
  : msg_(msg)
  {}
  Init_LaneMarkingProjectedArrayBoth_markings_right markings_left(::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth::_markings_left_type arg)
  {
    msg_.markings_left = std::move(arg);
    return Init_LaneMarkingProjectedArrayBoth_markings_right(msg_);
  }

private:
  ::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth msg_;
};

class Init_LaneMarkingProjectedArrayBoth_header
{
public:
  Init_LaneMarkingProjectedArrayBoth_header()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_LaneMarkingProjectedArrayBoth_markings_left header(::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth::_header_type arg)
  {
    msg_.header = std::move(arg);
    return Init_LaneMarkingProjectedArrayBoth_markings_left(msg_);
  }

private:
  ::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

template<>
inline
auto build<::lane_parameter_msg::msg::LaneMarkingProjectedArrayBoth>()
{
  return lane_parameter_msg::msg::builder::Init_LaneMarkingProjectedArrayBoth_header();
}

}  // namespace lane_parameter_msg

#endif  // LANE_PARAMETER_MSG__MSG__DETAIL__LANE_MARKING_PROJECTED_ARRAY_BOTH__BUILDER_HPP_
