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

The Liquid template for the worker user interface.

See Also:

* AWS * API Reference

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

The content of the Liquid template for the worker user interface.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The content of the Liquid template for the worker user interface.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The content of the Liquid template for the worker user interface.

*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The content of the Liquid template for the worker user interface.

*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The content of the Liquid template for the worker user interface.

*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *

The content of the Liquid template for the worker user interface.

*/ inline UiTemplate& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The content of the Liquid template for the worker user interface.

*/ inline UiTemplate& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The content of the Liquid template for the worker user interface.

*/ inline UiTemplate& WithContent(const char* value) { SetContent(value); return *this;} private: Aws::String m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws