/** * 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 MediaTailor { namespace Model { /** *

The HTTP configuration for the source location.

See Also:

AWS * API Reference

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

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline const Aws::String& GetBaseUrl() const{ return m_baseUrl; } /** *

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline bool BaseUrlHasBeenSet() const { return m_baseUrlHasBeenSet; } /** *

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline void SetBaseUrl(const Aws::String& value) { m_baseUrlHasBeenSet = true; m_baseUrl = value; } /** *

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline void SetBaseUrl(Aws::String&& value) { m_baseUrlHasBeenSet = true; m_baseUrl = std::move(value); } /** *

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline void SetBaseUrl(const char* value) { m_baseUrlHasBeenSet = true; m_baseUrl.assign(value); } /** *

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline HttpConfiguration& WithBaseUrl(const Aws::String& value) { SetBaseUrl(value); return *this;} /** *

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline HttpConfiguration& WithBaseUrl(Aws::String&& value) { SetBaseUrl(std::move(value)); return *this;} /** *

The base URL for the source location host server. This string must include * the protocol, such as https://.

*/ inline HttpConfiguration& WithBaseUrl(const char* value) { SetBaseUrl(value); return *this;} private: Aws::String m_baseUrl; bool m_baseUrlHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws