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

Information about the metadata for a project.

See Also:

AWS * API Reference

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

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 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;} private: Aws::String m_projectId; bool m_projectIdHasBeenSet = false; Aws::String m_projectArn; bool m_projectArnHasBeenSet = false; }; } // namespace Model } // namespace CodeStar } // namespace Aws