AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChangeMessageVisibilityBatchRequestEntry.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 ChangeMessageVisibilityBatchRequestEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline ChangeMessageVisibilityBatchRequestEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline ChangeMessageVisibilityBatchRequestEntry& 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); }
70 inline ChangeMessageVisibilityBatchRequestEntry& WithReceiptHandle(const char* value) { SetReceiptHandle(value); return *this;}
72
74
77 inline int GetVisibilityTimeout() const{ return m_visibilityTimeout; }
78 inline bool VisibilityTimeoutHasBeenSet() const { return m_visibilityTimeoutHasBeenSet; }
79 inline void SetVisibilityTimeout(int value) { m_visibilityTimeoutHasBeenSet = true; m_visibilityTimeout = value; }
82 private:
83
84 Aws::String m_id;
85 bool m_idHasBeenSet = false;
86
87 Aws::String m_receiptHandle;
88 bool m_receiptHandleHasBeenSet = false;
89
90 int m_visibilityTimeout;
91 bool m_visibilityTimeoutHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SQS
96} // namespace Aws
void SetReceiptHandle(Aws::String &&value)
ChangeMessageVisibilityBatchRequestEntry & WithId(Aws::String &&value)
const Aws::String & GetId() const
ChangeMessageVisibilityBatchRequestEntry & WithReceiptHandle(Aws::String &&value)
ChangeMessageVisibilityBatchRequestEntry & WithVisibilityTimeout(int value)
bool IdHasBeenSet() const
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReceiptHandleHasBeenSet() const
void SetReceiptHandle(const Aws::String &value)
void SetVisibilityTimeout(int value)
AWS_SQS_API ChangeMessageVisibilityBatchRequestEntry(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
void SetId(Aws::String &&value)
ChangeMessageVisibilityBatchRequestEntry & WithReceiptHandle(const Aws::String &value)
int GetVisibilityTimeout() const
AWS_SQS_API ChangeMessageVisibilityBatchRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VisibilityTimeoutHasBeenSet() const
ChangeMessageVisibilityBatchRequestEntry & WithId(const Aws::String &value)
ChangeMessageVisibilityBatchRequestEntry & WithId(const char *value)
void SetId(const char *value)
void SetReceiptHandle(const char *value)
ChangeMessageVisibilityBatchRequestEntry & WithReceiptHandle(const char *value)
AWS_SQS_API ChangeMessageVisibilityBatchRequestEntry()
const Aws::String & GetReceiptHandle() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue