AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline DeleteMessageBatchRequestEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline DeleteMessageBatchRequestEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline DeleteMessageBatchRequestEntry& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetReceiptHandle() const{ return m_receiptHandle; }
64 inline bool ReceiptHandleHasBeenSet() const { return m_receiptHandleHasBeenSet; }
65 inline void SetReceiptHandle(const Aws::String& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = value; }
66 inline void SetReceiptHandle(Aws::String&& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = std::move(value); }
67 inline void SetReceiptHandle(const char* value) { m_receiptHandleHasBeenSet = true; m_receiptHandle.assign(value); }
69 inline DeleteMessageBatchRequestEntry& WithReceiptHandle(Aws::String&& value) { SetReceiptHandle(std::move(value)); return *this;}
70 inline DeleteMessageBatchRequestEntry& WithReceiptHandle(const char* value) { SetReceiptHandle(value); return *this;}
72 private:
73
74 Aws::String m_id;
75 bool m_idHasBeenSet = false;
76
77 Aws::String m_receiptHandle;
78 bool m_receiptHandleHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SQS
83} // namespace Aws
AWS_SQS_API DeleteMessageBatchRequestEntry()
DeleteMessageBatchRequestEntry & WithId(const Aws::String &value)
DeleteMessageBatchRequestEntry & WithId(Aws::String &&value)
const Aws::String & GetReceiptHandle() const
DeleteMessageBatchRequestEntry & WithReceiptHandle(const Aws::String &value)
void SetReceiptHandle(Aws::String &&value)
DeleteMessageBatchRequestEntry & WithReceiptHandle(const char *value)
bool IdHasBeenSet() const
void SetId(Aws::String &&value)
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReceiptHandle(const char *value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
AWS_SQS_API DeleteMessageBatchRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReceiptHandleHasBeenSet() const
DeleteMessageBatchRequestEntry & WithId(const char *value)
void SetId(const char *value)
void SetReceiptHandle(const Aws::String &value)
AWS_SQS_API DeleteMessageBatchRequestEntry(Aws::Utils::Json::JsonView jsonValue)
DeleteMessageBatchRequestEntry & WithReceiptHandle(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue