/** * 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 configuration for the URL endpoint type.

See Also:

AWS * API Reference

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

The health check URL of the URL endpoint type.

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

The health check URL of the URL endpoint type.

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

The health check URL of the URL endpoint type.

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

The health check URL of the URL endpoint type.

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

The health check URL of the URL endpoint type.

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

The health check URL of the URL endpoint type.

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

The health check URL of the URL endpoint type.

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

The health check URL of the URL endpoint type.

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

The HTTP URL endpoint.

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

The HTTP URL endpoint.

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

The HTTP URL endpoint.

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

The HTTP URL endpoint.

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

The HTTP URL endpoint.

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

The HTTP URL endpoint.

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

The HTTP URL endpoint.

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

The HTTP URL endpoint.

*/ inline UrlEndpointConfig& 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