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

Information about the integration of DevOps Guru as consumer with another AWS * service, such as AWS CodeGuru Profiler via EventBridge.

See Also:

* AWS * API Reference

*/ class EventSourcesConfig { public: AWS_DEVOPSGURU_API EventSourcesConfig(); AWS_DEVOPSGURU_API EventSourcesConfig(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API EventSourcesConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Information about whether DevOps Guru is configured to consume * recommendations which are generated from AWS CodeGuru Profiler.

*/ inline const AmazonCodeGuruProfilerIntegration& GetAmazonCodeGuruProfiler() const{ return m_amazonCodeGuruProfiler; } /** *

Information about whether DevOps Guru is configured to consume * recommendations which are generated from AWS CodeGuru Profiler.

*/ inline bool AmazonCodeGuruProfilerHasBeenSet() const { return m_amazonCodeGuruProfilerHasBeenSet; } /** *

Information about whether DevOps Guru is configured to consume * recommendations which are generated from AWS CodeGuru Profiler.

*/ inline void SetAmazonCodeGuruProfiler(const AmazonCodeGuruProfilerIntegration& value) { m_amazonCodeGuruProfilerHasBeenSet = true; m_amazonCodeGuruProfiler = value; } /** *

Information about whether DevOps Guru is configured to consume * recommendations which are generated from AWS CodeGuru Profiler.

*/ inline void SetAmazonCodeGuruProfiler(AmazonCodeGuruProfilerIntegration&& value) { m_amazonCodeGuruProfilerHasBeenSet = true; m_amazonCodeGuruProfiler = std::move(value); } /** *

Information about whether DevOps Guru is configured to consume * recommendations which are generated from AWS CodeGuru Profiler.

*/ inline EventSourcesConfig& WithAmazonCodeGuruProfiler(const AmazonCodeGuruProfilerIntegration& value) { SetAmazonCodeGuruProfiler(value); return *this;} /** *

Information about whether DevOps Guru is configured to consume * recommendations which are generated from AWS CodeGuru Profiler.

*/ inline EventSourcesConfig& WithAmazonCodeGuruProfiler(AmazonCodeGuruProfilerIntegration&& value) { SetAmazonCodeGuruProfiler(std::move(value)); return *this;} private: AmazonCodeGuruProfilerIntegration m_amazonCodeGuruProfiler; bool m_amazonCodeGuruProfilerHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws