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

The SNS topic that records AWS Firewall Manager activity.

*/ inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; } /** *

The SNS topic that records AWS Firewall Manager activity.

*/ inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArn = value; } /** *

The SNS topic that records AWS Firewall Manager activity.

*/ inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArn = std::move(value); } /** *

The SNS topic that records AWS Firewall Manager activity.

*/ inline void SetSnsTopicArn(const char* value) { m_snsTopicArn.assign(value); } /** *

The SNS topic that records AWS Firewall Manager activity.

*/ inline GetNotificationChannelResult& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;} /** *

The SNS topic that records AWS Firewall Manager activity.

*/ inline GetNotificationChannelResult& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;} /** *

The SNS topic that records AWS Firewall Manager activity.

*/ inline GetNotificationChannelResult& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;} /** *

The IAM role that is used by AWS Firewall Manager to record activity to * SNS.

*/ inline const Aws::String& GetSnsRoleName() const{ return m_snsRoleName; } /** *

The IAM role that is used by AWS Firewall Manager to record activity to * SNS.

*/ inline void SetSnsRoleName(const Aws::String& value) { m_snsRoleName = value; } /** *

The IAM role that is used by AWS Firewall Manager to record activity to * SNS.

*/ inline void SetSnsRoleName(Aws::String&& value) { m_snsRoleName = std::move(value); } /** *

The IAM role that is used by AWS Firewall Manager to record activity to * SNS.

*/ inline void SetSnsRoleName(const char* value) { m_snsRoleName.assign(value); } /** *

The IAM role that is used by AWS Firewall Manager to record activity to * SNS.

*/ inline GetNotificationChannelResult& WithSnsRoleName(const Aws::String& value) { SetSnsRoleName(value); return *this;} /** *

The IAM role that is used by AWS Firewall Manager to record activity to * SNS.

*/ inline GetNotificationChannelResult& WithSnsRoleName(Aws::String&& value) { SetSnsRoleName(std::move(value)); return *this;} /** *

The IAM role that is used by AWS Firewall Manager to record activity to * SNS.

*/ inline GetNotificationChannelResult& WithSnsRoleName(const char* value) { SetSnsRoleName(value); return *this;} private: Aws::String m_snsTopicArn; Aws::String m_snsRoleName; }; } // namespace Model } // namespace FMS } // namespace Aws