/** * 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 AppRunner { namespace Model { /** */ class DeleteConnectionRequest : public AppRunnerRequest { public: AWS_APPRUNNER_API DeleteConnectionRequest(); // 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 "DeleteConnection"; } AWS_APPRUNNER_API Aws::String SerializePayload() const override; AWS_APPRUNNER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; } /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; } /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline DeleteConnectionRequest& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline DeleteConnectionRequest& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the App Runner connection that you want to * delete.

*/ inline DeleteConnectionRequest& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;} private: Aws::String m_connectionArn; bool m_connectionArnHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws