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/Tag.h>
44 template <
typename OutpostArnT = Aws::String>
46 m_outpostArnHasBeenSet =
true;
47 m_outpostArn = std::forward<OutpostArnT>(value);
49 template <
typename OutpostArnT = Aws::String>
62 template <
typename OwnerIdT = Aws::String>
64 m_ownerIdHasBeenSet =
true;
65 m_ownerId = std::forward<OwnerIdT>(value);
67 template <
typename OwnerIdT = Aws::String>
80 template <
typename StateT = Aws::String>
82 m_stateHasBeenSet =
true;
83 m_state = std::forward<StateT>(value);
85 template <
typename StateT = Aws::String>
87 SetState(std::forward<StateT>(value));
98 template <
typename OutpostLagIdT = Aws::String>
100 m_outpostLagIdHasBeenSet =
true;
101 m_outpostLagId = std::forward<OutpostLagIdT>(value);
103 template <
typename OutpostLagIdT = Aws::String>
117 template <
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
119 m_localGatewayVirtualInterfaceIdsHasBeenSet =
true;
120 m_localGatewayVirtualInterfaceIds = std::forward<LocalGatewayVirtualInterfaceIdsT>(value);
122 template <
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
127 template <
typename LocalGatewayVirtualInterfaceIdsT = Aws::String>
129 m_localGatewayVirtualInterfaceIdsHasBeenSet =
true;
130 m_localGatewayVirtualInterfaceIds.emplace_back(std::forward<LocalGatewayVirtualInterfaceIdsT>(value));
141 template <
typename ServiceLinkVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
143 m_serviceLinkVirtualInterfaceIdsHasBeenSet =
true;
144 m_serviceLinkVirtualInterfaceIds = std::forward<ServiceLinkVirtualInterfaceIdsT>(value);
146 template <
typename ServiceLinkVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
151 template <
typename ServiceLinkVirtualInterfaceIdsT = Aws::String>
153 m_serviceLinkVirtualInterfaceIdsHasBeenSet =
true;
154 m_serviceLinkVirtualInterfaceIds.emplace_back(std::forward<ServiceLinkVirtualInterfaceIdsT>(value));
165 template <
typename TagsT = Aws::Vector<Tag>>
167 m_tagsHasBeenSet =
true;
168 m_tags = std::forward<TagsT>(value);
170 template <
typename TagsT = Aws::Vector<Tag>>
172 SetTags(std::forward<TagsT>(value));
175 template <
typename TagsT = Tag>
177 m_tagsHasBeenSet =
true;
178 m_tags.emplace_back(std::forward<TagsT>(value));
196 bool m_outpostArnHasBeenSet =
false;
197 bool m_ownerIdHasBeenSet =
false;
198 bool m_stateHasBeenSet =
false;
199 bool m_outpostLagIdHasBeenSet =
false;
200 bool m_localGatewayVirtualInterfaceIdsHasBeenSet =
false;
201 bool m_serviceLinkVirtualInterfaceIdsHasBeenSet =
false;
202 bool m_tagsHasBeenSet =
false;
AWS_EC2_API OutpostLag & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
OutpostLag & AddLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT &&value)
OutpostLag & WithOutpostArn(OutpostArnT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOutpostLagId(OutpostLagIdT &&value)
OutpostLag & AddTags(TagsT &&value)
OutpostLag & WithLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT &&value)
void SetState(StateT &&value)
OutpostLag & WithState(StateT &&value)
OutpostLag & WithServiceLinkVirtualInterfaceIds(ServiceLinkVirtualInterfaceIdsT &&value)
void SetOutpostArn(OutpostArnT &&value)
bool ServiceLinkVirtualInterfaceIdsHasBeenSet() const
const Aws::String & GetOutpostLagId() const
const Aws::Vector< Aws::String > & GetLocalGatewayVirtualInterfaceIds() const
const Aws::String & GetOutpostArn() const
bool OwnerIdHasBeenSet() const
bool StateHasBeenSet() const
bool LocalGatewayVirtualInterfaceIdsHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetState() const
OutpostLag & WithOwnerId(OwnerIdT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetOwnerId(OwnerIdT &&value)
AWS_EC2_API OutpostLag()=default
void SetLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT &&value)
OutpostLag & WithOutpostLagId(OutpostLagIdT &&value)
void SetTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
OutpostLag & WithTags(TagsT &&value)
const Aws::String & GetOwnerId() const
AWS_EC2_API OutpostLag(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetServiceLinkVirtualInterfaceIds(ServiceLinkVirtualInterfaceIdsT &&value)
OutpostLag & AddServiceLinkVirtualInterfaceIds(ServiceLinkVirtualInterfaceIdsT &&value)
bool OutpostLagIdHasBeenSet() const
bool OutpostArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetServiceLinkVirtualInterfaceIds() const
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