/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubRefactorSpaces { namespace Model { /** *

The summary of the configuration for the URL endpoint type.

See * Also:

AWS * API Reference

*/ class UrlEndpointSummary { public: AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointSummary(); AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline const Aws::String& GetHealthUrl() const{ return m_healthUrl; } /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline bool HealthUrlHasBeenSet() const { return m_healthUrlHasBeenSet; } /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline void SetHealthUrl(const Aws::String& value) { m_healthUrlHasBeenSet = true; m_healthUrl = value; } /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline void SetHealthUrl(Aws::String&& value) { m_healthUrlHasBeenSet = true; m_healthUrl = std::move(value); } /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline void SetHealthUrl(const char* value) { m_healthUrlHasBeenSet = true; m_healthUrl.assign(value); } /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline UrlEndpointSummary& WithHealthUrl(const Aws::String& value) { SetHealthUrl(value); return *this;} /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline UrlEndpointSummary& WithHealthUrl(Aws::String&& value) { SetHealthUrl(std::move(value)); return *this;} /** *

The health check URL of the URL endpoint type. If the URL is a public * endpoint, the HealthUrl must also be a public endpoint. If the URL * is a private endpoint inside a virtual private cloud (VPC), the health URL must * also be a private endpoint, and the host must be the same as the URL.

*/ inline UrlEndpointSummary& WithHealthUrl(const char* value) { SetHealthUrl(value); return *this;} /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline UrlEndpointSummary& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline UrlEndpointSummary& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The URL to route traffic to. The URL must be an rfc3986-formatted URL. * If the host is a domain name, the name must be resolvable over the public * internet. If the scheme is https, the top level domain of the host * must be listed in the IANA root * zone database.

*/ inline UrlEndpointSummary& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_healthUrl; bool m_healthUrlHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws