/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Information about a project.

See Also:

AWS * API Reference

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

The name of the project.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project.

*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *

The name of the project.

*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *

The name of the project.

*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *

The name of the project.

*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *

The name of the project.

*/ inline ProjectSummary& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project.

*/ inline ProjectSummary& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project.

*/ inline ProjectSummary& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

The description of the project.

*/ inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; } /** *

The description of the project.

*/ inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; } /** *

The description of the project.

*/ inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; } /** *

The description of the project.

*/ inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); } /** *

The description of the project.

*/ inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); } /** *

The description of the project.

*/ inline ProjectSummary& WithProjectDescription(const Aws::String& value) { SetProjectDescription(value); return *this;} /** *

The description of the project.

*/ inline ProjectSummary& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;} /** *

The description of the project.

*/ inline ProjectSummary& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;} /** *

The Amazon Resource Name (ARN) of the project.

*/ inline const Aws::String& GetProjectArn() const{ return m_projectArn; } /** *

The Amazon Resource Name (ARN) of the project.

*/ inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the project.

*/ inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; } /** *

The Amazon Resource Name (ARN) of the project.

*/ inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the project.

*/ inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the project.

*/ inline ProjectSummary& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the project.

*/ inline ProjectSummary& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the project.

*/ inline ProjectSummary& WithProjectArn(const char* value) { SetProjectArn(value); return *this;} /** *

The ID of the project.

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

The ID of the project.

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

The ID of the project.

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

The ID of the project.

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

The ID of the project.

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

The ID of the project.

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

The ID of the project.

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

The ID of the project.

*/ inline ProjectSummary& WithProjectId(const char* value) { SetProjectId(value); return *this;} /** *

The time that the project was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time that the project was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time that the project was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time that the project was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time that the project was created.

*/ inline ProjectSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time that the project was created.

*/ inline ProjectSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The status of the project.

*/ inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; } /** *

The status of the project.

*/ inline bool ProjectStatusHasBeenSet() const { return m_projectStatusHasBeenSet; } /** *

The status of the project.

*/ inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; } /** *

The status of the project.

*/ inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatusHasBeenSet = true; m_projectStatus = std::move(value); } /** *

The status of the project.

*/ inline ProjectSummary& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;} /** *

The status of the project.

*/ inline ProjectSummary& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} private: Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::String m_projectDescription; bool m_projectDescriptionHasBeenSet = false; Aws::String m_projectArn; bool m_projectArnHasBeenSet = false; Aws::String m_projectId; bool m_projectIdHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; ProjectStatus m_projectStatus; bool m_projectStatusHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws