/** * 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 DevOpsGuru { namespace Model { /** */ class UpdateEventSourcesConfigRequest : public DevOpsGuruRequest { public: AWS_DEVOPSGURU_API UpdateEventSourcesConfigRequest(); // 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 "UpdateEventSourcesConfig"; } AWS_DEVOPSGURU_API Aws::String SerializePayload() const override; /** *

Configuration information about the integration of DevOps Guru as the * Consumer via EventBridge with another AWS Service.

*/ inline const EventSourcesConfig& GetEventSources() const{ return m_eventSources; } /** *

Configuration information about the integration of DevOps Guru as the * Consumer via EventBridge with another AWS Service.

*/ inline bool EventSourcesHasBeenSet() const { return m_eventSourcesHasBeenSet; } /** *

Configuration information about the integration of DevOps Guru as the * Consumer via EventBridge with another AWS Service.

*/ inline void SetEventSources(const EventSourcesConfig& value) { m_eventSourcesHasBeenSet = true; m_eventSources = value; } /** *

Configuration information about the integration of DevOps Guru as the * Consumer via EventBridge with another AWS Service.

*/ inline void SetEventSources(EventSourcesConfig&& value) { m_eventSourcesHasBeenSet = true; m_eventSources = std::move(value); } /** *

Configuration information about the integration of DevOps Guru as the * Consumer via EventBridge with another AWS Service.

*/ inline UpdateEventSourcesConfigRequest& WithEventSources(const EventSourcesConfig& value) { SetEventSources(value); return *this;} /** *

Configuration information about the integration of DevOps Guru as the * Consumer via EventBridge with another AWS Service.

*/ inline UpdateEventSourcesConfigRequest& WithEventSources(EventSourcesConfig&& value) { SetEventSources(std::move(value)); return *this;} private: EventSourcesConfig m_eventSources; bool m_eventSourcesHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws