/** * 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 CodeGuruReviewer { namespace Model { /** */ class DisassociateRepositoryRequest : public CodeGuruReviewerRequest { public: AWS_CODEGURUREVIEWER_API DisassociateRepositoryRequest(); // 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 "DisassociateRepository"; } AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline const Aws::String& GetAssociationArn() const{ return m_associationArn; } /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; } /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline DisassociateRepositoryRequest& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline DisassociateRepositoryRequest& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.

*/ inline DisassociateRepositoryRequest& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;} private: Aws::String m_associationArn; bool m_associationArnHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruReviewer } // namespace Aws