AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetQueueUrlRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sqs/SQSRequest.h>
9#include <aws/sqs/SQS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SQS {
15namespace Model {
16
24 public:
25 AWS_SQS_API GetQueueUrlRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetQueueUrl"; }
32
33 AWS_SQS_API Aws::String SerializePayload() const override;
34
36
38
43 inline const Aws::String& GetQueueName() const { return m_queueName; }
44 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
45 template <typename QueueNameT = Aws::String>
46 void SetQueueName(QueueNameT&& value) {
47 m_queueNameHasBeenSet = true;
48 m_queueName = std::forward<QueueNameT>(value);
49 }
50 template <typename QueueNameT = Aws::String>
51 GetQueueUrlRequest& WithQueueName(QueueNameT&& value) {
52 SetQueueName(std::forward<QueueNameT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetQueueOwnerAWSAccountId() const { return m_queueOwnerAWSAccountId; }
64 inline bool QueueOwnerAWSAccountIdHasBeenSet() const { return m_queueOwnerAWSAccountIdHasBeenSet; }
65 template <typename QueueOwnerAWSAccountIdT = Aws::String>
66 void SetQueueOwnerAWSAccountId(QueueOwnerAWSAccountIdT&& value) {
67 m_queueOwnerAWSAccountIdHasBeenSet = true;
68 m_queueOwnerAWSAccountId = std::forward<QueueOwnerAWSAccountIdT>(value);
69 }
70 template <typename QueueOwnerAWSAccountIdT = Aws::String>
71 GetQueueUrlRequest& WithQueueOwnerAWSAccountId(QueueOwnerAWSAccountIdT&& value) {
72 SetQueueOwnerAWSAccountId(std::forward<QueueOwnerAWSAccountIdT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_queueName;
78
79 Aws::String m_queueOwnerAWSAccountId;
80 bool m_queueNameHasBeenSet = false;
81 bool m_queueOwnerAWSAccountIdHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SQS
86} // namespace Aws
AWS_SQS_API Aws::String SerializePayload() const override
void SetQueueName(QueueNameT &&value)
void SetQueueOwnerAWSAccountId(QueueOwnerAWSAccountIdT &&value)
GetQueueUrlRequest & WithQueueOwnerAWSAccountId(QueueOwnerAWSAccountIdT &&value)
const Aws::String & GetQueueName() const
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetQueueOwnerAWSAccountId() const
GetQueueUrlRequest & WithQueueName(QueueNameT &&value)
AWS_SQS_API GetQueueUrlRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String