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

A Git repository that SageMaker automatically displays to users for cloning * in the JupyterServer application.

See Also:

AWS * API Reference

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

The URL of the Git repository.

*/ inline const Aws::String& GetRepositoryUrl() const{ return m_repositoryUrl; } /** *

The URL of the Git repository.

*/ inline bool RepositoryUrlHasBeenSet() const { return m_repositoryUrlHasBeenSet; } /** *

The URL of the Git repository.

*/ inline void SetRepositoryUrl(const Aws::String& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = value; } /** *

The URL of the Git repository.

*/ inline void SetRepositoryUrl(Aws::String&& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = std::move(value); } /** *

The URL of the Git repository.

*/ inline void SetRepositoryUrl(const char* value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl.assign(value); } /** *

The URL of the Git repository.

*/ inline CodeRepository& WithRepositoryUrl(const Aws::String& value) { SetRepositoryUrl(value); return *this;} /** *

The URL of the Git repository.

*/ inline CodeRepository& WithRepositoryUrl(Aws::String&& value) { SetRepositoryUrl(std::move(value)); return *this;} /** *

The URL of the Git repository.

*/ inline CodeRepository& WithRepositoryUrl(const char* value) { SetRepositoryUrl(value); return *this;} private: Aws::String m_repositoryUrl; bool m_repositoryUrlHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws