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/Tag.h>
50 template<
typename OutpostArnT = Aws::String>
51 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet =
true; m_outpostArn = std::forward<OutpostArnT>(value); }
52 template<
typename OutpostArnT = Aws::String>
62 template<
typename OwnerIdT = Aws::String>
63 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
64 template<
typename OwnerIdT = Aws::String>
74 template<
typename StateT = Aws::String>
75 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
76 template<
typename StateT = Aws::String>
86 template<
typename OutpostLagIdT = Aws::String>
87 void SetOutpostLagId(OutpostLagIdT&& value) { m_outpostLagIdHasBeenSet =
true; m_outpostLagId = std::forward<OutpostLagIdT>(value); }
88 template<
typename OutpostLagIdT = Aws::String>
99 template<
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
100 void SetLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT&& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet =
true; m_localGatewayVirtualInterfaceIds = std::forward<LocalGatewayVirtualInterfaceIdsT>(value); }
101 template<
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
103 template<
typename LocalGatewayVirtualInterfaceIdsT = Aws::String>
104 OutpostLag&
AddLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT&& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet =
true; m_localGatewayVirtualInterfaceIds.emplace_back(std::forward<LocalGatewayVirtualInterfaceIdsT>(value));
return *
this; }
113 template<
typename ServiceLinkVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
114 void SetServiceLinkVirtualInterfaceIds(ServiceLinkVirtualInterfaceIdsT&& value) { m_serviceLinkVirtualInterfaceIdsHasBeenSet =
true; m_serviceLinkVirtualInterfaceIds = std::forward<ServiceLinkVirtualInterfaceIdsT>(value); }
115 template<
typename ServiceLinkVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
117 template<
typename ServiceLinkVirtualInterfaceIdsT = Aws::String>
118 OutpostLag&
AddServiceLinkVirtualInterfaceIds(ServiceLinkVirtualInterfaceIdsT&& value) { m_serviceLinkVirtualInterfaceIdsHasBeenSet =
true; m_serviceLinkVirtualInterfaceIds.emplace_back(std::forward<ServiceLinkVirtualInterfaceIdsT>(value));
return *
this; }
127 template<
typename TagsT = Aws::Vector<Tag>>
128 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
129 template<
typename TagsT = Aws::Vector<Tag>>
131 template<
typename TagsT = Tag>
132 OutpostLag&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
137 bool m_outpostArnHasBeenSet =
false;
140 bool m_ownerIdHasBeenSet =
false;
143 bool m_stateHasBeenSet =
false;
146 bool m_outpostLagIdHasBeenSet =
false;
149 bool m_localGatewayVirtualInterfaceIdsHasBeenSet =
false;
152 bool m_serviceLinkVirtualInterfaceIdsHasBeenSet =
false;
155 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