/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result structure for the create webhook request. See
* Also:
AWS
* API Reference
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 CreateWebhookResult& WithWebhook(const Webhook& value) { SetWebhook(value); return *this;} /** *Describes a webhook that connects repository events to an Amplify app.
*/ inline CreateWebhookResult& WithWebhook(Webhook&& value) { SetWebhook(std::move(value)); return *this;} private: Webhook m_webhook; }; } // namespace Model } // namespace Amplify } // namespace Aws