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

Metadata properties of the tracking entity, trial, or trial * component.

See Also:

AWS * API Reference

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

The commit ID.

*/ inline const Aws::String& GetCommitId() const{ return m_commitId; } /** *

The commit ID.

*/ inline bool CommitIdHasBeenSet() const { return m_commitIdHasBeenSet; } /** *

The commit ID.

*/ inline void SetCommitId(const Aws::String& value) { m_commitIdHasBeenSet = true; m_commitId = value; } /** *

The commit ID.

*/ inline void SetCommitId(Aws::String&& value) { m_commitIdHasBeenSet = true; m_commitId = std::move(value); } /** *

The commit ID.

*/ inline void SetCommitId(const char* value) { m_commitIdHasBeenSet = true; m_commitId.assign(value); } /** *

The commit ID.

*/ inline MetadataProperties& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;} /** *

The commit ID.

*/ inline MetadataProperties& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;} /** *

The commit ID.

*/ inline MetadataProperties& WithCommitId(const char* value) { SetCommitId(value); return *this;} /** *

The repository.

*/ inline const Aws::String& GetRepository() const{ return m_repository; } /** *

The repository.

*/ inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; } /** *

The repository.

*/ inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; } /** *

The repository.

*/ inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); } /** *

The repository.

*/ inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); } /** *

The repository.

*/ inline MetadataProperties& WithRepository(const Aws::String& value) { SetRepository(value); return *this;} /** *

The repository.

*/ inline MetadataProperties& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;} /** *

The repository.

*/ inline MetadataProperties& WithRepository(const char* value) { SetRepository(value); return *this;} /** *

The entity this entity was generated by.

*/ inline const Aws::String& GetGeneratedBy() const{ return m_generatedBy; } /** *

The entity this entity was generated by.

*/ inline bool GeneratedByHasBeenSet() const { return m_generatedByHasBeenSet; } /** *

The entity this entity was generated by.

*/ inline void SetGeneratedBy(const Aws::String& value) { m_generatedByHasBeenSet = true; m_generatedBy = value; } /** *

The entity this entity was generated by.

*/ inline void SetGeneratedBy(Aws::String&& value) { m_generatedByHasBeenSet = true; m_generatedBy = std::move(value); } /** *

The entity this entity was generated by.

*/ inline void SetGeneratedBy(const char* value) { m_generatedByHasBeenSet = true; m_generatedBy.assign(value); } /** *

The entity this entity was generated by.

*/ inline MetadataProperties& WithGeneratedBy(const Aws::String& value) { SetGeneratedBy(value); return *this;} /** *

The entity this entity was generated by.

*/ inline MetadataProperties& WithGeneratedBy(Aws::String&& value) { SetGeneratedBy(std::move(value)); return *this;} /** *

The entity this entity was generated by.

*/ inline MetadataProperties& WithGeneratedBy(const char* value) { SetGeneratedBy(value); return *this;} /** *

The project ID.

*/ inline const Aws::String& GetProjectId() const{ return m_projectId; } /** *

The project ID.

*/ inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; } /** *

The project ID.

*/ inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; } /** *

The project ID.

*/ inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); } /** *

The project ID.

*/ inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); } /** *

The project ID.

*/ inline MetadataProperties& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} /** *

The project ID.

*/ inline MetadataProperties& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} /** *

The project ID.

*/ inline MetadataProperties& WithProjectId(const char* value) { SetProjectId(value); return *this;} private: Aws::String m_commitId; bool m_commitIdHasBeenSet = false; Aws::String m_repository; bool m_repositoryHasBeenSet = false; Aws::String m_generatedBy; bool m_generatedByHasBeenSet = false; Aws::String m_projectId; bool m_projectIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws