AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendMessageBatchResultEntry.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
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline SendMessageBatchResultEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline SendMessageBatchResultEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline SendMessageBatchResultEntry& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetMessageId() const{ return m_messageId; }
60 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
61 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
62 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
63 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
64 inline SendMessageBatchResultEntry& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
65 inline SendMessageBatchResultEntry& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
66 inline SendMessageBatchResultEntry& WithMessageId(const char* value) { SetMessageId(value); return *this;}
68
70
76 inline const Aws::String& GetMD5OfMessageBody() const{ return m_mD5OfMessageBody; }
77 inline bool MD5OfMessageBodyHasBeenSet() const { return m_mD5OfMessageBodyHasBeenSet; }
78 inline void SetMD5OfMessageBody(const Aws::String& value) { m_mD5OfMessageBodyHasBeenSet = true; m_mD5OfMessageBody = value; }
79 inline void SetMD5OfMessageBody(Aws::String&& value) { m_mD5OfMessageBodyHasBeenSet = true; m_mD5OfMessageBody = std::move(value); }
80 inline void SetMD5OfMessageBody(const char* value) { m_mD5OfMessageBodyHasBeenSet = true; m_mD5OfMessageBody.assign(value); }
82 inline SendMessageBatchResultEntry& WithMD5OfMessageBody(Aws::String&& value) { SetMD5OfMessageBody(std::move(value)); return *this;}
83 inline SendMessageBatchResultEntry& WithMD5OfMessageBody(const char* value) { SetMD5OfMessageBody(value); return *this;}
85
87
93 inline const Aws::String& GetMD5OfMessageAttributes() const{ return m_mD5OfMessageAttributes; }
94 inline bool MD5OfMessageAttributesHasBeenSet() const { return m_mD5OfMessageAttributesHasBeenSet; }
95 inline void SetMD5OfMessageAttributes(const Aws::String& value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes = value; }
96 inline void SetMD5OfMessageAttributes(Aws::String&& value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes = std::move(value); }
97 inline void SetMD5OfMessageAttributes(const char* value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes.assign(value); }
100 inline SendMessageBatchResultEntry& WithMD5OfMessageAttributes(const char* value) { SetMD5OfMessageAttributes(value); return *this;}
102
104
111 inline const Aws::String& GetMD5OfMessageSystemAttributes() const{ return m_mD5OfMessageSystemAttributes; }
112 inline bool MD5OfMessageSystemAttributesHasBeenSet() const { return m_mD5OfMessageSystemAttributesHasBeenSet; }
113 inline void SetMD5OfMessageSystemAttributes(const Aws::String& value) { m_mD5OfMessageSystemAttributesHasBeenSet = true; m_mD5OfMessageSystemAttributes = value; }
114 inline void SetMD5OfMessageSystemAttributes(Aws::String&& value) { m_mD5OfMessageSystemAttributesHasBeenSet = true; m_mD5OfMessageSystemAttributes = std::move(value); }
115 inline void SetMD5OfMessageSystemAttributes(const char* value) { m_mD5OfMessageSystemAttributesHasBeenSet = true; m_mD5OfMessageSystemAttributes.assign(value); }
120
122
129 inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
130 inline bool SequenceNumberHasBeenSet() const { return m_sequenceNumberHasBeenSet; }
131 inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = value; }
132 inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = std::move(value); }
133 inline void SetSequenceNumber(const char* value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber.assign(value); }
135 inline SendMessageBatchResultEntry& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
136 inline SendMessageBatchResultEntry& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
138 private:
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_messageId;
144 bool m_messageIdHasBeenSet = false;
145
146 Aws::String m_mD5OfMessageBody;
147 bool m_mD5OfMessageBodyHasBeenSet = false;
148
149 Aws::String m_mD5OfMessageAttributes;
150 bool m_mD5OfMessageAttributesHasBeenSet = false;
151
152 Aws::String m_mD5OfMessageSystemAttributes;
153 bool m_mD5OfMessageSystemAttributesHasBeenSet = false;
154
155 Aws::String m_sequenceNumber;
156 bool m_sequenceNumberHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace SQS
161} // namespace Aws
SendMessageBatchResultEntry & WithMD5OfMessageBody(const char *value)
const Aws::String & GetMD5OfMessageBody() const
void SetMD5OfMessageBody(const Aws::String &value)
void SetMD5OfMessageAttributes(Aws::String &&value)
const Aws::String & GetSequenceNumber() const
void SetMD5OfMessageAttributes(const Aws::String &value)
SendMessageBatchResultEntry & WithMessageId(const Aws::String &value)
SendMessageBatchResultEntry & WithMD5OfMessageSystemAttributes(Aws::String &&value)
void SetMD5OfMessageSystemAttributes(Aws::String &&value)
SendMessageBatchResultEntry & WithMD5OfMessageAttributes(Aws::String &&value)
void SetId(const char *value)
bool MD5OfMessageSystemAttributesHasBeenSet() const
const Aws::String & GetMessageId() const
SendMessageBatchResultEntry & WithSequenceNumber(const char *value)
bool MessageIdHasBeenSet() const
AWS_SQS_API SendMessageBatchResultEntry(Aws::Utils::Json::JsonView jsonValue)
SendMessageBatchResultEntry & WithMD5OfMessageAttributes(const Aws::String &value)
void SetMD5OfMessageSystemAttributes(const Aws::String &value)
void SetSequenceNumber(const char *value)
SendMessageBatchResultEntry & WithMD5OfMessageSystemAttributes(const char *value)
SendMessageBatchResultEntry & WithSequenceNumber(const Aws::String &value)
SendMessageBatchResultEntry & WithMD5OfMessageBody(const Aws::String &value)
void SetMessageId(const Aws::String &value)
SendMessageBatchResultEntry & WithSequenceNumber(Aws::String &&value)
void SetMD5OfMessageAttributes(const char *value)
AWS_SQS_API SendMessageBatchResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSequenceNumber(const Aws::String &value)
SendMessageBatchResultEntry & WithMD5OfMessageAttributes(const char *value)
const Aws::String & GetId() const
void SetMessageId(const char *value)
void SetMD5OfMessageBody(const char *value)
const Aws::String & GetMD5OfMessageAttributes() const
bool SequenceNumberHasBeenSet() const
SendMessageBatchResultEntry & WithId(const Aws::String &value)
bool MD5OfMessageAttributesHasBeenSet() const
SendMessageBatchResultEntry & WithId(Aws::String &&value)
const Aws::String & GetMD5OfMessageSystemAttributes() const
SendMessageBatchResultEntry & WithMD5OfMessageSystemAttributes(const Aws::String &value)
bool IdHasBeenSet() const
AWS_SQS_API SendMessageBatchResultEntry()
SendMessageBatchResultEntry & WithId(const char *value)
void SetMD5OfMessageBody(Aws::String &&value)
void SetId(Aws::String &&value)
void SetSequenceNumber(Aws::String &&value)
SendMessageBatchResultEntry & WithMD5OfMessageBody(Aws::String &&value)
void SetMessageId(Aws::String &&value)
SendMessageBatchResultEntry & WithMessageId(const char *value)
void SetId(const Aws::String &value)
SendMessageBatchResultEntry & WithMessageId(Aws::String &&value)
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMD5OfMessageSystemAttributes(const char *value)
bool MD5OfMessageBodyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue