/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace APIGateway { namespace Model { class AWS_APIGATEWAY_API TlsConfig { public: TlsConfig(); TlsConfig(Aws::Utils::Json::JsonView jsonValue); TlsConfig& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies whether or not API Gateway skips verification that the certificate * for an integration endpoint is issued by a supported * certificate authority. This isn’t recommended, but it enables you to use * certificates that are signed by private certificate authorities, or certificates * that are self-signed. If enabled, API Gateway still performs basic certificate * validation, which includes checking the certificate's expiration date, hostname, * and presence of a root certificate authority. Supported only for * HTTP and HTTP_PROXY integrations.

*/ inline bool GetInsecureSkipVerification() const{ return m_insecureSkipVerification; } /** *

Specifies whether or not API Gateway skips verification that the certificate * for an integration endpoint is issued by a supported * certificate authority. This isn’t recommended, but it enables you to use * certificates that are signed by private certificate authorities, or certificates * that are self-signed. If enabled, API Gateway still performs basic certificate * validation, which includes checking the certificate's expiration date, hostname, * and presence of a root certificate authority. Supported only for * HTTP and HTTP_PROXY integrations.

*/ inline bool InsecureSkipVerificationHasBeenSet() const { return m_insecureSkipVerificationHasBeenSet; } /** *

Specifies whether or not API Gateway skips verification that the certificate * for an integration endpoint is issued by a supported * certificate authority. This isn’t recommended, but it enables you to use * certificates that are signed by private certificate authorities, or certificates * that are self-signed. If enabled, API Gateway still performs basic certificate * validation, which includes checking the certificate's expiration date, hostname, * and presence of a root certificate authority. Supported only for * HTTP and HTTP_PROXY integrations.

*/ inline void SetInsecureSkipVerification(bool value) { m_insecureSkipVerificationHasBeenSet = true; m_insecureSkipVerification = value; } /** *

Specifies whether or not API Gateway skips verification that the certificate * for an integration endpoint is issued by a supported * certificate authority. This isn’t recommended, but it enables you to use * certificates that are signed by private certificate authorities, or certificates * that are self-signed. If enabled, API Gateway still performs basic certificate * validation, which includes checking the certificate's expiration date, hostname, * and presence of a root certificate authority. Supported only for * HTTP and HTTP_PROXY integrations.

*/ inline TlsConfig& WithInsecureSkipVerification(bool value) { SetInsecureSkipVerification(value); return *this;} private: bool m_insecureSkipVerification; bool m_insecureSkipVerificationHasBeenSet; }; } // namespace Model } // namespace APIGateway } // namespace Aws