/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The contact's preference for being opted-in to or opted-out of a
* topic.See Also:
AWS
* API Reference
The name of the topic.
*/ inline const Aws::String& GetTopicName() const{ return m_topicName; } /** *The name of the topic.
*/ inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; } /** *The name of the topic.
*/ inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; } /** *The name of the topic.
*/ inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); } /** *The name of the topic.
*/ inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); } /** *The name of the topic.
*/ inline TopicPreference& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;} /** *The name of the topic.
*/ inline TopicPreference& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;} /** *The name of the topic.
*/ inline TopicPreference& WithTopicName(const char* value) { SetTopicName(value); return *this;} /** *The contact's subscription status to a topic which is either
* OPT_IN
or OPT_OUT
.
The contact's subscription status to a topic which is either
* OPT_IN
or OPT_OUT
.
The contact's subscription status to a topic which is either
* OPT_IN
or OPT_OUT
.
The contact's subscription status to a topic which is either
* OPT_IN
or OPT_OUT
.
The contact's subscription status to a topic which is either
* OPT_IN
or OPT_OUT
.
The contact's subscription status to a topic which is either
* OPT_IN
or OPT_OUT
.