AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ChangeMessageVisibilityBatchRequest.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/ChangeMessageVisibilityBatchRequestEntry.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SQS
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_SQS_API ChangeMessageVisibilityBatchRequest() = default;
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 "ChangeMessageVisibilityBatch"; }
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 template<typename QueueUrlT = Aws::String>
50 void SetQueueUrl(QueueUrlT&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::forward<QueueUrlT>(value); }
51 template<typename QueueUrlT = Aws::String>
52 ChangeMessageVisibilityBatchRequest& WithQueueUrl(QueueUrlT&& value) { SetQueueUrl(std::forward<QueueUrlT>(value)); return *this;}
54
56
60 inline const Aws::Vector<ChangeMessageVisibilityBatchRequestEntry>& GetEntries() const { return m_entries; }
61 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
62 template<typename EntriesT = Aws::Vector<ChangeMessageVisibilityBatchRequestEntry>>
63 void SetEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries = std::forward<EntriesT>(value); }
64 template<typename EntriesT = Aws::Vector<ChangeMessageVisibilityBatchRequestEntry>>
65 ChangeMessageVisibilityBatchRequest& WithEntries(EntriesT&& value) { SetEntries(std::forward<EntriesT>(value)); return *this;}
66 template<typename EntriesT = ChangeMessageVisibilityBatchRequestEntry>
67 ChangeMessageVisibilityBatchRequest& AddEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries.emplace_back(std::forward<EntriesT>(value)); return *this; }
69 private:
70
71 Aws::String m_queueUrl;
72 bool m_queueUrlHasBeenSet = false;
73
75 bool m_entriesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SQS
80} // namespace Aws
ChangeMessageVisibilityBatchRequest & WithQueueUrl(QueueUrlT &&value)
AWS_SQS_API Aws::String SerializePayload() const override
const Aws::Vector< ChangeMessageVisibilityBatchRequestEntry > & GetEntries() const
ChangeMessageVisibilityBatchRequest & WithEntries(EntriesT &&value)
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ChangeMessageVisibilityBatchRequest & AddEntries(EntriesT &&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