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/ec2/model/SubnetCidrReservationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
51 template<
typename SubnetC
idrReservationIdT = Aws::String>
52 void SetSubnetCidrReservationId(SubnetCidrReservationIdT&& value) { m_subnetCidrReservationIdHasBeenSet =
true; m_subnetCidrReservationId = std::forward<SubnetCidrReservationIdT>(value); }
53 template<
typename SubnetC
idrReservationIdT = Aws::String>
63 template<
typename SubnetIdT = Aws::String>
64 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
65 template<
typename SubnetIdT = Aws::String>
75 template<
typename C
idrT = Aws::String>
76 void SetCidr(CidrT&& value) { m_cidrHasBeenSet =
true; m_cidr = std::forward<CidrT>(value); }
77 template<
typename C
idrT = Aws::String>
97 template<
typename OwnerIdT = Aws::String>
98 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
99 template<
typename OwnerIdT = Aws::String>
109 template<
typename DescriptionT = Aws::String>
110 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
111 template<
typename DescriptionT = Aws::String>
121 template<
typename TagsT = Aws::Vector<Tag>>
122 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
123 template<
typename TagsT = Aws::Vector<Tag>>
125 template<
typename TagsT = Tag>
131 bool m_subnetCidrReservationIdHasBeenSet =
false;
134 bool m_subnetIdHasBeenSet =
false;
137 bool m_cidrHasBeenSet =
false;
140 bool m_reservationTypeHasBeenSet =
false;
143 bool m_ownerIdHasBeenSet =
false;
146 bool m_descriptionHasBeenSet =
false;
149 bool m_tagsHasBeenSet =
false;
const Aws::String & GetDescription() const
SubnetCidrReservation & WithOwnerId(OwnerIdT &&value)
SubnetCidrReservation & WithReservationType(SubnetCidrReservationType value)
bool TagsHasBeenSet() const
SubnetCidrReservation & WithSubnetCidrReservationId(SubnetCidrReservationIdT &&value)
SubnetCidrReservationType GetReservationType() const
SubnetCidrReservation & WithCidr(CidrT &&value)
const Aws::String & GetOwnerId() const
const Aws::String & GetSubnetCidrReservationId() const
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetSubnetId() const
void SetSubnetCidrReservationId(SubnetCidrReservationIdT &&value)
void SetDescription(DescriptionT &&value)
void SetReservationType(SubnetCidrReservationType value)
SubnetCidrReservation & WithSubnetId(SubnetIdT &&value)
SubnetCidrReservation & AddTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SubnetCidrReservation & WithDescription(DescriptionT &&value)
SubnetCidrReservation & WithTags(TagsT &&value)
void SetOwnerId(OwnerIdT &&value)
bool SubnetIdHasBeenSet() const
AWS_EC2_API SubnetCidrReservation()=default
const Aws::Vector< Tag > & GetTags() const
bool CidrHasBeenSet() const
void SetTags(TagsT &&value)
void SetCidr(CidrT &&value)
bool SubnetCidrReservationIdHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_EC2_API SubnetCidrReservation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API SubnetCidrReservation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ReservationTypeHasBeenSet() const
const Aws::String & GetCidr() const
bool OwnerIdHasBeenSet() const
SubnetCidrReservationType
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