/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CodeStar { namespace Model { /** */ class UpdateProjectRequest : public CodeStarRequest { public: AWS_CODESTAR_API UpdateProjectRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateProject"; } AWS_CODESTAR_API Aws::String SerializePayload() const override; AWS_CODESTAR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the project you want to update.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the project you want to update.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the project you want to update.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the project you want to update.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the project you want to update.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the project you want to update.

*/ inline UpdateProjectRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the project you want to update.

*/ inline UpdateProjectRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the project you want to update.

*/ inline UpdateProjectRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the project you want to update.

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

The name of the project you want to update.

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

The name of the project you want to update.

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

The name of the project you want to update.

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

The name of the project you want to update.

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

The name of the project you want to update.

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

The name of the project you want to update.

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

The name of the project you want to update.

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

The description of the project, if any.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the project, if any.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the project, if any.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the project, if any.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the project, if any.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the project, if any.

*/ inline UpdateProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the project, if any.

*/ inline UpdateProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the project, if any.

*/ inline UpdateProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace CodeStar } // namespace Aws