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/NatGatewaySupportValue.h>
13#include <aws/networkmanager/model/NatRuleRequest.h>
14#include <aws/networkmanager/model/Tag.h>
15#include <aws/networkmanager/model/VpcOptions.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 VpcArnT = Aws::String>
63 m_vpcArnHasBeenSet =
true;
64 m_vpcArn = std::forward<VpcArnT>(value);
66 template <
typename VpcArnT = Aws::String>
79 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
81 m_subnetArnsHasBeenSet =
true;
82 m_subnetArns = std::forward<SubnetArnsT>(value);
84 template <
typename SubnetArnsT = Aws::Vector<Aws::String>>
89 template <
typename SubnetArnsT = Aws::String>
91 m_subnetArnsHasBeenSet =
true;
92 m_subnetArns.emplace_back(std::forward<SubnetArnsT>(value));
103 template <
typename OptionsT = VpcOptions>
105 m_optionsHasBeenSet =
true;
106 m_options = std::forward<OptionsT>(value);
108 template <
typename OptionsT = VpcOptions>
122 template <
typename RoutingPolicyLabelT = Aws::String>
124 m_routingPolicyLabelHasBeenSet =
true;
125 m_routingPolicyLabel = std::forward<RoutingPolicyLabelT>(value);
127 template <
typename RoutingPolicyLabelT = Aws::String>
144 m_natGatewaySupportHasBeenSet =
true;
145 m_natGatewaySupport = value;
159 template <
typename NatGatewayRulesT = Aws::Vector<NatRuleRequest>>
161 m_natGatewayRulesHasBeenSet =
true;
162 m_natGatewayRules = std::forward<NatGatewayRulesT>(value);
164 template <
typename NatGatewayRulesT = Aws::Vector<NatRuleRequest>>
169 template <
typename NatGatewayRulesT = NatRuleRequest>
171 m_natGatewayRulesHasBeenSet =
true;
172 m_natGatewayRules.emplace_back(std::forward<NatGatewayRulesT>(value));
183 template <
typename TagsT = Aws::Vector<Tag>>
185 m_tagsHasBeenSet =
true;
186 m_tags = std::forward<TagsT>(value);
188 template <
typename TagsT = Aws::Vector<Tag>>
190 SetTags(std::forward<TagsT>(value));
193 template <
typename TagsT = Tag>
195 m_tagsHasBeenSet =
true;
196 m_tags.emplace_back(std::forward<TagsT>(value));
207 template <
typename ClientTokenT = Aws::String>
209 m_clientTokenHasBeenSet =
true;
210 m_clientToken = std::forward<ClientTokenT>(value);
212 template <
typename ClientTokenT = Aws::String>
236 bool m_coreNetworkIdHasBeenSet =
false;
237 bool m_vpcArnHasBeenSet =
false;
238 bool m_subnetArnsHasBeenSet =
false;
239 bool m_optionsHasBeenSet =
false;
240 bool m_routingPolicyLabelHasBeenSet =
false;
241 bool m_natGatewaySupportHasBeenSet =
false;
242 bool m_natGatewayRulesHasBeenSet =
false;
243 bool m_tagsHasBeenSet =
false;
244 bool m_clientTokenHasBeenSet =
true;
CreateVpcAttachmentRequest & WithClientToken(ClientTokenT &&value)
CreateVpcAttachmentRequest & AddSubnetArns(SubnetArnsT &&value)
bool SubnetArnsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetArns() const
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
NatGatewaySupportValue GetNatGatewaySupport() const
const Aws::Vector< Tag > & GetTags() const
AWS_NETWORKMANAGER_API CreateVpcAttachmentRequest()=default
bool VpcArnHasBeenSet() const
CreateVpcAttachmentRequest & WithRoutingPolicyLabel(RoutingPolicyLabelT &&value)
void SetRoutingPolicyLabel(RoutingPolicyLabelT &&value)
const Aws::Vector< NatRuleRequest > & GetNatGatewayRules() const
CreateVpcAttachmentRequest & AddTags(TagsT &&value)
const VpcOptions & GetOptions() const
void SetNatGatewaySupport(NatGatewaySupportValue value)
void SetSubnetArns(SubnetArnsT &&value)
bool CoreNetworkIdHasBeenSet() const
bool RoutingPolicyLabelHasBeenSet() const
void SetCoreNetworkId(CoreNetworkIdT &&value)
bool NatGatewaySupportHasBeenSet() const
CreateVpcAttachmentRequest & AddNatGatewayRules(NatGatewayRulesT &&value)
CreateVpcAttachmentRequest & WithCoreNetworkId(CoreNetworkIdT &&value)
void SetNatGatewayRules(NatGatewayRulesT &&value)
const Aws::String & GetCoreNetworkId() const
bool TagsHasBeenSet() const
CreateVpcAttachmentRequest & WithSubnetArns(SubnetArnsT &&value)
const Aws::String & GetVpcArn() const
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
void SetOptions(OptionsT &&value)
void SetClientToken(ClientTokenT &&value)
CreateVpcAttachmentRequest & WithOptions(OptionsT &&value)
const Aws::String & GetClientToken() const
bool OptionsHasBeenSet() const
const Aws::String & GetRoutingPolicyLabel() const
CreateVpcAttachmentRequest & WithNatGatewaySupport(NatGatewaySupportValue value)
CreateVpcAttachmentRequest & WithVpcArn(VpcArnT &&value)
bool NatGatewayRulesHasBeenSet() const
void SetVpcArn(VpcArnT &&value)
void SetTags(TagsT &&value)
CreateVpcAttachmentRequest & WithNatGatewayRules(NatGatewayRulesT &&value)
CreateVpcAttachmentRequest & WithTags(TagsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector