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/LocalGatewayRouteTableMode.h>
12#include <aws/ec2/model/StateReason.h>
13#include <aws/ec2/model/Tag.h>
52 template<
typename LocalGatewayRouteTableIdT = Aws::String>
53 void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT&& value) { m_localGatewayRouteTableIdHasBeenSet =
true; m_localGatewayRouteTableId = std::forward<LocalGatewayRouteTableIdT>(value); }
54 template<
typename LocalGatewayRouteTableIdT = Aws::String>
64 template<
typename LocalGatewayRouteTableArnT = Aws::String>
65 void SetLocalGatewayRouteTableArn(LocalGatewayRouteTableArnT&& value) { m_localGatewayRouteTableArnHasBeenSet =
true; m_localGatewayRouteTableArn = std::forward<LocalGatewayRouteTableArnT>(value); }
66 template<
typename LocalGatewayRouteTableArnT = Aws::String>
76 template<
typename LocalGatewayIdT = Aws::String>
77 void SetLocalGatewayId(LocalGatewayIdT&& value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId = std::forward<LocalGatewayIdT>(value); }
78 template<
typename LocalGatewayIdT = Aws::String>
88 template<
typename OutpostArnT = Aws::String>
89 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet =
true; m_outpostArn = std::forward<OutpostArnT>(value); }
90 template<
typename OutpostArnT = Aws::String>
101 template<
typename OwnerIdT = Aws::String>
102 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
103 template<
typename OwnerIdT = Aws::String>
113 template<
typename StateT = Aws::String>
114 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
115 template<
typename StateT = Aws::String>
125 template<
typename TagsT = Aws::Vector<Tag>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
127 template<
typename TagsT = Aws::Vector<Tag>>
129 template<
typename TagsT = Tag>
149 template<
typename StateReasonT = StateReason>
150 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
151 template<
typename StateReasonT = StateReason>
157 bool m_localGatewayRouteTableIdHasBeenSet =
false;
160 bool m_localGatewayRouteTableArnHasBeenSet =
false;
163 bool m_localGatewayIdHasBeenSet =
false;
166 bool m_outpostArnHasBeenSet =
false;
169 bool m_ownerIdHasBeenSet =
false;
172 bool m_stateHasBeenSet =
false;
175 bool m_tagsHasBeenSet =
false;
178 bool m_modeHasBeenSet =
false;
180 StateReason m_stateReason;
181 bool m_stateReasonHasBeenSet =
false;
LocalGatewayRouteTable & WithLocalGatewayId(LocalGatewayIdT &&value)
void SetOutpostArn(OutpostArnT &&value)
LocalGatewayRouteTable & AddTags(TagsT &&value)
void SetStateReason(StateReasonT &&value)
LocalGatewayRouteTableMode GetMode() const
const Aws::Vector< Tag > & GetTags() const
LocalGatewayRouteTable & WithMode(LocalGatewayRouteTableMode value)
bool OutpostArnHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetOwnerId() const
bool TagsHasBeenSet() const
LocalGatewayRouteTable & WithOutpostArn(OutpostArnT &&value)
void SetLocalGatewayRouteTableArn(LocalGatewayRouteTableArnT &&value)
void SetState(StateT &&value)
bool LocalGatewayIdHasBeenSet() const
bool LocalGatewayRouteTableArnHasBeenSet() const
LocalGatewayRouteTable & WithTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMode(LocalGatewayRouteTableMode value)
const StateReason & GetStateReason() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetState() const
bool LocalGatewayRouteTableIdHasBeenSet() const
AWS_EC2_API LocalGatewayRouteTable()=default
LocalGatewayRouteTable & WithLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&value)
LocalGatewayRouteTable & WithState(StateT &&value)
const Aws::String & GetLocalGatewayRouteTableArn() const
const Aws::String & GetLocalGatewayRouteTableId() const
LocalGatewayRouteTable & WithStateReason(StateReasonT &&value)
bool ModeHasBeenSet() const
AWS_EC2_API LocalGatewayRouteTable(const Aws::Utils::Xml::XmlNode &xmlNode)
bool OwnerIdHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
void SetLocalGatewayId(LocalGatewayIdT &&value)
bool StateHasBeenSet() const
LocalGatewayRouteTable & WithOwnerId(OwnerIdT &&value)
const Aws::String & GetLocalGatewayId() const
LocalGatewayRouteTable & WithLocalGatewayRouteTableArn(LocalGatewayRouteTableArnT &&value)
AWS_EC2_API LocalGatewayRouteTable & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOutpostArn() const
bool StateReasonHasBeenSet() const
void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&value)
LocalGatewayRouteTableMode
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