/** * 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 CodeCatalyst { namespace Model { /** */ class GetSourceRepositoryCloneUrlsRequest : public CodeCatalystRequest { public: AWS_CODECATALYST_API GetSourceRepositoryCloneUrlsRequest(); // 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 "GetSourceRepositoryCloneUrls"; } AWS_CODECATALYST_API Aws::String SerializePayload() const override; /** *

The name of the space.

*/ inline const Aws::String& GetSpaceName() const{ return m_spaceName; } /** *

The name of the space.

*/ inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; } /** *

The name of the space.

*/ inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; } /** *

The name of the space.

*/ inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); } /** *

The name of the space.

*/ inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); } /** *

The name of the space.

*/ inline GetSourceRepositoryCloneUrlsRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} /** *

The name of the space.

*/ inline GetSourceRepositoryCloneUrlsRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} /** *

The name of the space.

*/ inline GetSourceRepositoryCloneUrlsRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} /** *

The name of the project in the space.

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

The name of the project in the space.

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

The name of the project in the space.

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

The name of the project in the space.

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

The name of the project in the space.

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

The name of the project in the space.

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

The name of the project in the space.

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

The name of the project in the space.

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

The name of the source repository.

*/ inline const Aws::String& GetSourceRepositoryName() const{ return m_sourceRepositoryName; } /** *

The name of the source repository.

*/ inline bool SourceRepositoryNameHasBeenSet() const { return m_sourceRepositoryNameHasBeenSet; } /** *

The name of the source repository.

*/ inline void SetSourceRepositoryName(const Aws::String& value) { m_sourceRepositoryNameHasBeenSet = true; m_sourceRepositoryName = value; } /** *

The name of the source repository.

*/ inline void SetSourceRepositoryName(Aws::String&& value) { m_sourceRepositoryNameHasBeenSet = true; m_sourceRepositoryName = std::move(value); } /** *

The name of the source repository.

*/ inline void SetSourceRepositoryName(const char* value) { m_sourceRepositoryNameHasBeenSet = true; m_sourceRepositoryName.assign(value); } /** *

The name of the source repository.

*/ inline GetSourceRepositoryCloneUrlsRequest& WithSourceRepositoryName(const Aws::String& value) { SetSourceRepositoryName(value); return *this;} /** *

The name of the source repository.

*/ inline GetSourceRepositoryCloneUrlsRequest& WithSourceRepositoryName(Aws::String&& value) { SetSourceRepositoryName(std::move(value)); return *this;} /** *

The name of the source repository.

*/ inline GetSourceRepositoryCloneUrlsRequest& WithSourceRepositoryName(const char* value) { SetSourceRepositoryName(value); return *this;} private: Aws::String m_spaceName; bool m_spaceNameHasBeenSet = false; Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::String m_sourceRepositoryName; bool m_sourceRepositoryNameHasBeenSet = false; }; } // namespace Model } // namespace CodeCatalyst } // namespace Aws