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

#ifndef CUSTOM_MESSAGES__MSG__DETAIL__MYPATH2__BUILDER_HPP_
#define CUSTOM_MESSAGES__MSG__DETAIL__MYPATH2__BUILDER_HPP_

#include "custom_messages/msg/detail/mypath2__struct.hpp"
#include <rosidl_runtime_cpp/message_initialization.hpp>
#include <algorithm>
#include <utility>


namespace custom_messages
{

namespace msg
{

namespace builder
{

class Init_Mypath2_poses
{
public:
  explicit Init_Mypath2_poses(::custom_messages::msg::Mypath2 & msg)
  : msg_(msg)
  {}
  ::custom_messages::msg::Mypath2 poses(::custom_messages::msg::Mypath2::_poses_type arg)
  {
    msg_.poses = std::move(arg);
    return std::move(msg_);
  }

private:
  ::custom_messages::msg::Mypath2 msg_;
};

class Init_Mypath2_frame_id
{
public:
  Init_Mypath2_frame_id()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_Mypath2_poses frame_id(::custom_messages::msg::Mypath2::_frame_id_type arg)
  {
    msg_.frame_id = std::move(arg);
    return Init_Mypath2_poses(msg_);
  }

private:
  ::custom_messages::msg::Mypath2 msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

template<>
inline
auto build<::custom_messages::msg::Mypath2>()
{
  return custom_messages::msg::builder::Init_Mypath2_frame_id();
}

}  // namespace custom_messages

#endif  // CUSTOM_MESSAGES__MSG__DETAIL__MYPATH2__BUILDER_HPP_
