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-dax/include/aws/dax/model/NotificationConfiguration.h

135 lines
4.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dax/DAX_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 DAX
{
namespace Model
{
/**
* <p>Describes a notification topic and its status. Notification topics are used
* for publishing DAX events to subscribers using Amazon Simple Notification
* Service (SNS).</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/NotificationConfiguration">AWS
* API Reference</a></p>
*/
class AWS_DAX_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 Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline NotificationConfiguration& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline NotificationConfiguration& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
inline NotificationConfiguration& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
/**
* <p>The current state of the topic.</p>
*/
inline const Aws::String& GetTopicStatus() const{ return m_topicStatus; }
/**
* <p>The current state of the topic.</p>
*/
inline bool TopicStatusHasBeenSet() const { return m_topicStatusHasBeenSet; }
/**
* <p>The current state of the topic.</p>
*/
inline void SetTopicStatus(const Aws::String& value) { m_topicStatusHasBeenSet = true; m_topicStatus = value; }
/**
* <p>The current state of the topic.</p>
*/
inline void SetTopicStatus(Aws::String&& value) { m_topicStatusHasBeenSet = true; m_topicStatus = std::move(value); }
/**
* <p>The current state of the topic.</p>
*/
inline void SetTopicStatus(const char* value) { m_topicStatusHasBeenSet = true; m_topicStatus.assign(value); }
/**
* <p>The current state of the topic.</p>
*/
inline NotificationConfiguration& WithTopicStatus(const Aws::String& value) { SetTopicStatus(value); return *this;}
/**
* <p>The current state of the topic.</p>
*/
inline NotificationConfiguration& WithTopicStatus(Aws::String&& value) { SetTopicStatus(std::move(value)); return *this;}
/**
* <p>The current state of the topic.</p>
*/
inline NotificationConfiguration& WithTopicStatus(const char* value) { SetTopicStatus(value); return *this;}
private:
Aws::String m_topicArn;
bool m_topicArnHasBeenSet;
Aws::String m_topicStatus;
bool m_topicStatusHasBeenSet;
};
} // namespace Model
} // namespace DAX
} // namespace Aws