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

The structure representing the AddNotificationChannelsResponse.

See * Also:

AWS * API Reference

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

The new notification configuration for this profiling group.

*/ inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; } /** *

The new notification configuration for this profiling group.

*/ inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfiguration = value; } /** *

The new notification configuration for this profiling group.

*/ inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfiguration = std::move(value); } /** *

The new notification configuration for this profiling group.

*/ inline AddNotificationChannelsResult& WithNotificationConfiguration(const NotificationConfiguration& value) { SetNotificationConfiguration(value); return *this;} /** *

The new notification configuration for this profiling group.

*/ inline AddNotificationChannelsResult& WithNotificationConfiguration(NotificationConfiguration&& value) { SetNotificationConfiguration(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AddNotificationChannelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddNotificationChannelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddNotificationChannelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: NotificationConfiguration m_notificationConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace CodeGuruProfiler } // namespace Aws