/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SQS { namespace Model { /** *

See Also:

AWS * API Reference

*/ class GetQueueUrlRequest : public SQSRequest { public: AWS_SQS_API GetQueueUrlRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetQueueUrl"; } AWS_SQS_API Aws::String SerializePayload() const override; protected: AWS_SQS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline const Aws::String& GetQueueName() const{ return m_queueName; } /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; } /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; } /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = std::move(value); } /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); } /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline GetQueueUrlRequest& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;} /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline GetQueueUrlRequest& WithQueueName(Aws::String&& value) { SetQueueName(std::move(value)); return *this;} /** *

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid * values: alphanumeric characters, hyphens (-), and underscores * (_).

Queue URLs and names are case-sensitive.

*/ inline GetQueueUrlRequest& WithQueueName(const char* value) { SetQueueName(value); return *this;} /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline const Aws::String& GetQueueOwnerAWSAccountId() const{ return m_queueOwnerAWSAccountId; } /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline bool QueueOwnerAWSAccountIdHasBeenSet() const { return m_queueOwnerAWSAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline void SetQueueOwnerAWSAccountId(const Aws::String& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = value; } /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline void SetQueueOwnerAWSAccountId(Aws::String&& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline void SetQueueOwnerAWSAccountId(const char* value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId.assign(value); } /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(const Aws::String& value) { SetQueueOwnerAWSAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(Aws::String&& value) { SetQueueOwnerAWSAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the account that created the queue.

*/ inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(const char* value) { SetQueueOwnerAWSAccountId(value); return *this;} private: Aws::String m_queueName; bool m_queueNameHasBeenSet = false; Aws::String m_queueOwnerAWSAccountId; bool m_queueOwnerAWSAccountIdHasBeenSet = false; }; } // namespace Model } // namespace SQS } // namespace Aws