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

#ifndef INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_REQUEST__BUILDER_HPP_
#define INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_REQUEST__BUILDER_HPP_

#include <algorithm>
#include <utility>

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


namespace interface_protocol
{

namespace msg
{

namespace builder
{

class Init_JointMotionPlanRequest_damping
{
public:
  explicit Init_JointMotionPlanRequest_damping(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  ::interface_protocol::msg::JointMotionPlanRequest damping(::interface_protocol::msg::JointMotionPlanRequest::_damping_type arg)
  {
    msg_.damping = std::move(arg);
    return std::move(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_stiffness
{
public:
  explicit Init_JointMotionPlanRequest_stiffness(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanRequest_damping stiffness(::interface_protocol::msg::JointMotionPlanRequest::_stiffness_type arg)
  {
    msg_.stiffness = std::move(arg);
    return Init_JointMotionPlanRequest_damping(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_execution_time
{
public:
  explicit Init_JointMotionPlanRequest_execution_time(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanRequest_stiffness execution_time(::interface_protocol::msg::JointMotionPlanRequest::_execution_time_type arg)
  {
    msg_.execution_time = std::move(arg);
    return Init_JointMotionPlanRequest_stiffness(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_target_velocities
{
public:
  explicit Init_JointMotionPlanRequest_target_velocities(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanRequest_execution_time target_velocities(::interface_protocol::msg::JointMotionPlanRequest::_target_velocities_type arg)
  {
    msg_.target_velocities = std::move(arg);
    return Init_JointMotionPlanRequest_execution_time(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_target_positions
{
public:
  explicit Init_JointMotionPlanRequest_target_positions(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanRequest_target_velocities target_positions(::interface_protocol::msg::JointMotionPlanRequest::_target_positions_type arg)
  {
    msg_.target_positions = std::move(arg);
    return Init_JointMotionPlanRequest_target_velocities(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_joint_indices
{
public:
  explicit Init_JointMotionPlanRequest_joint_indices(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanRequest_target_positions joint_indices(::interface_protocol::msg::JointMotionPlanRequest::_joint_indices_type arg)
  {
    msg_.joint_indices = std::move(arg);
    return Init_JointMotionPlanRequest_target_positions(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_use_gravity_compensation
{
public:
  explicit Init_JointMotionPlanRequest_use_gravity_compensation(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanRequest_joint_indices use_gravity_compensation(::interface_protocol::msg::JointMotionPlanRequest::_use_gravity_compensation_type arg)
  {
    msg_.use_gravity_compensation = std::move(arg);
    return Init_JointMotionPlanRequest_joint_indices(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_request_type
{
public:
  explicit Init_JointMotionPlanRequest_request_type(::interface_protocol::msg::JointMotionPlanRequest & msg)
  : msg_(msg)
  {}
  Init_JointMotionPlanRequest_use_gravity_compensation request_type(::interface_protocol::msg::JointMotionPlanRequest::_request_type_type arg)
  {
    msg_.request_type = std::move(arg);
    return Init_JointMotionPlanRequest_use_gravity_compensation(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

class Init_JointMotionPlanRequest_request_id
{
public:
  Init_JointMotionPlanRequest_request_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_JointMotionPlanRequest_request_type request_id(::interface_protocol::msg::JointMotionPlanRequest::_request_id_type arg)
  {
    msg_.request_id = std::move(arg);
    return Init_JointMotionPlanRequest_request_type(msg_);
  }

private:
  ::interface_protocol::msg::JointMotionPlanRequest msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

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

}  // namespace interface_protocol

#endif  // INTERFACE_PROTOCOL__MSG__DETAIL__JOINT_MOTION_PLAN_REQUEST__BUILDER_HPP_
