This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sqs/include/aws/sqs/model/GetQueueUrlRequest.h

151 lines
5.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sqs/SQS_EXPORTS.h>
#include <aws/sqs/SQSRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace SQS
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlRequest">AWS
* API Reference</a></p>
*/
class AWS_SQS_API GetQueueUrlRequest : public SQSRequest
{
public:
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::String SerializePayload() const override;
protected:
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
public:
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline const Aws::String& GetQueueName() const{ return m_queueName; }
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; }
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = std::move(value); }
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); }
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline GetQueueUrlRequest& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;}
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline GetQueueUrlRequest& WithQueueName(Aws::String&& value) { SetQueueName(std::move(value)); return *this;}
/**
* <p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid
* values: alphanumeric characters, hyphens (<code>-</code>), and underscores
* (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
*/
inline GetQueueUrlRequest& WithQueueName(const char* value) { SetQueueName(value); return *this;}
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline const Aws::String& GetQueueOwnerAWSAccountId() const{ return m_queueOwnerAWSAccountId; }
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline bool QueueOwnerAWSAccountIdHasBeenSet() const { return m_queueOwnerAWSAccountIdHasBeenSet; }
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline void SetQueueOwnerAWSAccountId(const Aws::String& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = value; }
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline void SetQueueOwnerAWSAccountId(Aws::String&& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = std::move(value); }
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline void SetQueueOwnerAWSAccountId(const char* value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId.assign(value); }
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(const Aws::String& value) { SetQueueOwnerAWSAccountId(value); return *this;}
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(Aws::String&& value) { SetQueueOwnerAWSAccountId(std::move(value)); return *this;}
/**
* <p>The AWS account ID of the account that created the queue.</p>
*/
inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(const char* value) { SetQueueOwnerAWSAccountId(value); return *this;}
private:
Aws::String m_queueName;
bool m_queueNameHasBeenSet;
Aws::String m_queueOwnerAWSAccountId;
bool m_queueOwnerAWSAccountIdHasBeenSet;
};
} // namespace Model
} // namespace SQS
} // namespace Aws