AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetQueueAttributesRequest.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/AWSMap.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 "SetQueueAttributes"; }
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 SetQueueAttributesRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
53 inline SetQueueAttributesRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
54 inline SetQueueAttributesRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
56
58
196 inline const Aws::Map<QueueAttributeName, Aws::String>& GetAttributes() const{ return m_attributes; }
197 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
198 inline void SetAttributes(const Aws::Map<QueueAttributeName, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
199 inline void SetAttributes(Aws::Map<QueueAttributeName, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
202 inline SetQueueAttributesRequest& AddAttributes(const QueueAttributeName& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
203 inline SetQueueAttributesRequest& AddAttributes(QueueAttributeName&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
204 inline SetQueueAttributesRequest& AddAttributes(const QueueAttributeName& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
205 inline SetQueueAttributesRequest& AddAttributes(QueueAttributeName&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
206 inline SetQueueAttributesRequest& AddAttributes(QueueAttributeName&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
207 inline SetQueueAttributesRequest& AddAttributes(const QueueAttributeName& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
209 private:
210
211 Aws::String m_queueUrl;
212 bool m_queueUrlHasBeenSet = false;
213
215 bool m_attributesHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace SQS
220} // namespace Aws
const Aws::Map< QueueAttributeName, Aws::String > & GetAttributes() const
SetQueueAttributesRequest & WithQueueUrl(const Aws::String &value)
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SetQueueAttributesRequest & WithQueueUrl(const char *value)
void SetAttributes(Aws::Map< QueueAttributeName, Aws::String > &&value)
SetQueueAttributesRequest & AddAttributes(const QueueAttributeName &key, Aws::String &&value)
void SetAttributes(const Aws::Map< QueueAttributeName, Aws::String > &value)
SetQueueAttributesRequest & AddAttributes(QueueAttributeName &&key, const char *value)
SetQueueAttributesRequest & AddAttributes(const QueueAttributeName &key, const Aws::String &value)
SetQueueAttributesRequest & WithQueueUrl(Aws::String &&value)
SetQueueAttributesRequest & WithAttributes(Aws::Map< QueueAttributeName, Aws::String > &&value)
SetQueueAttributesRequest & AddAttributes(QueueAttributeName &&key, const Aws::String &value)
SetQueueAttributesRequest & AddAttributes(const QueueAttributeName &key, const char *value)
AWS_SQS_API Aws::String SerializePayload() const override
SetQueueAttributesRequest & AddAttributes(QueueAttributeName &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
SetQueueAttributesRequest & WithAttributes(const Aws::Map< QueueAttributeName, Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String