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

#ifndef INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_STATE__BUILDER_HPP_
#define INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_STATE__BUILDER_HPP_

#include <algorithm>
#include <utility>

#include "interface_protocol/msg/detail/joint_motion_plan_state__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"


namespace interface_protocol
{

namespace msg
{

namespace builder
{

class Init_JointMotionPlanState_progress
{
public:
  explicit Init_JointMotionPlanState_progress(::interface_protocol::msg::JointMotionPlanState & msg)
  : msg_(msg)
  {}
  ::interface_protocol::msg::JointMotionPlanState progress(::interface_protocol::msg::JointMotionPlanState::_progress_type arg)
  {
    msg_.progress = std::move(arg);
    return std::move(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanState msg_;
};

class Init_JointMotionPlanState_status
{
public:
  explicit Init_JointMotionPlanState_status(::interface_protocol::msg::JointMotionPlanState & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanState_progress status(::interface_protocol::msg::JointMotionPlanState::_status_type arg)
  {
    msg_.status = std::move(arg);
    return Init_JointMotionPlanState_progress(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanState msg_;
};

class Init_JointMotionPlanState_request_id
{
public:
  Init_JointMotionPlanState_request_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_JointMotionPlanState_status request_id(::interface_protocol::msg::JointMotionPlanState::_request_id_type arg)
  {
    msg_.request_id = std::move(arg);
    return Init_JointMotionPlanState_status(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanState msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

template<>
inline
auto build<::interface_protocol::msg::JointMotionPlanState>()
{
  return interface_protocol::msg::builder::Init_JointMotionPlanState_request_id();
}

}  // namespace interface_protocol

#endif  // INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_STATE__BUILDER_HPP_
