7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10#include <aws/networkmanager/model/NatGatewaySupportState.h>
11#include <aws/networkmanager/model/NatRule.h>
22namespace NetworkManager {
44 template <
typename AttachmentIdT = Aws::String>
46 m_attachmentIdHasBeenSet =
true;
47 m_attachmentId = std::forward<AttachmentIdT>(value);
49 template <
typename AttachmentIdT = Aws::String>
63 m_natGatewaySupportHasBeenSet =
true;
64 m_natGatewaySupport = value;
80 m_natSystemRouteSupportHasBeenSet =
true;
81 m_natSystemRouteSupport = value;
95 template <
typename NatGatewayRulesT = Aws::Vector<NatRule>>
97 m_natGatewayRulesHasBeenSet =
true;
98 m_natGatewayRules = std::forward<NatGatewayRulesT>(value);
100 template <
typename NatGatewayRulesT = Aws::Vector<NatRule>>
105 template <
typename NatGatewayRulesT = NatRule>
107 m_natGatewayRulesHasBeenSet =
true;
108 m_natGatewayRules.emplace_back(std::forward<NatGatewayRulesT>(value));
117 bool m_natSystemRouteSupport{
false};
120 bool m_attachmentIdHasBeenSet =
false;
121 bool m_natGatewaySupportHasBeenSet =
false;
122 bool m_natSystemRouteSupportHasBeenSet =
false;
123 bool m_natGatewayRulesHasBeenSet =
false;
AWS_NETWORKMANAGER_API AttachmentNatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NatGatewayRulesHasBeenSet() const
AttachmentNatConfiguration & AddNatGatewayRules(NatGatewayRulesT &&value)
void SetAttachmentId(AttachmentIdT &&value)
AttachmentNatConfiguration & WithNatGatewaySupport(NatGatewaySupportState value)
void SetNatGatewaySupport(NatGatewaySupportState value)
bool GetNatSystemRouteSupport() const
const Aws::Vector< NatRule > & GetNatGatewayRules() const
AWS_NETWORKMANAGER_API AttachmentNatConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetNatSystemRouteSupport(bool value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttachmentIdHasBeenSet() const
AttachmentNatConfiguration & WithAttachmentId(AttachmentIdT &&value)
void SetNatGatewayRules(NatGatewayRulesT &&value)
AWS_NETWORKMANAGER_API AttachmentNatConfiguration()=default
bool NatGatewaySupportHasBeenSet() const
const Aws::String & GetAttachmentId() const
AttachmentNatConfiguration & WithNatSystemRouteSupport(bool value)
NatGatewaySupportState GetNatGatewaySupport() const
bool NatSystemRouteSupportHasBeenSet() const
AttachmentNatConfiguration & WithNatGatewayRules(NatGatewayRulesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue