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

#ifndef CPP_PROCOCOL__ACTION__DETAIL__MOVE_TO__BUILDER_HPP_
#define CPP_PROCOCOL__ACTION__DETAIL__MOVE_TO__BUILDER_HPP_

#include <algorithm>
#include <utility>

#include "cpp_prococol/action/detail/move_to__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_Goal_target_y
{
public:
  explicit Init_MoveTo_Goal_target_y(::cpp_prococol::action::MoveTo_Goal & msg)
  : msg_(msg)
  {}
  ::cpp_prococol::action::MoveTo_Goal target_y(::cpp_prococol::action::MoveTo_Goal::_target_y_type arg)
  {
    msg_.target_y = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_Goal msg_;
};

class Init_MoveTo_Goal_target_x
{
public:
  Init_MoveTo_Goal_target_x()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_MoveTo_Goal_target_y target_x(::cpp_prococol::action::MoveTo_Goal::_target_x_type arg)
  {
    msg_.target_x = std::move(arg);
    return Init_MoveTo_Goal_target_y(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_Goal msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_Goal>()
{
  return cpp_prococol::action::builder::Init_MoveTo_Goal_target_x();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_Result_status
{
public:
  explicit Init_MoveTo_Result_status(::cpp_prococol::action::MoveTo_Result & msg)
  : msg_(msg)
  {}
  ::cpp_prococol::action::MoveTo_Result status(::cpp_prococol::action::MoveTo_Result::_status_type arg)
  {
    msg_.status = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_Result msg_;
};

class Init_MoveTo_Result_message
{
public:
  explicit Init_MoveTo_Result_message(::cpp_prococol::action::MoveTo_Result & msg)
  : msg_(msg)
  {}
  Init_MoveTo_Result_status message(::cpp_prococol::action::MoveTo_Result::_message_type arg)
  {
    msg_.message = std::move(arg);
    return Init_MoveTo_Result_status(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_Result msg_;
};

class Init_MoveTo_Result_success
{
public:
  Init_MoveTo_Result_success()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_MoveTo_Result_message success(::cpp_prococol::action::MoveTo_Result::_success_type arg)
  {
    msg_.success = std::move(arg);
    return Init_MoveTo_Result_message(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_Result msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_Result>()
{
  return cpp_prococol::action::builder::Init_MoveTo_Result_success();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_Feedback_progress
{
public:
  Init_MoveTo_Feedback_progress()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  ::cpp_prococol::action::MoveTo_Feedback progress(::cpp_prococol::action::MoveTo_Feedback::_progress_type arg)
  {
    msg_.progress = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_Feedback msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_Feedback>()
{
  return cpp_prococol::action::builder::Init_MoveTo_Feedback_progress();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_SendGoal_Request_goal
{
public:
  explicit Init_MoveTo_SendGoal_Request_goal(::cpp_prococol::action::MoveTo_SendGoal_Request & msg)
  : msg_(msg)
  {}
  ::cpp_prococol::action::MoveTo_SendGoal_Request goal(::cpp_prococol::action::MoveTo_SendGoal_Request::_goal_type arg)
  {
    msg_.goal = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_SendGoal_Request msg_;
};

class Init_MoveTo_SendGoal_Request_goal_id
{
public:
  Init_MoveTo_SendGoal_Request_goal_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_MoveTo_SendGoal_Request_goal goal_id(::cpp_prococol::action::MoveTo_SendGoal_Request::_goal_id_type arg)
  {
    msg_.goal_id = std::move(arg);
    return Init_MoveTo_SendGoal_Request_goal(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_SendGoal_Request msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_SendGoal_Request>()
{
  return cpp_prococol::action::builder::Init_MoveTo_SendGoal_Request_goal_id();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_SendGoal_Response_stamp
{
public:
  explicit Init_MoveTo_SendGoal_Response_stamp(::cpp_prococol::action::MoveTo_SendGoal_Response & msg)
  : msg_(msg)
  {}
  ::cpp_prococol::action::MoveTo_SendGoal_Response stamp(::cpp_prococol::action::MoveTo_SendGoal_Response::_stamp_type arg)
  {
    msg_.stamp = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_SendGoal_Response msg_;
};

class Init_MoveTo_SendGoal_Response_accepted
{
public:
  Init_MoveTo_SendGoal_Response_accepted()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_MoveTo_SendGoal_Response_stamp accepted(::cpp_prococol::action::MoveTo_SendGoal_Response::_accepted_type arg)
  {
    msg_.accepted = std::move(arg);
    return Init_MoveTo_SendGoal_Response_stamp(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_SendGoal_Response msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_SendGoal_Response>()
{
  return cpp_prococol::action::builder::Init_MoveTo_SendGoal_Response_accepted();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_GetResult_Request_goal_id
{
public:
  Init_MoveTo_GetResult_Request_goal_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  ::cpp_prococol::action::MoveTo_GetResult_Request goal_id(::cpp_prococol::action::MoveTo_GetResult_Request::_goal_id_type arg)
  {
    msg_.goal_id = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_GetResult_Request msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_GetResult_Request>()
{
  return cpp_prococol::action::builder::Init_MoveTo_GetResult_Request_goal_id();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_GetResult_Response_result
{
public:
  explicit Init_MoveTo_GetResult_Response_result(::cpp_prococol::action::MoveTo_GetResult_Response & msg)
  : msg_(msg)
  {}
  ::cpp_prococol::action::MoveTo_GetResult_Response result(::cpp_prococol::action::MoveTo_GetResult_Response::_result_type arg)
  {
    msg_.result = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_GetResult_Response msg_;
};

class Init_MoveTo_GetResult_Response_status
{
public:
  Init_MoveTo_GetResult_Response_status()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_MoveTo_GetResult_Response_result status(::cpp_prococol::action::MoveTo_GetResult_Response::_status_type arg)
  {
    msg_.status = std::move(arg);
    return Init_MoveTo_GetResult_Response_result(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_GetResult_Response msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_GetResult_Response>()
{
  return cpp_prococol::action::builder::Init_MoveTo_GetResult_Response_status();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace action
{

namespace builder
{

class Init_MoveTo_FeedbackMessage_feedback
{
public:
  explicit Init_MoveTo_FeedbackMessage_feedback(::cpp_prococol::action::MoveTo_FeedbackMessage & msg)
  : msg_(msg)
  {}
  ::cpp_prococol::action::MoveTo_FeedbackMessage feedback(::cpp_prococol::action::MoveTo_FeedbackMessage::_feedback_type arg)
  {
    msg_.feedback = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_FeedbackMessage msg_;
};

class Init_MoveTo_FeedbackMessage_goal_id
{
public:
  Init_MoveTo_FeedbackMessage_goal_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_MoveTo_FeedbackMessage_feedback goal_id(::cpp_prococol::action::MoveTo_FeedbackMessage::_goal_id_type arg)
  {
    msg_.goal_id = std::move(arg);
    return Init_MoveTo_FeedbackMessage_feedback(msg_);
  }

private:
  ::cpp_prococol::action::MoveTo_FeedbackMessage msg_;
};

}  // namespace builder

}  // namespace action

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::action::MoveTo_FeedbackMessage>()
{
  return cpp_prococol::action::builder::Init_MoveTo_FeedbackMessage_goal_id();
}

}  // namespace cpp_prococol

#endif  // CPP_PROCOCOL__ACTION__DETAIL__MOVE_TO__BUILDER_HPP_
