/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object used to specify a list or topic to which an email belongs, which
* will be used when a contact chooses to unsubscribe.See Also:
* AWS
* API Reference
The name of the contact list.
*/ inline const Aws::String& GetContactListName() const{ return m_contactListName; } /** *The name of the contact list.
*/ inline bool ContactListNameHasBeenSet() const { return m_contactListNameHasBeenSet; } /** *The name of the contact list.
*/ inline void SetContactListName(const Aws::String& value) { m_contactListNameHasBeenSet = true; m_contactListName = value; } /** *The name of the contact list.
*/ inline void SetContactListName(Aws::String&& value) { m_contactListNameHasBeenSet = true; m_contactListName = std::move(value); } /** *The name of the contact list.
*/ inline void SetContactListName(const char* value) { m_contactListNameHasBeenSet = true; m_contactListName.assign(value); } /** *The name of the contact list.
*/ inline ListManagementOptions& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;} /** *The name of the contact list.
*/ inline ListManagementOptions& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;} /** *The name of the contact list.
*/ inline ListManagementOptions& WithContactListName(const char* value) { SetContactListName(value); return *this;} /** *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 ListManagementOptions& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;} /** *The name of the topic.
*/ inline ListManagementOptions& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;} /** *The name of the topic.
*/ inline ListManagementOptions& WithTopicName(const char* value) { SetTopicName(value); return *this;} private: Aws::String m_contactListName; bool m_contactListNameHasBeenSet = false; Aws::String m_topicName; bool m_topicNameHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws