AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetQueueUrlRequest.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/sqs/SQSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SQS
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_SQS_API GetQueueUrlRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetQueueUrl"; }
35
36 AWS_SQS_API Aws::String SerializePayload() const override;
37
39
40
42
47 inline const Aws::String& GetQueueName() const { return m_queueName; }
48 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
49 template<typename QueueNameT = Aws::String>
50 void SetQueueName(QueueNameT&& value) { m_queueNameHasBeenSet = true; m_queueName = std::forward<QueueNameT>(value); }
51 template<typename QueueNameT = Aws::String>
52 GetQueueUrlRequest& WithQueueName(QueueNameT&& value) { SetQueueName(std::forward<QueueNameT>(value)); return *this;}
54
56
61 inline const Aws::String& GetQueueOwnerAWSAccountId() const { return m_queueOwnerAWSAccountId; }
62 inline bool QueueOwnerAWSAccountIdHasBeenSet() const { return m_queueOwnerAWSAccountIdHasBeenSet; }
63 template<typename QueueOwnerAWSAccountIdT = Aws::String>
64 void SetQueueOwnerAWSAccountId(QueueOwnerAWSAccountIdT&& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = std::forward<QueueOwnerAWSAccountIdT>(value); }
65 template<typename QueueOwnerAWSAccountIdT = Aws::String>
66 GetQueueUrlRequest& WithQueueOwnerAWSAccountId(QueueOwnerAWSAccountIdT&& value) { SetQueueOwnerAWSAccountId(std::forward<QueueOwnerAWSAccountIdT>(value)); return *this;}
68 private:
69
70 Aws::String m_queueName;
71 bool m_queueNameHasBeenSet = false;
72
73 Aws::String m_queueOwnerAWSAccountId;
74 bool m_queueOwnerAWSAccountIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SQS
79} // 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