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

#ifndef CPP_PROCOCOL__SRV__DETAIL__POSITION__BUILDER_HPP_
#define CPP_PROCOCOL__SRV__DETAIL__POSITION__BUILDER_HPP_

#include <algorithm>
#include <utility>

#include "cpp_prococol/srv/detail/position__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"


namespace cpp_prococol
{

namespace srv
{

namespace builder
{

class Init_Position_Request_target_y
{
public:
  explicit Init_Position_Request_target_y(::cpp_prococol::srv::Position_Request & msg)
  : msg_(msg)
  {}
  ::cpp_prococol::srv::Position_Request target_y(::cpp_prococol::srv::Position_Request::_target_y_type arg)
  {
    msg_.target_y = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::srv::Position_Request msg_;
};

class Init_Position_Request_target_x
{
public:
  Init_Position_Request_target_x()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_Position_Request_target_y target_x(::cpp_prococol::srv::Position_Request::_target_x_type arg)
  {
    msg_.target_x = std::move(arg);
    return Init_Position_Request_target_y(msg_);
  }

private:
  ::cpp_prococol::srv::Position_Request msg_;
};

}  // namespace builder

}  // namespace srv

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::srv::Position_Request>()
{
  return cpp_prococol::srv::builder::Init_Position_Request_target_x();
}

}  // namespace cpp_prococol


namespace cpp_prococol
{

namespace srv
{

namespace builder
{

class Init_Position_Response_result
{
public:
  Init_Position_Response_result()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  ::cpp_prococol::srv::Position_Response result(::cpp_prococol::srv::Position_Response::_result_type arg)
  {
    msg_.result = std::move(arg);
    return std::move(msg_);
  }

private:
  ::cpp_prococol::srv::Position_Response msg_;
};

}  // namespace builder

}  // namespace srv

template<typename MessageType>
auto build();

template<>
inline
auto build<::cpp_prococol::srv::Position_Response>()
{
  return cpp_prococol::srv::builder::Init_Position_Response_result();
}

}  // namespace cpp_prococol

#endif  // CPP_PROCOCOL__SRV__DETAIL__POSITION__BUILDER_HPP_
