/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a launch request for one or more instances, and includes owner,
* requester, and security group information that applies to all instances in the
* launch request.See Also:
AWS API
* Reference
Not supported.
*/ inline const Aws::VectorNot supported.
*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *Not supported.
*/ inline void SetGroups(const Aws::VectorNot supported.
*/ inline void SetGroups(Aws::VectorNot supported.
*/ inline Reservation& WithGroups(const Aws::VectorNot supported.
*/ inline Reservation& WithGroups(Aws::VectorNot supported.
*/ inline Reservation& AddGroups(const GroupIdentifier& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *Not supported.
*/ inline Reservation& AddGroups(GroupIdentifier&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } /** *The instances.
*/ inline const Aws::VectorThe instances.
*/ inline bool InstancesHasBeenSet() const { return m_instancesHasBeenSet; } /** *The instances.
*/ inline void SetInstances(const Aws::VectorThe instances.
*/ inline void SetInstances(Aws::VectorThe instances.
*/ inline Reservation& WithInstances(const Aws::VectorThe instances.
*/ inline Reservation& WithInstances(Aws::VectorThe instances.
*/ inline Reservation& AddInstances(const Instance& value) { m_instancesHasBeenSet = true; m_instances.push_back(value); return *this; } /** *The instances.
*/ inline Reservation& AddInstances(Instance&& value) { m_instancesHasBeenSet = true; m_instances.push_back(std::move(value)); return *this; } /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline Reservation& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline Reservation& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the reservation.
*/ inline Reservation& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline const Aws::String& GetRequesterId() const{ return m_requesterId; } /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline bool RequesterIdHasBeenSet() const { return m_requesterIdHasBeenSet; } /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline void SetRequesterId(const Aws::String& value) { m_requesterIdHasBeenSet = true; m_requesterId = value; } /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline void SetRequesterId(Aws::String&& value) { m_requesterIdHasBeenSet = true; m_requesterId = std::move(value); } /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline void SetRequesterId(const char* value) { m_requesterIdHasBeenSet = true; m_requesterId.assign(value); } /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline Reservation& WithRequesterId(const Aws::String& value) { SetRequesterId(value); return *this;} /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline Reservation& WithRequesterId(Aws::String&& value) { SetRequesterId(std::move(value)); return *this;} /** *The ID of the requester that launched the instances on your behalf (for * example, Amazon Web Services Management Console or Auto Scaling).
*/ inline Reservation& WithRequesterId(const char* value) { SetRequesterId(value); return *this;} /** *The ID of the reservation.
*/ inline const Aws::String& GetReservationId() const{ return m_reservationId; } /** *The ID of the reservation.
*/ inline bool ReservationIdHasBeenSet() const { return m_reservationIdHasBeenSet; } /** *The ID of the reservation.
*/ inline void SetReservationId(const Aws::String& value) { m_reservationIdHasBeenSet = true; m_reservationId = value; } /** *The ID of the reservation.
*/ inline void SetReservationId(Aws::String&& value) { m_reservationIdHasBeenSet = true; m_reservationId = std::move(value); } /** *The ID of the reservation.
*/ inline void SetReservationId(const char* value) { m_reservationIdHasBeenSet = true; m_reservationId.assign(value); } /** *The ID of the reservation.
*/ inline Reservation& WithReservationId(const Aws::String& value) { SetReservationId(value); return *this;} /** *The ID of the reservation.
*/ inline Reservation& WithReservationId(Aws::String&& value) { SetReservationId(std::move(value)); return *this;} /** *The ID of the reservation.
*/ inline Reservation& WithReservationId(const char* value) { SetReservationId(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline Reservation& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline Reservation& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector