/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace NetworkFirewall { namespace Model { class CreateTLSInspectionConfigurationResult { public: AWS_NETWORKFIREWALL_API CreateTLSInspectionConfigurationResult(); AWS_NETWORKFIREWALL_API CreateTLSInspectionConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_NETWORKFIREWALL_API CreateTLSInspectionConfigurationResult& 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 CreateTLSInspectionConfigurationResult& 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 CreateTLSInspectionConfigurationResult& 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 CreateTLSInspectionConfigurationResult& WithUpdateToken(const char* value) { SetUpdateToken(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 CreateTLSInspectionConfigurationResult& 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 CreateTLSInspectionConfigurationResult& 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 CreateTLSInspectionConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateTLSInspectionConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateTLSInspectionConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_updateToken; TLSInspectionConfigurationResponse m_tLSInspectionConfigurationResponse; Aws::String m_requestId; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws