#pragma once #include "envoy/config/route/v3/route_components.pb.h" #include "envoy/router/router.h" namespace Envoy { namespace Router { class TlsContextMatchCriteriaImpl : public TlsContextMatchCriteria { public: TlsContextMatchCriteriaImpl( const envoy::config::route::v3::RouteMatch::TlsContextMatchOptions& options); const absl::optional& presented() const override { return presented_; } const absl::optional& validated() const override { return validated_; } private: absl::optional presented_; absl::optional validated_; }; } // namespace Router } // namespace Envoy