This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/NotificationConfiguration.h

90 lines
2.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
/**
* <p>Configures SNS notifications of available or expiring work items for work
* teams.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/NotificationConfiguration">AWS
* API Reference</a></p>
*/
class AWS_SAGEMAKER_API NotificationConfiguration
{
public:
NotificationConfiguration();
NotificationConfiguration(Aws::Utils::Json::JsonView jsonValue);
NotificationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline const Aws::String& GetNotificationTopicArn() const{ return m_notificationTopicArn; }
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline bool NotificationTopicArnHasBeenSet() const { return m_notificationTopicArnHasBeenSet; }
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline void SetNotificationTopicArn(const Aws::String& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = value; }
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline void SetNotificationTopicArn(Aws::String&& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = std::move(value); }
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline void SetNotificationTopicArn(const char* value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn.assign(value); }
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline NotificationConfiguration& WithNotificationTopicArn(const Aws::String& value) { SetNotificationTopicArn(value); return *this;}
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline NotificationConfiguration& WithNotificationTopicArn(Aws::String&& value) { SetNotificationTopicArn(std::move(value)); return *this;}
/**
* <p>The ARN for the SNS topic to which notifications should be published.</p>
*/
inline NotificationConfiguration& WithNotificationTopicArn(const char* value) { SetNotificationTopicArn(value); return *this;}
private:
Aws::String m_notificationTopicArn;
bool m_notificationTopicArnHasBeenSet;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws