AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteMessageBatchRequestEntry.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SQS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SQS_API DeleteMessageBatchRequestEntry() = default;
39
40
42
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 DeleteMessageBatchRequestEntry& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_receiptHandleHasBeenSet = true; m_receiptHandle = std::forward<ReceiptHandleT>(value); }
65 template<typename ReceiptHandleT = Aws::String>
66 DeleteMessageBatchRequestEntry& WithReceiptHandle(ReceiptHandleT&& value) { SetReceiptHandle(std::forward<ReceiptHandleT>(value)); return *this;}
68 private:
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72
73 Aws::String m_receiptHandle;
74 bool m_receiptHandleHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SQS
79} // 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