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

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


#ifndef PX4_MSGS__MSG__DETAIL__VEHICLE_ATTITUDE_SETPOINT__BUILDER_HPP_
#define PX4_MSGS__MSG__DETAIL__VEHICLE_ATTITUDE_SETPOINT__BUILDER_HPP_

#include <algorithm>
#include <utility>

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


namespace px4_msgs
{

namespace msg
{

namespace builder
{

class Init_VehicleAttitudeSetpoint_fw_control_yaw_wheel
{
public:
  explicit Init_VehicleAttitudeSetpoint_fw_control_yaw_wheel(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  ::px4_msgs::msg::VehicleAttitudeSetpoint fw_control_yaw_wheel(::px4_msgs::msg::VehicleAttitudeSetpoint::_fw_control_yaw_wheel_type arg)
  {
    msg_.fw_control_yaw_wheel = std::move(arg);
    return std::move(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_reset_integral
{
public:
  explicit Init_VehicleAttitudeSetpoint_reset_integral(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  Init_VehicleAttitudeSetpoint_fw_control_yaw_wheel reset_integral(::px4_msgs::msg::VehicleAttitudeSetpoint::_reset_integral_type arg)
  {
    msg_.reset_integral = std::move(arg);
    return Init_VehicleAttitudeSetpoint_fw_control_yaw_wheel(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_thrust_body
{
public:
  explicit Init_VehicleAttitudeSetpoint_thrust_body(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  Init_VehicleAttitudeSetpoint_reset_integral thrust_body(::px4_msgs::msg::VehicleAttitudeSetpoint::_thrust_body_type arg)
  {
    msg_.thrust_body = std::move(arg);
    return Init_VehicleAttitudeSetpoint_reset_integral(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_q_d
{
public:
  explicit Init_VehicleAttitudeSetpoint_q_d(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  Init_VehicleAttitudeSetpoint_thrust_body q_d(::px4_msgs::msg::VehicleAttitudeSetpoint::_q_d_type arg)
  {
    msg_.q_d = std::move(arg);
    return Init_VehicleAttitudeSetpoint_thrust_body(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_yaw_sp_move_rate
{
public:
  explicit Init_VehicleAttitudeSetpoint_yaw_sp_move_rate(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  Init_VehicleAttitudeSetpoint_q_d yaw_sp_move_rate(::px4_msgs::msg::VehicleAttitudeSetpoint::_yaw_sp_move_rate_type arg)
  {
    msg_.yaw_sp_move_rate = std::move(arg);
    return Init_VehicleAttitudeSetpoint_q_d(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_yaw_body
{
public:
  explicit Init_VehicleAttitudeSetpoint_yaw_body(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  Init_VehicleAttitudeSetpoint_yaw_sp_move_rate yaw_body(::px4_msgs::msg::VehicleAttitudeSetpoint::_yaw_body_type arg)
  {
    msg_.yaw_body = std::move(arg);
    return Init_VehicleAttitudeSetpoint_yaw_sp_move_rate(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_pitch_body
{
public:
  explicit Init_VehicleAttitudeSetpoint_pitch_body(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  Init_VehicleAttitudeSetpoint_yaw_body pitch_body(::px4_msgs::msg::VehicleAttitudeSetpoint::_pitch_body_type arg)
  {
    msg_.pitch_body = std::move(arg);
    return Init_VehicleAttitudeSetpoint_yaw_body(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_roll_body
{
public:
  explicit Init_VehicleAttitudeSetpoint_roll_body(::px4_msgs::msg::VehicleAttitudeSetpoint & msg)
  : msg_(msg)
  {}
  Init_VehicleAttitudeSetpoint_pitch_body roll_body(::px4_msgs::msg::VehicleAttitudeSetpoint::_roll_body_type arg)
  {
    msg_.roll_body = std::move(arg);
    return Init_VehicleAttitudeSetpoint_pitch_body(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

class Init_VehicleAttitudeSetpoint_timestamp
{
public:
  Init_VehicleAttitudeSetpoint_timestamp()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_VehicleAttitudeSetpoint_roll_body timestamp(::px4_msgs::msg::VehicleAttitudeSetpoint::_timestamp_type arg)
  {
    msg_.timestamp = std::move(arg);
    return Init_VehicleAttitudeSetpoint_roll_body(msg_);
  }

private:
  ::px4_msgs::msg::VehicleAttitudeSetpoint msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

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

}  // namespace px4_msgs

#endif  // PX4_MSGS__MSG__DETAIL__VEHICLE_ATTITUDE_SETPOINT__BUILDER_HPP_
