/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; } /** *The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; } /** *The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; } /** *The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); } /** *The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); } /** *The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline AddPermissionRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;} /** *The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline AddPermissionRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;} /** *The URL of the Amazon SQS queue to which permissions are added.
Queue * URLs and names are case-sensitive.
*/ inline AddPermissionRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;} /** *The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The unique identification of the permission you're setting (for example,
* AliceSendMessage
). Maximum 80 characters. Allowed characters
* include alphanumeric characters, hyphens (-
), and underscores
* (_
).
The Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline const Aws::VectorThe Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline bool AWSAccountIdsHasBeenSet() const { return m_aWSAccountIdsHasBeenSet; } /** *The Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline void SetAWSAccountIds(const Aws::VectorThe Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline void SetAWSAccountIds(Aws::VectorThe Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline AddPermissionRequest& WithAWSAccountIds(const Aws::VectorThe Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline AddPermissionRequest& WithAWSAccountIds(Aws::VectorThe Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline AddPermissionRequest& AddAWSAccountIds(const Aws::String& value) { m_aWSAccountIdsHasBeenSet = true; m_aWSAccountIds.push_back(value); return *this; } /** *The Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline AddPermissionRequest& AddAWSAccountIds(Aws::String&& value) { m_aWSAccountIdsHasBeenSet = true; m_aWSAccountIds.push_back(std::move(value)); return *this; } /** *The Amazon Web Services account numbers of the principals * who are to receive permission. For information about locating the Amazon Web * Services account identification, see Your * Amazon Web Services Identifiers in the Amazon SQS Developer * Guide.
*/ inline AddPermissionRequest& AddAWSAccountIds(const char* value) { m_aWSAccountIdsHasBeenSet = true; m_aWSAccountIds.push_back(value); return *this; } /** *The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.
The action the client wants to allow for the specified principal. Valid
* values: the name of any action or *
.
For more information * about these actions, see Overview * of Managing Access Permissions to Your Amazon Simple Queue Service Resource * in the Amazon SQS Developer Guide.
Specifying
* SendMessage
, DeleteMessage
, or
* ChangeMessageVisibility
for ActionName.n
also grants
* permissions for the corresponding batch versions of those actions:
* SendMessageBatch
, DeleteMessageBatch
, and
* ChangeMessageVisibilityBatch
.