7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/GroupIdentifier.h>
13#include <aws/ec2/model/Instance.h>
56 inline void SetReservationId(
const char* value) { m_reservationIdHasBeenSet =
true; m_reservationId.assign(value); }
70 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
85 inline void SetRequesterId(
const char* value) { m_requesterIdHasBeenSet =
true; m_requesterId.assign(value); }
130 bool m_reservationIdHasBeenSet =
false;
133 bool m_ownerIdHasBeenSet =
false;
136 bool m_requesterIdHasBeenSet =
false;
139 bool m_groupsHasBeenSet =
false;
142 bool m_instancesHasBeenSet =
false;
const Aws::String & GetRequesterId() const
Reservation & WithReservationId(const char *value)
const Aws::String & GetReservationId() const
Reservation & WithInstances(Aws::Vector< Instance > &&value)
Reservation & WithOwnerId(Aws::String &&value)
void SetOwnerId(const Aws::String &value)
Reservation & WithRequesterId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Reservation & AddGroups(const GroupIdentifier &value)
const Aws::Vector< Instance > & GetInstances() const
void SetGroups(const Aws::Vector< GroupIdentifier > &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetReservationId(Aws::String &&value)
Reservation & WithOwnerId(const char *value)
bool RequesterIdHasBeenSet() const
Reservation & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(ResponseMetadata &&value)
bool OwnerIdHasBeenSet() const
void SetReservationId(const Aws::String &value)
Reservation & WithResponseMetadata(ResponseMetadata &&value)
bool InstancesHasBeenSet() const
void SetInstances(Aws::Vector< Instance > &&value)
void SetOwnerId(const char *value)
void SetInstances(const Aws::Vector< Instance > &value)
void SetOwnerId(Aws::String &&value)
void SetRequesterId(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
Reservation & WithRequesterId(Aws::String &&value)
void SetRequesterId(const char *value)
bool GroupsHasBeenSet() const
Reservation & AddInstances(const Instance &value)
bool ReservationIdHasBeenSet() const
const Aws::String & GetOwnerId() const
Reservation & AddGroups(GroupIdentifier &&value)
const Aws::Vector< GroupIdentifier > & GetGroups() const
Reservation & WithOwnerId(const Aws::String &value)
Reservation & WithReservationId(Aws::String &&value)
Reservation & WithInstances(const Aws::Vector< Instance > &value)
AWS_EC2_API Reservation()
Reservation & WithGroups(Aws::Vector< GroupIdentifier > &&value)
Reservation & AddInstances(Instance &&value)
Reservation & WithRequesterId(const Aws::String &value)
Reservation & WithGroups(const Aws::Vector< GroupIdentifier > &value)
AWS_EC2_API Reservation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Reservation & WithReservationId(const Aws::String &value)
AWS_EC2_API Reservation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGroups(Aws::Vector< GroupIdentifier > &&value)
void SetRequesterId(const Aws::String &value)
void SetReservationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream