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/LocalGatewayRouteTableMode.h>
12#include <aws/ec2/model/StateReason.h>
13#include <aws/ec2/model/Tag.h>
46 template <
typename LocalGatewayRouteTableIdT = Aws::String>
48 m_localGatewayRouteTableIdHasBeenSet =
true;
49 m_localGatewayRouteTableId = std::forward<LocalGatewayRouteTableIdT>(value);
51 template <
typename LocalGatewayRouteTableIdT = Aws::String>
64 template <
typename LocalGatewayRouteTableArnT = Aws::String>
66 m_localGatewayRouteTableArnHasBeenSet =
true;
67 m_localGatewayRouteTableArn = std::forward<LocalGatewayRouteTableArnT>(value);
69 template <
typename LocalGatewayRouteTableArnT = Aws::String>
82 template <
typename LocalGatewayIdT = Aws::String>
84 m_localGatewayIdHasBeenSet =
true;
85 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
87 template <
typename LocalGatewayIdT = Aws::String>
100 template <
typename OutpostArnT = Aws::String>
102 m_outpostArnHasBeenSet =
true;
103 m_outpostArn = std::forward<OutpostArnT>(value);
105 template <
typename OutpostArnT = Aws::String>
119 template <
typename OwnerIdT = Aws::String>
121 m_ownerIdHasBeenSet =
true;
122 m_ownerId = std::forward<OwnerIdT>(value);
124 template <
typename OwnerIdT = Aws::String>
137 template <
typename StateT = Aws::String>
139 m_stateHasBeenSet =
true;
140 m_state = std::forward<StateT>(value);
142 template <
typename StateT = Aws::String>
144 SetState(std::forward<StateT>(value));
155 template <
typename TagsT = Aws::Vector<Tag>>
157 m_tagsHasBeenSet =
true;
158 m_tags = std::forward<TagsT>(value);
160 template <
typename TagsT = Aws::Vector<Tag>>
162 SetTags(std::forward<TagsT>(value));
165 template <
typename TagsT = Tag>
167 m_tagsHasBeenSet =
true;
168 m_tags.emplace_back(std::forward<TagsT>(value));
180 m_modeHasBeenSet =
true;
195 template <
typename StateReasonT = StateReason>
197 m_stateReasonHasBeenSet =
true;
198 m_stateReason = std::forward<StateReasonT>(value);
200 template <
typename StateReasonT = StateReason>
223 StateReason m_stateReason;
224 bool m_localGatewayRouteTableIdHasBeenSet =
false;
225 bool m_localGatewayRouteTableArnHasBeenSet =
false;
226 bool m_localGatewayIdHasBeenSet =
false;
227 bool m_outpostArnHasBeenSet =
false;
228 bool m_ownerIdHasBeenSet =
false;
229 bool m_stateHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
231 bool m_modeHasBeenSet =
false;
232 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