/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a notification topic and its status. Notification topics are used
* for publishing ElastiCache events to subscribers using Amazon Simple
* Notification Service (SNS).See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) that identifies the topic.
*/ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** *The Amazon Resource Name (ARN) that identifies the topic.
*/ inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that identifies the topic.
*/ inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; } /** *The Amazon Resource Name (ARN) that identifies the topic.
*/ inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); } /** *The Amazon Resource Name (ARN) that identifies the topic.
*/ inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); } /** *The Amazon Resource Name (ARN) that identifies the topic.
*/ inline NotificationConfiguration& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** *The Amazon Resource Name (ARN) that identifies the topic.
*/ inline NotificationConfiguration& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that identifies the topic.
*/ inline NotificationConfiguration& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} /** *The current state of the topic.
*/ inline const Aws::String& GetTopicStatus() const{ return m_topicStatus; } /** *The current state of the topic.
*/ inline bool TopicStatusHasBeenSet() const { return m_topicStatusHasBeenSet; } /** *The current state of the topic.
*/ inline void SetTopicStatus(const Aws::String& value) { m_topicStatusHasBeenSet = true; m_topicStatus = value; } /** *The current state of the topic.
*/ inline void SetTopicStatus(Aws::String&& value) { m_topicStatusHasBeenSet = true; m_topicStatus = std::move(value); } /** *The current state of the topic.
*/ inline void SetTopicStatus(const char* value) { m_topicStatusHasBeenSet = true; m_topicStatus.assign(value); } /** *The current state of the topic.
*/ inline NotificationConfiguration& WithTopicStatus(const Aws::String& value) { SetTopicStatus(value); return *this;} /** *The current state of the topic.
*/ inline NotificationConfiguration& WithTopicStatus(Aws::String&& value) { SetTopicStatus(std::move(value)); return *this;} /** *The current state of the topic.
*/ inline NotificationConfiguration& WithTopicStatus(const char* value) { SetTopicStatus(value); return *this;} private: Aws::String m_topicArn; bool m_topicArnHasBeenSet = false; Aws::String m_topicStatus; bool m_topicStatusHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws