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 LocalGatewayIdT = Aws::String>
46 m_localGatewayIdHasBeenSet =
true;
47 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
49 template <
typename LocalGatewayIdT = Aws::String>
62 template <
typename OutpostArnT = Aws::String>
64 m_outpostArnHasBeenSet =
true;
65 m_outpostArn = std::forward<OutpostArnT>(value);
67 template <
typename OutpostArnT = Aws::String>
80 template <
typename OwnerIdT = Aws::String>
82 m_ownerIdHasBeenSet =
true;
83 m_ownerId = std::forward<OwnerIdT>(value);
85 template <
typename OwnerIdT = Aws::String>
98 template <
typename StateT = Aws::String>
100 m_stateHasBeenSet =
true;
101 m_state = std::forward<StateT>(value);
103 template <
typename StateT = Aws::String>
105 SetState(std::forward<StateT>(value));
116 template <
typename TagsT = Aws::Vector<Tag>>
118 m_tagsHasBeenSet =
true;
119 m_tags = std::forward<TagsT>(value);
121 template <
typename TagsT = Aws::Vector<Tag>>
123 SetTags(std::forward<TagsT>(value));
126 template <
typename TagsT = Tag>
128 m_tagsHasBeenSet =
true;
129 m_tags.emplace_back(std::forward<TagsT>(value));
143 bool m_localGatewayIdHasBeenSet =
false;
144 bool m_outpostArnHasBeenSet =
false;
145 bool m_ownerIdHasBeenSet =
false;
146 bool m_stateHasBeenSet =
false;
147 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