7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
10#include <aws/network-firewall/model/Address.h>
11#include <aws/network-firewall/model/DecryptionAction.h>
12#include <aws/network-firewall/model/DomainMatch.h>
13#include <aws/network-firewall/model/PortRange.h>
14#include <aws/network-firewall/model/TLSInspectionScopeDeploymentMode.h>
24namespace NetworkFirewall {
39 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename SourcesT = Aws::Vector<Address>>
50 m_sourcesHasBeenSet =
true;
51 m_sources = std::forward<SourcesT>(value);
53 template <
typename SourcesT = Aws::Vector<Address>>
58 template <
typename SourcesT = Address>
60 m_sourcesHasBeenSet =
true;
61 m_sources.emplace_back(std::forward<SourcesT>(value));
73 template <
typename DestinationsT = Aws::Vector<Address>>
75 m_destinationsHasBeenSet =
true;
76 m_destinations = std::forward<DestinationsT>(value);
78 template <
typename DestinationsT = Aws::Vector<Address>>
83 template <
typename DestinationsT = Address>
85 m_destinationsHasBeenSet =
true;
86 m_destinations.emplace_back(std::forward<DestinationsT>(value));
100 template <
typename SourcePortsT = Aws::Vector<PortRange>>
102 m_sourcePortsHasBeenSet =
true;
103 m_sourcePorts = std::forward<SourcePortsT>(value);
105 template <
typename SourcePortsT = Aws::Vector<PortRange>>
110 template <
typename SourcePortsT = PortRange>
112 m_sourcePortsHasBeenSet =
true;
113 m_sourcePorts.emplace_back(std::forward<SourcePortsT>(value));
127 template <
typename DestinationPortsT = Aws::Vector<PortRange>>
129 m_destinationPortsHasBeenSet =
true;
130 m_destinationPorts = std::forward<DestinationPortsT>(value);
132 template <
typename DestinationPortsT = Aws::Vector<PortRange>>
137 template <
typename DestinationPortsT = PortRange>
139 m_destinationPortsHasBeenSet =
true;
140 m_destinationPorts.emplace_back(std::forward<DestinationPortsT>(value));
153 template <
typename ProtocolsT = Aws::Vector<
int64_t>>
155 m_protocolsHasBeenSet =
true;
156 m_protocols = std::forward<ProtocolsT>(value);
158 template <
typename ProtocolsT = Aws::Vector<
int64_t>>
164 m_protocolsHasBeenSet =
true;
165 m_protocols.push_back(value);
181 template <
typename DomainMatchT = DomainMatch>
183 m_domainMatchHasBeenSet =
true;
184 m_domainMatch = std::forward<DomainMatchT>(value);
186 template <
typename DomainMatchT = DomainMatch>
203 m_decryptionActionHasBeenSet =
true;
204 m_decryptionAction = value;
226 m_deploymentModeHasBeenSet =
true;
227 m_deploymentMode = value;
250 bool m_sourcesHasBeenSet =
false;
251 bool m_destinationsHasBeenSet =
false;
252 bool m_sourcePortsHasBeenSet =
false;
253 bool m_destinationPortsHasBeenSet =
false;
254 bool m_protocolsHasBeenSet =
false;
255 bool m_domainMatchHasBeenSet =
false;
256 bool m_decryptionActionHasBeenSet =
false;
257 bool m_deploymentModeHasBeenSet =
false;
bool SourcesHasBeenSet() const
bool DeploymentModeHasBeenSet() const
ServerCertificateScope & WithDomainMatch(DomainMatchT &&value)
ServerCertificateScope & WithSourcePorts(SourcePortsT &&value)
void SetDestinations(DestinationsT &&value)
bool DomainMatchHasBeenSet() const
void SetSources(SourcesT &&value)
const DomainMatch & GetDomainMatch() const
bool DestinationsHasBeenSet() const
bool ProtocolsHasBeenSet() const
ServerCertificateScope & AddDestinationPorts(DestinationPortsT &&value)
ServerCertificateScope & AddSources(SourcesT &&value)
ServerCertificateScope & AddSourcePorts(SourcePortsT &&value)
void SetProtocols(ProtocolsT &&value)
bool DestinationPortsHasBeenSet() const
void SetDeploymentMode(TLSInspectionScopeDeploymentMode value)
bool DecryptionActionHasBeenSet() const
ServerCertificateScope & WithDeploymentMode(TLSInspectionScopeDeploymentMode value)
void SetDecryptionAction(DecryptionAction value)
const Aws::Vector< PortRange > & GetDestinationPorts() const
ServerCertificateScope & WithDestinationPorts(DestinationPortsT &&value)
const Aws::Vector< Address > & GetSources() const
AWS_NETWORKFIREWALL_API ServerCertificateScope()=default
ServerCertificateScope & AddProtocols(int64_t value)
ServerCertificateScope & AddDestinations(DestinationsT &&value)
ServerCertificateScope & WithDecryptionAction(DecryptionAction value)
AWS_NETWORKFIREWALL_API ServerCertificateScope(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< Address > & GetDestinations() const
DecryptionAction GetDecryptionAction() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetSourcePorts(SourcePortsT &&value)
const Aws::Vector< PortRange > & GetSourcePorts() const
ServerCertificateScope & WithSources(SourcesT &&value)
void SetDomainMatch(DomainMatchT &&value)
AWS_NETWORKFIREWALL_API ServerCertificateScope & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool SourcePortsHasBeenSet() const
void SetDestinationPorts(DestinationPortsT &&value)
ServerCertificateScope & WithDestinations(DestinationsT &&value)
ServerCertificateScope & WithProtocols(ProtocolsT &&value)
const Aws::Vector< int64_t > & GetProtocols() const
TLSInspectionScopeDeploymentMode GetDeploymentMode() const
TLSInspectionScopeDeploymentMode
std::vector< T, Aws::Allocator< T > > Vector