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 LocalGatewayIdT = Aws::String>
51 void SetLocalGatewayId(LocalGatewayIdT&& value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId = std::forward<LocalGatewayIdT>(value); }
52 template<
typename LocalGatewayIdT = Aws::String>
62 template<
typename OutpostArnT = Aws::String>
63 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet =
true; m_outpostArn = std::forward<OutpostArnT>(value); }
64 template<
typename OutpostArnT = Aws::String>
74 template<
typename OwnerIdT = Aws::String>
75 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
76 template<
typename OwnerIdT = Aws::String>
86 template<
typename StateT = Aws::String>
87 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
88 template<
typename StateT = Aws::String>
98 template<
typename TagsT = Aws::Vector<Tag>>
99 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
100 template<
typename TagsT = Aws::Vector<Tag>>
102 template<
typename TagsT = Tag>
103 LocalGateway&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
108 bool m_localGatewayIdHasBeenSet =
false;
111 bool m_outpostArnHasBeenSet =
false;
114 bool m_ownerIdHasBeenSet =
false;
117 bool m_stateHasBeenSet =
false;
120 bool m_tagsHasBeenSet =
false;
AWS_EC2_API LocalGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(StateT &&value)
const Aws::Vector< Tag > & GetTags() const
bool OutpostArnHasBeenSet() const
bool OwnerIdHasBeenSet() const
LocalGateway & WithLocalGatewayId(LocalGatewayIdT &&value)
bool StateHasBeenSet() const
void SetLocalGatewayId(LocalGatewayIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetState() const
LocalGateway & WithOutpostArn(OutpostArnT &&value)
LocalGateway & AddTags(TagsT &&value)
const Aws::String & GetOutpostArn() const
LocalGateway & WithTags(TagsT &&value)
AWS_EC2_API LocalGateway()=default
void SetTags(TagsT &&value)
void SetOutpostArn(OutpostArnT &&value)
LocalGateway & WithOwnerId(OwnerIdT &&value)
bool LocalGatewayIdHasBeenSet() const
LocalGateway & WithState(StateT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetOwnerId() const
const Aws::String & GetLocalGatewayId() const
AWS_EC2_API LocalGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOwnerId(OwnerIdT &&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