/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace NetworkFirewall { namespace Model { class DescribeTLSInspectionConfigurationResult { public: AWS_NETWORKFIREWALL_API DescribeTLSInspectionConfigurationResult(); AWS_NETWORKFIREWALL_API DescribeTLSInspectionConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_NETWORKFIREWALL_API DescribeTLSInspectionConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A token used for optimistic locking. Network Firewall returns a token to your * requests that access the TLS inspection configuration. The token marks the state * of the TLS inspection configuration resource at the time of the request.

*

To make changes to the TLS inspection configuration, you provide the token in * your request. Network Firewall uses the token to ensure that the TLS inspection * configuration hasn't changed since you last retrieved it. If it has changed, the * operation fails with an InvalidTokenException. If this happens, * retrieve the TLS inspection configuration again to get a current copy of it with * a current token. Reapply your changes as needed, then try the operation again * using the new token.

*/ inline const Aws::String& GetUpdateToken() const{ return m_updateToken; } /** *

A token used for optimistic locking. Network Firewall returns a token to your * requests that access the TLS inspection configuration. The token marks the state * of the TLS inspection configuration resource at the time of the request.

*

To make changes to the TLS inspection configuration, you provide the token in * your request. Network Firewall uses the token to ensure that the TLS inspection * configuration hasn't changed since you last retrieved it. If it has changed, the * operation fails with an InvalidTokenException. If this happens, * retrieve the TLS inspection configuration again to get a current copy of it with * a current token. Reapply your changes as needed, then try the operation again * using the new token.

*/ inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; } /** *

A token used for optimistic locking. Network Firewall returns a token to your * requests that access the TLS inspection configuration. The token marks the state * of the TLS inspection configuration resource at the time of the request.

*

To make changes to the TLS inspection configuration, you provide the token in * your request. Network Firewall uses the token to ensure that the TLS inspection * configuration hasn't changed since you last retrieved it. If it has changed, the * operation fails with an InvalidTokenException. If this happens, * retrieve the TLS inspection configuration again to get a current copy of it with * a current token. Reapply your changes as needed, then try the operation again * using the new token.

*/ inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); } /** *

A token used for optimistic locking. Network Firewall returns a token to your * requests that access the TLS inspection configuration. The token marks the state * of the TLS inspection configuration resource at the time of the request.

*

To make changes to the TLS inspection configuration, you provide the token in * your request. Network Firewall uses the token to ensure that the TLS inspection * configuration hasn't changed since you last retrieved it. If it has changed, the * operation fails with an InvalidTokenException. If this happens, * retrieve the TLS inspection configuration again to get a current copy of it with * a current token. Reapply your changes as needed, then try the operation again * using the new token.

*/ inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); } /** *

A token used for optimistic locking. Network Firewall returns a token to your * requests that access the TLS inspection configuration. The token marks the state * of the TLS inspection configuration resource at the time of the request.

*

To make changes to the TLS inspection configuration, you provide the token in * your request. Network Firewall uses the token to ensure that the TLS inspection * configuration hasn't changed since you last retrieved it. If it has changed, the * operation fails with an InvalidTokenException. If this happens, * retrieve the TLS inspection configuration again to get a current copy of it with * a current token. Reapply your changes as needed, then try the operation again * using the new token.

*/ inline DescribeTLSInspectionConfigurationResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;} /** *

A token used for optimistic locking. Network Firewall returns a token to your * requests that access the TLS inspection configuration. The token marks the state * of the TLS inspection configuration resource at the time of the request.

*

To make changes to the TLS inspection configuration, you provide the token in * your request. Network Firewall uses the token to ensure that the TLS inspection * configuration hasn't changed since you last retrieved it. If it has changed, the * operation fails with an InvalidTokenException. If this happens, * retrieve the TLS inspection configuration again to get a current copy of it with * a current token. Reapply your changes as needed, then try the operation again * using the new token.

*/ inline DescribeTLSInspectionConfigurationResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;} /** *

A token used for optimistic locking. Network Firewall returns a token to your * requests that access the TLS inspection configuration. The token marks the state * of the TLS inspection configuration resource at the time of the request.

*

To make changes to the TLS inspection configuration, you provide the token in * your request. Network Firewall uses the token to ensure that the TLS inspection * configuration hasn't changed since you last retrieved it. If it has changed, the * operation fails with an InvalidTokenException. If this happens, * retrieve the TLS inspection configuration again to get a current copy of it with * a current token. Reapply your changes as needed, then try the operation again * using the new token.

*/ inline DescribeTLSInspectionConfigurationResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;} /** *

The object that defines a TLS inspection configuration. This, along with * TLSInspectionConfigurationResponse, define the TLS inspection * configuration. You can retrieve all objects for a TLS inspection configuration * by calling DescribeTLSInspectionConfiguration.

Network Firewall * uses a TLS inspection configuration to decrypt traffic. Network Firewall * re-encrypts the traffic before sending it to its destination.

To use a * TLS inspection configuration, you add it to a Network Firewall firewall policy, * then you apply the firewall policy to a firewall. Network Firewall acts as a * proxy service to decrypt and inspect inbound traffic. You can reference a TLS * inspection configuration from more than one firewall policy, and you can use a * firewall policy in more than one firewall. For more information about using TLS * inspection configurations, see Decrypting * SSL/TLS traffic with TLS inspection configurations in the Network * Firewall Developer Guide.

*/ inline const TLSInspectionConfiguration& GetTLSInspectionConfiguration() const{ return m_tLSInspectionConfiguration; } /** *

The object that defines a TLS inspection configuration. This, along with * TLSInspectionConfigurationResponse, define the TLS inspection * configuration. You can retrieve all objects for a TLS inspection configuration * by calling DescribeTLSInspectionConfiguration.

Network Firewall * uses a TLS inspection configuration to decrypt traffic. Network Firewall * re-encrypts the traffic before sending it to its destination.

To use a * TLS inspection configuration, you add it to a Network Firewall firewall policy, * then you apply the firewall policy to a firewall. Network Firewall acts as a * proxy service to decrypt and inspect inbound traffic. You can reference a TLS * inspection configuration from more than one firewall policy, and you can use a * firewall policy in more than one firewall. For more information about using TLS * inspection configurations, see Decrypting * SSL/TLS traffic with TLS inspection configurations in the Network * Firewall Developer Guide.

*/ inline void SetTLSInspectionConfiguration(const TLSInspectionConfiguration& value) { m_tLSInspectionConfiguration = value; } /** *

The object that defines a TLS inspection configuration. This, along with * TLSInspectionConfigurationResponse, define the TLS inspection * configuration. You can retrieve all objects for a TLS inspection configuration * by calling DescribeTLSInspectionConfiguration.

Network Firewall * uses a TLS inspection configuration to decrypt traffic. Network Firewall * re-encrypts the traffic before sending it to its destination.

To use a * TLS inspection configuration, you add it to a Network Firewall firewall policy, * then you apply the firewall policy to a firewall. Network Firewall acts as a * proxy service to decrypt and inspect inbound traffic. You can reference a TLS * inspection configuration from more than one firewall policy, and you can use a * firewall policy in more than one firewall. For more information about using TLS * inspection configurations, see Decrypting * SSL/TLS traffic with TLS inspection configurations in the Network * Firewall Developer Guide.

*/ inline void SetTLSInspectionConfiguration(TLSInspectionConfiguration&& value) { m_tLSInspectionConfiguration = std::move(value); } /** *

The object that defines a TLS inspection configuration. This, along with * TLSInspectionConfigurationResponse, define the TLS inspection * configuration. You can retrieve all objects for a TLS inspection configuration * by calling DescribeTLSInspectionConfiguration.

Network Firewall * uses a TLS inspection configuration to decrypt traffic. Network Firewall * re-encrypts the traffic before sending it to its destination.

To use a * TLS inspection configuration, you add it to a Network Firewall firewall policy, * then you apply the firewall policy to a firewall. Network Firewall acts as a * proxy service to decrypt and inspect inbound traffic. You can reference a TLS * inspection configuration from more than one firewall policy, and you can use a * firewall policy in more than one firewall. For more information about using TLS * inspection configurations, see Decrypting * SSL/TLS traffic with TLS inspection configurations in the Network * Firewall Developer Guide.

*/ inline DescribeTLSInspectionConfigurationResult& WithTLSInspectionConfiguration(const TLSInspectionConfiguration& value) { SetTLSInspectionConfiguration(value); return *this;} /** *

The object that defines a TLS inspection configuration. This, along with * TLSInspectionConfigurationResponse, define the TLS inspection * configuration. You can retrieve all objects for a TLS inspection configuration * by calling DescribeTLSInspectionConfiguration.

Network Firewall * uses a TLS inspection configuration to decrypt traffic. Network Firewall * re-encrypts the traffic before sending it to its destination.

To use a * TLS inspection configuration, you add it to a Network Firewall firewall policy, * then you apply the firewall policy to a firewall. Network Firewall acts as a * proxy service to decrypt and inspect inbound traffic. You can reference a TLS * inspection configuration from more than one firewall policy, and you can use a * firewall policy in more than one firewall. For more information about using TLS * inspection configurations, see Decrypting * SSL/TLS traffic with TLS inspection configurations in the Network * Firewall Developer Guide.

*/ inline DescribeTLSInspectionConfigurationResult& WithTLSInspectionConfiguration(TLSInspectionConfiguration&& value) { SetTLSInspectionConfiguration(std::move(value)); return *this;} /** *

The high-level properties of a TLS inspection configuration. This, along with * the TLSInspectionConfiguration, define the TLS inspection configuration. * You can retrieve all objects for a TLS inspection configuration by calling * DescribeTLSInspectionConfiguration.

*/ inline const TLSInspectionConfigurationResponse& GetTLSInspectionConfigurationResponse() const{ return m_tLSInspectionConfigurationResponse; } /** *

The high-level properties of a TLS inspection configuration. This, along with * the TLSInspectionConfiguration, define the TLS inspection configuration. * You can retrieve all objects for a TLS inspection configuration by calling * DescribeTLSInspectionConfiguration.

*/ inline void SetTLSInspectionConfigurationResponse(const TLSInspectionConfigurationResponse& value) { m_tLSInspectionConfigurationResponse = value; } /** *

The high-level properties of a TLS inspection configuration. This, along with * the TLSInspectionConfiguration, define the TLS inspection configuration. * You can retrieve all objects for a TLS inspection configuration by calling * DescribeTLSInspectionConfiguration.

*/ inline void SetTLSInspectionConfigurationResponse(TLSInspectionConfigurationResponse&& value) { m_tLSInspectionConfigurationResponse = std::move(value); } /** *

The high-level properties of a TLS inspection configuration. This, along with * the TLSInspectionConfiguration, define the TLS inspection configuration. * You can retrieve all objects for a TLS inspection configuration by calling * DescribeTLSInspectionConfiguration.

*/ inline DescribeTLSInspectionConfigurationResult& WithTLSInspectionConfigurationResponse(const TLSInspectionConfigurationResponse& value) { SetTLSInspectionConfigurationResponse(value); return *this;} /** *

The high-level properties of a TLS inspection configuration. This, along with * the TLSInspectionConfiguration, define the TLS inspection configuration. * You can retrieve all objects for a TLS inspection configuration by calling * DescribeTLSInspectionConfiguration.

*/ inline DescribeTLSInspectionConfigurationResult& WithTLSInspectionConfigurationResponse(TLSInspectionConfigurationResponse&& value) { SetTLSInspectionConfigurationResponse(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeTLSInspectionConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTLSInspectionConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTLSInspectionConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_updateToken; TLSInspectionConfiguration m_tLSInspectionConfiguration; TLSInspectionConfigurationResponse m_tLSInspectionConfigurationResponse; Aws::String m_requestId; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws