AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteMessageBatchRequestEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sqs/SQS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SQS {
20namespace Model {
21
29 public:
30 AWS_SQS_API DeleteMessageBatchRequestEntry() = default;
34
36
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetReceiptHandle() const { return m_receiptHandle; }
62 inline bool ReceiptHandleHasBeenSet() const { return m_receiptHandleHasBeenSet; }
63 template <typename ReceiptHandleT = Aws::String>
64 void SetReceiptHandle(ReceiptHandleT&& value) {
65 m_receiptHandleHasBeenSet = true;
66 m_receiptHandle = std::forward<ReceiptHandleT>(value);
67 }
68 template <typename ReceiptHandleT = Aws::String>
70 SetReceiptHandle(std::forward<ReceiptHandleT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_id;
76
77 Aws::String m_receiptHandle;
78 bool m_idHasBeenSet = false;
79 bool m_receiptHandleHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SQS
84} // namespace Aws
const Aws::String & GetReceiptHandle() const
void SetId(IdT &&value)
bool IdHasBeenSet() const
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SQS_API DeleteMessageBatchRequestEntry()=default
const Aws::String & GetId() const
DeleteMessageBatchRequestEntry & WithId(IdT &&value)
void SetReceiptHandle(ReceiptHandleT &&value)
DeleteMessageBatchRequestEntry & WithReceiptHandle(ReceiptHandleT &&value)
AWS_SQS_API DeleteMessageBatchRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReceiptHandleHasBeenSet() const
AWS_SQS_API DeleteMessageBatchRequestEntry(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue