/** * 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 SageMaker { namespace Model { /** *

Configures Amazon SNS notifications of available or expiring work items for * work teams.

See Also:

AWS * API Reference

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

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline const Aws::String& GetNotificationTopicArn() const{ return m_notificationTopicArn; } /** *

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline bool NotificationTopicArnHasBeenSet() const { return m_notificationTopicArnHasBeenSet; } /** *

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline void SetNotificationTopicArn(const Aws::String& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = value; } /** *

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline void SetNotificationTopicArn(Aws::String&& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = std::move(value); } /** *

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline void SetNotificationTopicArn(const char* value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn.assign(value); } /** *

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline NotificationConfiguration& WithNotificationTopicArn(const Aws::String& value) { SetNotificationTopicArn(value); return *this;} /** *

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline NotificationConfiguration& WithNotificationTopicArn(Aws::String&& value) { SetNotificationTopicArn(std::move(value)); return *this;} /** *

The ARN for the Amazon SNS topic to which notifications should be * published.

*/ inline NotificationConfiguration& WithNotificationTopicArn(const char* value) { SetNotificationTopicArn(value); return *this;} private: Aws::String m_notificationTopicArn; bool m_notificationTopicArnHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws