/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Removes the specified directory as a publisher to the specified Amazon SNS
* topic.See Also:
AWS
* API Reference
The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline DeregisterEventTopicRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline DeregisterEventTopicRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The Directory ID to remove as a publisher. This directory will no longer send * messages to the specified Amazon SNS topic.
*/ inline DeregisterEventTopicRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline const Aws::String& GetTopicName() const{ return m_topicName; } /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; } /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; } /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); } /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); } /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline DeregisterEventTopicRequest& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;} /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline DeregisterEventTopicRequest& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;} /** *The name of the Amazon SNS topic from which to remove the directory as a * publisher.
*/ inline DeregisterEventTopicRequest& WithTopicName(const char* value) { SetTopicName(value); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_topicName; bool m_topicNameHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws