/** * 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 CodePipeline { namespace Model { class AWS_CODEPIPELINE_API PutWebhookResult { public: PutWebhookResult(); PutWebhookResult(const Aws::AmazonWebServiceResult& result); PutWebhookResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The detail returned from creating the webhook, such as the webhook name, * webhook URL, and webhook ARN.

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

The detail returned from creating the webhook, such as the webhook name, * webhook URL, and webhook ARN.

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

The detail returned from creating the webhook, such as the webhook name, * webhook URL, and webhook ARN.

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

The detail returned from creating the webhook, such as the webhook name, * webhook URL, and webhook ARN.

*/ inline PutWebhookResult& WithWebhook(const ListWebhookItem& value) { SetWebhook(value); return *this;} /** *

The detail returned from creating the webhook, such as the webhook name, * webhook URL, and webhook ARN.

*/ inline PutWebhookResult& WithWebhook(ListWebhookItem&& value) { SetWebhook(std::move(value)); return *this;} private: ListWebhookItem m_webhook; }; } // namespace Model } // namespace CodePipeline } // namespace Aws