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

Summary information about an AWS Mobile Hub project.

See * Also:

AWS * API Reference

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

Name of the project.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Name of the project.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Name of the project.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Name of the project.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Name of the project.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Name of the project.

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

Name of the project.

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

Name of the project.

*/ inline ProjectSummary& WithName(const char* value) { SetName(value); return *this;} /** *

Unique project identifier.

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

Unique project identifier.

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

Unique project identifier.

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

Unique project identifier.

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

Unique project identifier.

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

Unique project identifier.

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

Unique project identifier.

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

Unique project identifier.

*/ inline ProjectSummary& WithProjectId(const char* value) { SetProjectId(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_projectId; bool m_projectIdHasBeenSet = false; }; } // namespace Model } // namespace Mobile } // namespace Aws