/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input for RemovePermission action.See Also:
AWS
* API Reference
The ARN of the topic whose access control policy you wish to modify.
*/ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** *The ARN of the topic whose access control policy you wish to modify.
*/ inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } /** *The ARN of the topic whose access control policy you wish to modify.
*/ inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; } /** *The ARN of the topic whose access control policy you wish to modify.
*/ inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); } /** *The ARN of the topic whose access control policy you wish to modify.
*/ inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); } /** *The ARN of the topic whose access control policy you wish to modify.
*/ inline RemovePermissionRequest& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** *The ARN of the topic whose access control policy you wish to modify.
*/ inline RemovePermissionRequest& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** *The ARN of the topic whose access control policy you wish to modify.
*/ inline RemovePermissionRequest& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} /** *The unique label of the statement you want to remove.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *The unique label of the statement you want to remove.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *The unique label of the statement you want to remove.
*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *The unique label of the statement you want to remove.
*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *The unique label of the statement you want to remove.
*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *The unique label of the statement you want to remove.
*/ inline RemovePermissionRequest& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *The unique label of the statement you want to remove.
*/ inline RemovePermissionRequest& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *The unique label of the statement you want to remove.
*/ inline RemovePermissionRequest& WithLabel(const char* value) { SetLabel(value); return *this;} private: Aws::String m_topicArn; bool m_topicArnHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; }; } // namespace Model } // namespace SNS } // namespace Aws