// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from virtual_robot_prococol:action/TargetPosition.idl
// generated code does not contain a copyright notice

#ifndef VIRTUAL_ROBOT_PROCOCOL__ACTION__DETAIL__TARGET_POSITION__BUILDER_HPP_
#define VIRTUAL_ROBOT_PROCOCOL__ACTION__DETAIL__TARGET_POSITION__BUILDER_HPP_

#include <algorithm>
#include <utility>

#include "virtual_robot_prococol/action/detail/target_position__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_Goal_target_speed
{
public:
  explicit Init_TargetPosition_Goal_target_speed(::virtual_robot_prococol::action::TargetPosition_Goal & msg)
  : msg_(msg)
  {}
  ::virtual_robot_prococol::action::TargetPosition_Goal target_speed(::virtual_robot_prococol::action::TargetPosition_Goal::_target_speed_type arg)
  {
    msg_.target_speed = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_Goal msg_;
};

class Init_TargetPosition_Goal_target_y
{
public:
  explicit Init_TargetPosition_Goal_target_y(::virtual_robot_prococol::action::TargetPosition_Goal & msg)
  : msg_(msg)
  {}
  Init_TargetPosition_Goal_target_speed target_y(::virtual_robot_prococol::action::TargetPosition_Goal::_target_y_type arg)
  {
    msg_.target_y = std::move(arg);
    return Init_TargetPosition_Goal_target_speed(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_Goal msg_;
};

class Init_TargetPosition_Goal_target_x
{
public:
  Init_TargetPosition_Goal_target_x()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_TargetPosition_Goal_target_y target_x(::virtual_robot_prococol::action::TargetPosition_Goal::_target_x_type arg)
  {
    msg_.target_x = std::move(arg);
    return Init_TargetPosition_Goal_target_y(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_Goal msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_Goal>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_Goal_target_x();
}

}  // namespace virtual_robot_prococol


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_Result_status
{
public:
  explicit Init_TargetPosition_Result_status(::virtual_robot_prococol::action::TargetPosition_Result & msg)
  : msg_(msg)
  {}
  ::virtual_robot_prococol::action::TargetPosition_Result status(::virtual_robot_prococol::action::TargetPosition_Result::_status_type arg)
  {
    msg_.status = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_Result msg_;
};

class Init_TargetPosition_Result_msg
{
public:
  explicit Init_TargetPosition_Result_msg(::virtual_robot_prococol::action::TargetPosition_Result & msg)
  : msg_(msg)
  {}
  Init_TargetPosition_Result_status msg(::virtual_robot_prococol::action::TargetPosition_Result::_msg_type arg)
  {
    msg_.msg = std::move(arg);
    return Init_TargetPosition_Result_status(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_Result msg_;
};

class Init_TargetPosition_Result_success
{
public:
  Init_TargetPosition_Result_success()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_TargetPosition_Result_msg success(::virtual_robot_prococol::action::TargetPosition_Result::_success_type arg)
  {
    msg_.success = std::move(arg);
    return Init_TargetPosition_Result_msg(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_Result msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_Result>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_Result_success();
}

}  // namespace virtual_robot_prococol


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_Feedback_progress
{
public:
  Init_TargetPosition_Feedback_progress()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  ::virtual_robot_prococol::action::TargetPosition_Feedback progress(::virtual_robot_prococol::action::TargetPosition_Feedback::_progress_type arg)
  {
    msg_.progress = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_Feedback msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_Feedback>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_Feedback_progress();
}

}  // namespace virtual_robot_prococol


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_SendGoal_Request_goal
{
public:
  explicit Init_TargetPosition_SendGoal_Request_goal(::virtual_robot_prococol::action::TargetPosition_SendGoal_Request & msg)
  : msg_(msg)
  {}
  ::virtual_robot_prococol::action::TargetPosition_SendGoal_Request goal(::virtual_robot_prococol::action::TargetPosition_SendGoal_Request::_goal_type arg)
  {
    msg_.goal = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_SendGoal_Request msg_;
};

class Init_TargetPosition_SendGoal_Request_goal_id
{
public:
  Init_TargetPosition_SendGoal_Request_goal_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_TargetPosition_SendGoal_Request_goal goal_id(::virtual_robot_prococol::action::TargetPosition_SendGoal_Request::_goal_id_type arg)
  {
    msg_.goal_id = std::move(arg);
    return Init_TargetPosition_SendGoal_Request_goal(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_SendGoal_Request msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_SendGoal_Request>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_SendGoal_Request_goal_id();
}

}  // namespace virtual_robot_prococol


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_SendGoal_Response_stamp
{
public:
  explicit Init_TargetPosition_SendGoal_Response_stamp(::virtual_robot_prococol::action::TargetPosition_SendGoal_Response & msg)
  : msg_(msg)
  {}
  ::virtual_robot_prococol::action::TargetPosition_SendGoal_Response stamp(::virtual_robot_prococol::action::TargetPosition_SendGoal_Response::_stamp_type arg)
  {
    msg_.stamp = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_SendGoal_Response msg_;
};

class Init_TargetPosition_SendGoal_Response_accepted
{
public:
  Init_TargetPosition_SendGoal_Response_accepted()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_TargetPosition_SendGoal_Response_stamp accepted(::virtual_robot_prococol::action::TargetPosition_SendGoal_Response::_accepted_type arg)
  {
    msg_.accepted = std::move(arg);
    return Init_TargetPosition_SendGoal_Response_stamp(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_SendGoal_Response msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_SendGoal_Response>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_SendGoal_Response_accepted();
}

}  // namespace virtual_robot_prococol


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_GetResult_Request_goal_id
{
public:
  Init_TargetPosition_GetResult_Request_goal_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  ::virtual_robot_prococol::action::TargetPosition_GetResult_Request goal_id(::virtual_robot_prococol::action::TargetPosition_GetResult_Request::_goal_id_type arg)
  {
    msg_.goal_id = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_GetResult_Request msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_GetResult_Request>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_GetResult_Request_goal_id();
}

}  // namespace virtual_robot_prococol


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_GetResult_Response_result
{
public:
  explicit Init_TargetPosition_GetResult_Response_result(::virtual_robot_prococol::action::TargetPosition_GetResult_Response & msg)
  : msg_(msg)
  {}
  ::virtual_robot_prococol::action::TargetPosition_GetResult_Response result(::virtual_robot_prococol::action::TargetPosition_GetResult_Response::_result_type arg)
  {
    msg_.result = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_GetResult_Response msg_;
};

class Init_TargetPosition_GetResult_Response_status
{
public:
  Init_TargetPosition_GetResult_Response_status()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_TargetPosition_GetResult_Response_result status(::virtual_robot_prococol::action::TargetPosition_GetResult_Response::_status_type arg)
  {
    msg_.status = std::move(arg);
    return Init_TargetPosition_GetResult_Response_result(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_GetResult_Response msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_GetResult_Response>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_GetResult_Response_status();
}

}  // namespace virtual_robot_prococol


namespace virtual_robot_prococol
{

namespace action
{

namespace builder
{

class Init_TargetPosition_FeedbackMessage_feedback
{
public:
  explicit Init_TargetPosition_FeedbackMessage_feedback(::virtual_robot_prococol::action::TargetPosition_FeedbackMessage & msg)
  : msg_(msg)
  {}
  ::virtual_robot_prococol::action::TargetPosition_FeedbackMessage feedback(::virtual_robot_prococol::action::TargetPosition_FeedbackMessage::_feedback_type arg)
  {
    msg_.feedback = std::move(arg);
    return std::move(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_FeedbackMessage msg_;
};

class Init_TargetPosition_FeedbackMessage_goal_id
{
public:
  Init_TargetPosition_FeedbackMessage_goal_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_TargetPosition_FeedbackMessage_feedback goal_id(::virtual_robot_prococol::action::TargetPosition_FeedbackMessage::_goal_id_type arg)
  {
    msg_.goal_id = std::move(arg);
    return Init_TargetPosition_FeedbackMessage_feedback(msg_);
  }

private:
  ::virtual_robot_prococol::action::TargetPosition_FeedbackMessage msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::virtual_robot_prococol::action::TargetPosition_FeedbackMessage>()
{
  return virtual_robot_prococol::action::builder::Init_TargetPosition_FeedbackMessage_goal_id();
}

}  // namespace virtual_robot_prococol

#endif  // VIRTUAL_ROBOT_PROCOCOL__ACTION__DETAIL__TARGET_POSITION__BUILDER_HPP_
