AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
25 {
26 public:
27 AWS_SQS_API GetQueueUrlRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetQueueUrl"; }
34
35 AWS_SQS_API Aws::String SerializePayload() const override;
36
38
39
41
46 inline const Aws::String& GetQueueName() const{ return m_queueName; }
47 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
48 inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; }
49 inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = std::move(value); }
50 inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); }
51 inline GetQueueUrlRequest& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;}
52 inline GetQueueUrlRequest& WithQueueName(Aws::String&& value) { SetQueueName(std::move(value)); return *this;}
53 inline GetQueueUrlRequest& WithQueueName(const char* value) { SetQueueName(value); return *this;}
55
57
60 inline const Aws::String& GetQueueOwnerAWSAccountId() const{ return m_queueOwnerAWSAccountId; }
61 inline bool QueueOwnerAWSAccountIdHasBeenSet() const { return m_queueOwnerAWSAccountIdHasBeenSet; }
62 inline void SetQueueOwnerAWSAccountId(const Aws::String& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = value; }
63 inline void SetQueueOwnerAWSAccountId(Aws::String&& value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId = std::move(value); }
64 inline void SetQueueOwnerAWSAccountId(const char* value) { m_queueOwnerAWSAccountIdHasBeenSet = true; m_queueOwnerAWSAccountId.assign(value); }
66 inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(Aws::String&& value) { SetQueueOwnerAWSAccountId(std::move(value)); return *this;}
67 inline GetQueueUrlRequest& WithQueueOwnerAWSAccountId(const char* value) { SetQueueOwnerAWSAccountId(value); return *this;}
69 private:
70
71 Aws::String m_queueName;
72 bool m_queueNameHasBeenSet = false;
73
74 Aws::String m_queueOwnerAWSAccountId;
75 bool m_queueOwnerAWSAccountIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SQS
80} // namespace Aws
void SetQueueOwnerAWSAccountId(const Aws::String &value)
AWS_SQS_API Aws::String SerializePayload() const override
GetQueueUrlRequest & WithQueueOwnerAWSAccountId(Aws::String &&value)
GetQueueUrlRequest & WithQueueName(const char *value)
GetQueueUrlRequest & WithQueueName(const Aws::String &value)
void SetQueueName(Aws::String &&value)
const Aws::String & GetQueueName() const
void SetQueueName(const Aws::String &value)
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetQueueUrlRequest & WithQueueOwnerAWSAccountId(const Aws::String &value)
void SetQueueOwnerAWSAccountId(Aws::String &&value)
GetQueueUrlRequest & WithQueueName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetQueueUrlRequest & WithQueueOwnerAWSAccountId(const char *value)
const Aws::String & GetQueueOwnerAWSAccountId() const
void SetQueueOwnerAWSAccountId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String