/** * 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 { /** *

Container for user interface template information.

See Also:

* AWS * API Reference

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

The URL for the user interface template.

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

The URL for the user interface template.

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

The URL for the user interface template.

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

The URL for the user interface template.

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

The URL for the user interface template.

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

The URL for the user interface template.

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

The URL for the user interface template.

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

The URL for the user interface template.

*/ inline UiTemplateInfo& WithUrl(const char* value) { SetUrl(value); return *this;} /** *

The SHA-256 digest of the contents of the template.

*/ inline const Aws::String& GetContentSha256() const{ return m_contentSha256; } /** *

The SHA-256 digest of the contents of the template.

*/ inline bool ContentSha256HasBeenSet() const { return m_contentSha256HasBeenSet; } /** *

The SHA-256 digest of the contents of the template.

*/ inline void SetContentSha256(const Aws::String& value) { m_contentSha256HasBeenSet = true; m_contentSha256 = value; } /** *

The SHA-256 digest of the contents of the template.

*/ inline void SetContentSha256(Aws::String&& value) { m_contentSha256HasBeenSet = true; m_contentSha256 = std::move(value); } /** *

The SHA-256 digest of the contents of the template.

*/ inline void SetContentSha256(const char* value) { m_contentSha256HasBeenSet = true; m_contentSha256.assign(value); } /** *

The SHA-256 digest of the contents of the template.

*/ inline UiTemplateInfo& WithContentSha256(const Aws::String& value) { SetContentSha256(value); return *this;} /** *

The SHA-256 digest of the contents of the template.

*/ inline UiTemplateInfo& WithContentSha256(Aws::String&& value) { SetContentSha256(std::move(value)); return *this;} /** *

The SHA-256 digest of the contents of the template.

*/ inline UiTemplateInfo& WithContentSha256(const char* value) { SetContentSha256(value); return *this;} private: Aws::String m_url; bool m_urlHasBeenSet = false; Aws::String m_contentSha256; bool m_contentSha256HasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws