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

Represents the input of an update repository description * operation.

See Also:

AWS * API Reference

*/ class UpdateRepositoryDescriptionRequest : public CodeCommitRequest { public: AWS_CODECOMMIT_API UpdateRepositoryDescriptionRequest(); // 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 "UpdateRepositoryDescription"; } AWS_CODECOMMIT_API Aws::String SerializePayload() const override; AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the repository to set or change the comment or description * for.

*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *

The name of the repository to set or change the comment or description * for.

*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *

The name of the repository to set or change the comment or description * for.

*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *

The name of the repository to set or change the comment or description * for.

*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *

The name of the repository to set or change the comment or description * for.

*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *

The name of the repository to set or change the comment or description * for.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *

The name of the repository to set or change the comment or description * for.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *

The name of the repository to set or change the comment or description * for.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline const Aws::String& GetRepositoryDescription() const{ return m_repositoryDescription; } /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline bool RepositoryDescriptionHasBeenSet() const { return m_repositoryDescriptionHasBeenSet; } /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline void SetRepositoryDescription(const Aws::String& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = value; } /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline void SetRepositoryDescription(Aws::String&& value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription = std::move(value); } /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline void SetRepositoryDescription(const char* value) { m_repositoryDescriptionHasBeenSet = true; m_repositoryDescription.assign(value); } /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryDescription(const Aws::String& value) { SetRepositoryDescription(value); return *this;} /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryDescription(Aws::String&& value) { SetRepositoryDescription(std::move(value)); return *this;} /** *

The new comment or description for the specified repository. Repository * descriptions are limited to 1,000 characters.

*/ inline UpdateRepositoryDescriptionRequest& WithRepositoryDescription(const char* value) { SetRepositoryDescription(value); return *this;} private: Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::String m_repositoryDescription; bool m_repositoryDescriptionHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws