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

#ifndef CUSTOM_MESSAGES__MSG__DETAIL__MY_POSE__BUILDER_HPP_
#define CUSTOM_MESSAGES__MSG__DETAIL__MY_POSE__BUILDER_HPP_

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


namespace custom_messages
{

namespace msg
{

namespace builder
{

class Init_MyPose_theta
{
public:
  explicit Init_MyPose_theta(::custom_messages::msg::MyPose & msg)
  : msg_(msg)
  {}
  ::custom_messages::msg::MyPose theta(::custom_messages::msg::MyPose::_theta_type arg)
  {
    msg_.theta = std::move(arg);
    return std::move(msg_);
  }

private:
  ::custom_messages::msg::MyPose msg_;
};

class Init_MyPose_z
{
public:
  explicit Init_MyPose_z(::custom_messages::msg::MyPose & msg)
  : msg_(msg)
  {}
  Init_MyPose_theta z(::custom_messages::msg::MyPose::_z_type arg)
  {
    msg_.z = std::move(arg);
    return Init_MyPose_theta(msg_);
  }

private:
  ::custom_messages::msg::MyPose msg_;
};

class Init_MyPose_y
{
public:
  explicit Init_MyPose_y(::custom_messages::msg::MyPose & msg)
  : msg_(msg)
  {}
  Init_MyPose_z y(::custom_messages::msg::MyPose::_y_type arg)
  {
    msg_.y = std::move(arg);
    return Init_MyPose_z(msg_);
  }

private:
  ::custom_messages::msg::MyPose msg_;
};

class Init_MyPose_x
{
public:
  Init_MyPose_x()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_MyPose_y x(::custom_messages::msg::MyPose::_x_type arg)
  {
    msg_.x = std::move(arg);
    return Init_MyPose_y(msg_);
  }

private:
  ::custom_messages::msg::MyPose msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

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

}  // namespace custom_messages

#endif  // CUSTOM_MESSAGES__MSG__DETAIL__MY_POSE__BUILDER_HPP_
