7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/NetworkManagerRequest.h>
11#include <aws/networkmanager/NetworkManager_EXPORTS.h>
12#include <aws/networkmanager/model/ConnectAttachmentOptions.h>
13#include <aws/networkmanager/model/NatGatewaySupportValue.h>
14#include <aws/networkmanager/model/NatRuleRequest.h>
15#include <aws/networkmanager/model/Tag.h>
20namespace NetworkManager {
43 template <
typename CoreNetworkIdT = Aws::String>
45 m_coreNetworkIdHasBeenSet =
true;
46 m_coreNetworkId = std::forward<CoreNetworkIdT>(value);
48 template <
typename CoreNetworkIdT = Aws::String>
61 template <
typename EdgeLocationT = Aws::String>
63 m_edgeLocationHasBeenSet =
true;
64 m_edgeLocation = std::forward<EdgeLocationT>(value);
66 template <
typename EdgeLocationT = Aws::String>
79 template <
typename TransportAttachmentIdT = Aws::String>
81 m_transportAttachmentIdHasBeenSet =
true;
82 m_transportAttachmentId = std::forward<TransportAttachmentIdT>(value);
84 template <
typename TransportAttachmentIdT = Aws::String>
98 template <
typename RoutingPolicyLabelT = Aws::String>
100 m_routingPolicyLabelHasBeenSet =
true;
101 m_routingPolicyLabel = std::forward<RoutingPolicyLabelT>(value);
103 template <
typename RoutingPolicyLabelT = Aws::String>
122 m_natGatewaySupportHasBeenSet =
true;
123 m_natGatewaySupport = value;
137 template <
typename NatGatewayRulesT = Aws::Vector<NatRuleRequest>>
139 m_natGatewayRulesHasBeenSet =
true;
140 m_natGatewayRules = std::forward<NatGatewayRulesT>(value);
142 template <
typename NatGatewayRulesT = Aws::Vector<NatRuleRequest>>
147 template <
typename NatGatewayRulesT = NatRuleRequest>
149 m_natGatewayRulesHasBeenSet =
true;
150 m_natGatewayRules.emplace_back(std::forward<NatGatewayRulesT>(value));
161 template <
typename OptionsT = ConnectAttachmentOptions>
163 m_optionsHasBeenSet =
true;
164 m_options = std::forward<OptionsT>(value);
166 template <
typename OptionsT = ConnectAttachmentOptions>
179 template <
typename TagsT = Aws::Vector<Tag>>
181 m_tagsHasBeenSet =
true;
182 m_tags = std::forward<TagsT>(value);
184 template <
typename TagsT = Aws::Vector<Tag>>
186 SetTags(std::forward<TagsT>(value));
189 template <
typename TagsT = Tag>
191 m_tagsHasBeenSet =
true;
192 m_tags.emplace_back(std::forward<TagsT>(value));
203 template <
typename ClientTokenT = Aws::String>
205 m_clientTokenHasBeenSet =
true;
206 m_clientToken = std::forward<ClientTokenT>(value);
208 template <
typename ClientTokenT = Aws::String>
227 ConnectAttachmentOptions m_options;
232 bool m_coreNetworkIdHasBeenSet =
false;
233 bool m_edgeLocationHasBeenSet =
false;
234 bool m_transportAttachmentIdHasBeenSet =
false;
235 bool m_routingPolicyLabelHasBeenSet =
false;
236 bool m_natGatewaySupportHasBeenSet =
false;
237 bool m_natGatewayRulesHasBeenSet =
false;
238 bool m_optionsHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
240 bool m_clientTokenHasBeenSet =
true;
void SetRoutingPolicyLabel(RoutingPolicyLabelT &&value)
CreateConnectAttachmentRequest & WithCoreNetworkId(CoreNetworkIdT &&value)
void SetNatGatewayRules(NatGatewayRulesT &&value)
const Aws::Vector< Tag > & GetTags() const
bool OptionsHasBeenSet() const
CreateConnectAttachmentRequest & WithClientToken(ClientTokenT &&value)
bool NatGatewaySupportHasBeenSet() const
CreateConnectAttachmentRequest & WithTransportAttachmentId(TransportAttachmentIdT &&value)
bool RoutingPolicyLabelHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool NatGatewayRulesHasBeenSet() const
const Aws::String & GetCoreNetworkId() const
void SetNatGatewaySupport(NatGatewaySupportValue value)
bool TransportAttachmentIdHasBeenSet() const
CreateConnectAttachmentRequest & WithNatGatewayRules(NatGatewayRulesT &&value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
NatGatewaySupportValue GetNatGatewaySupport() const
const Aws::String & GetRoutingPolicyLabel() const
const ConnectAttachmentOptions & GetOptions() const
void SetTags(TagsT &&value)
CreateConnectAttachmentRequest & WithOptions(OptionsT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
CreateConnectAttachmentRequest & WithNatGatewaySupport(NatGatewaySupportValue value)
bool TagsHasBeenSet() const
void SetTransportAttachmentId(TransportAttachmentIdT &&value)
const Aws::String & GetEdgeLocation() const
bool CoreNetworkIdHasBeenSet() const
void SetCoreNetworkId(CoreNetworkIdT &&value)
void SetOptions(OptionsT &&value)
CreateConnectAttachmentRequest & WithRoutingPolicyLabel(RoutingPolicyLabelT &&value)
void SetEdgeLocation(EdgeLocationT &&value)
CreateConnectAttachmentRequest & AddTags(TagsT &&value)
bool EdgeLocationHasBeenSet() const
CreateConnectAttachmentRequest & AddNatGatewayRules(NatGatewayRulesT &&value)
const Aws::String & GetTransportAttachmentId() const
const Aws::Vector< NatRuleRequest > & GetNatGatewayRules() const
CreateConnectAttachmentRequest & WithTags(TagsT &&value)
CreateConnectAttachmentRequest & WithEdgeLocation(EdgeLocationT &&value)
AWS_NETWORKMANAGER_API CreateConnectAttachmentRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector