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

// IWYU pragma: private, include "px4_msgs/msg/vehicle_angular_velocity.hpp"


#ifndef PX4_MSGS__MSG__DETAIL__VEHICLE_ANGULAR_VELOCITY__BUILDER_HPP_
#define PX4_MSGS__MSG__DETAIL__VEHICLE_ANGULAR_VELOCITY__BUILDER_HPP_

#include <algorithm>
#include <utility>

#include "px4_msgs/msg/detail/vehicle_angular_velocity__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"


namespace px4_msgs
{

namespace msg
{

namespace builder
{

class Init_VehicleAngularVelocity_xyz_derivative
{
public:
  explicit Init_VehicleAngularVelocity_xyz_derivative(::px4_msgs::msg::VehicleAngularVelocity & msg)
  : msg_(msg)
  {}
  ::px4_msgs::msg::VehicleAngularVelocity xyz_derivative(::px4_msgs::msg::VehicleAngularVelocity::_xyz_derivative_type arg)
  {
    msg_.xyz_derivative = std::move(arg);
    return std::move(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAngularVelocity msg_;
};

class Init_VehicleAngularVelocity_xyz
{
public:
  explicit Init_VehicleAngularVelocity_xyz(::px4_msgs::msg::VehicleAngularVelocity & msg)
  : msg_(msg)
  {}
  Init_VehicleAngularVelocity_xyz_derivative xyz(::px4_msgs::msg::VehicleAngularVelocity::_xyz_type arg)
  {
    msg_.xyz = std::move(arg);
    return Init_VehicleAngularVelocity_xyz_derivative(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAngularVelocity msg_;
};

class Init_VehicleAngularVelocity_timestamp_sample
{
public:
  explicit Init_VehicleAngularVelocity_timestamp_sample(::px4_msgs::msg::VehicleAngularVelocity & msg)
  : msg_(msg)
  {}
  Init_VehicleAngularVelocity_xyz timestamp_sample(::px4_msgs::msg::VehicleAngularVelocity::_timestamp_sample_type arg)
  {
    msg_.timestamp_sample = std::move(arg);
    return Init_VehicleAngularVelocity_xyz(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAngularVelocity msg_;
};

class Init_VehicleAngularVelocity_timestamp
{
public:
  Init_VehicleAngularVelocity_timestamp()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_VehicleAngularVelocity_timestamp_sample timestamp(::px4_msgs::msg::VehicleAngularVelocity::_timestamp_type arg)
  {
    msg_.timestamp = std::move(arg);
    return Init_VehicleAngularVelocity_timestamp_sample(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAngularVelocity msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

template<>
inline
auto build<::px4_msgs::msg::VehicleAngularVelocity>()
{
  return px4_msgs::msg::builder::Init_VehicleAngularVelocity_timestamp();
}

}  // namespace px4_msgs

#endif  // PX4_MSGS__MSG__DETAIL__VEHICLE_ANGULAR_VELOCITY__BUILDER_HPP_
