7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/SubnetCidrReservationType.h>
12#include <aws/ec2/model/Tag.h>
45 template <
typename SubnetC
idrReservationIdT = Aws::String>
47 m_subnetCidrReservationIdHasBeenSet =
true;
48 m_subnetCidrReservationId = std::forward<SubnetCidrReservationIdT>(value);
50 template <
typename SubnetC
idrReservationIdT = Aws::String>
63 template <
typename SubnetIdT = Aws::String>
65 m_subnetIdHasBeenSet =
true;
66 m_subnetId = std::forward<SubnetIdT>(value);
68 template <
typename SubnetIdT = Aws::String>
81 template <
typename C
idrT = Aws::String>
83 m_cidrHasBeenSet =
true;
84 m_cidr = std::forward<CidrT>(value);
86 template <
typename C
idrT = Aws::String>
88 SetCidr(std::forward<CidrT>(value));
100 m_reservationTypeHasBeenSet =
true;
101 m_reservationType = value;
115 template <
typename OwnerIdT = Aws::String>
117 m_ownerIdHasBeenSet =
true;
118 m_ownerId = std::forward<OwnerIdT>(value);
120 template <
typename OwnerIdT = Aws::String>
133 template <
typename DescriptionT = Aws::String>
135 m_descriptionHasBeenSet =
true;
136 m_description = std::forward<DescriptionT>(value);
138 template <
typename DescriptionT = Aws::String>
151 template <
typename TagsT = Aws::Vector<Tag>>
153 m_tagsHasBeenSet =
true;
154 m_tags = std::forward<TagsT>(value);
156 template <
typename TagsT = Aws::Vector<Tag>>
158 SetTags(std::forward<TagsT>(value));
161 template <
typename TagsT = Tag>
163 m_tagsHasBeenSet =
true;
164 m_tags.emplace_back(std::forward<TagsT>(value));
182 bool m_subnetCidrReservationIdHasBeenSet =
false;
183 bool m_subnetIdHasBeenSet =
false;
184 bool m_cidrHasBeenSet =
false;
185 bool m_reservationTypeHasBeenSet =
false;
186 bool m_ownerIdHasBeenSet =
false;
187 bool m_descriptionHasBeenSet =
false;
188 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