AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueueAttributesRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sqs/model/QueueAttributeName.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SQS
17{
18namespace Model
19{
20
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetQueueAttributes"; }
36
37 AWS_SQS_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
48 inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; }
49 inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; }
50 inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); }
51 inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); }
52 inline GetQueueAttributesRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
53 inline GetQueueAttributesRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
54 inline GetQueueAttributesRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
56
58
193 inline const Aws::Vector<QueueAttributeName>& GetAttributeNames() const{ return m_attributeNames; }
194 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
195 inline void SetAttributeNames(const Aws::Vector<QueueAttributeName>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
196 inline void SetAttributeNames(Aws::Vector<QueueAttributeName>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
199 inline GetQueueAttributesRequest& AddAttributeNames(const QueueAttributeName& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
200 inline GetQueueAttributesRequest& AddAttributeNames(QueueAttributeName&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
202 private:
203
204 Aws::String m_queueUrl;
205 bool m_queueUrlHasBeenSet = false;
206
207 Aws::Vector<QueueAttributeName> m_attributeNames;
208 bool m_attributeNamesHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace SQS
213} // namespace Aws
GetQueueAttributesRequest & WithAttributeNames(Aws::Vector< QueueAttributeName > &&value)
GetQueueAttributesRequest & WithQueueUrl(const char *value)
GetQueueAttributesRequest & WithQueueUrl(const Aws::String &value)
GetQueueAttributesRequest & WithQueueUrl(Aws::String &&value)
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetQueueAttributesRequest & WithAttributeNames(const Aws::Vector< QueueAttributeName > &value)
const Aws::Vector< QueueAttributeName > & GetAttributeNames() const
GetQueueAttributesRequest & AddAttributeNames(QueueAttributeName &&value)
void SetAttributeNames(Aws::Vector< QueueAttributeName > &&value)
GetQueueAttributesRequest & AddAttributeNames(const QueueAttributeName &value)
AWS_SQS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetAttributeNames(const Aws::Vector< QueueAttributeName > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector