/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Amplify { namespace Model { /** *

The result structure for the delete webhook request.

See * Also:

AWS * API Reference

*/ class AWS_AMPLIFY_API DeleteWebhookResult { public: DeleteWebhookResult(); DeleteWebhookResult(const Aws::AmazonWebServiceResult& result); DeleteWebhookResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes a webhook that connects repository events to an Amplify app.

*/ inline const Webhook& GetWebhook() const{ return m_webhook; } /** *

Describes a webhook that connects repository events to an Amplify app.

*/ inline void SetWebhook(const Webhook& value) { m_webhook = value; } /** *

Describes a webhook that connects repository events to an Amplify app.

*/ inline void SetWebhook(Webhook&& value) { m_webhook = std::move(value); } /** *

Describes a webhook that connects repository events to an Amplify app.

*/ inline DeleteWebhookResult& WithWebhook(const Webhook& value) { SetWebhook(value); return *this;} /** *

Describes a webhook that connects repository events to an Amplify app.

*/ inline DeleteWebhookResult& WithWebhook(Webhook&& value) { SetWebhook(std::move(value)); return *this;} private: Webhook m_webhook; }; } // namespace Model } // namespace Amplify } // namespace Aws