AWS SDK for C++  1.8.126
AWS SDK for C++
SendMessageBatchResultEntry.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sqs/SQS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SQS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetId() const{ return m_id; }
47 
51  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 
56  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 
61  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 
66  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 
71  inline SendMessageBatchResultEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline SendMessageBatchResultEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 
81  inline SendMessageBatchResultEntry& WithId(const char* value) { SetId(value); return *this;}
82 
83 
87  inline const Aws::String& GetMessageId() const{ return m_messageId; }
88 
92  inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
93 
97  inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
98 
102  inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
103 
107  inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
108 
112  inline SendMessageBatchResultEntry& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
113 
117  inline SendMessageBatchResultEntry& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
118 
122  inline SendMessageBatchResultEntry& WithMessageId(const char* value) { SetMessageId(value); return *this;}
123 
124 
131  inline const Aws::String& GetMD5OfMessageBody() const{ return m_mD5OfMessageBody; }
132 
139  inline bool MD5OfMessageBodyHasBeenSet() const { return m_mD5OfMessageBodyHasBeenSet; }
140 
147  inline void SetMD5OfMessageBody(const Aws::String& value) { m_mD5OfMessageBodyHasBeenSet = true; m_mD5OfMessageBody = value; }
148 
155  inline void SetMD5OfMessageBody(Aws::String&& value) { m_mD5OfMessageBodyHasBeenSet = true; m_mD5OfMessageBody = std::move(value); }
156 
163  inline void SetMD5OfMessageBody(const char* value) { m_mD5OfMessageBodyHasBeenSet = true; m_mD5OfMessageBody.assign(value); }
164 
171  inline SendMessageBatchResultEntry& WithMD5OfMessageBody(const Aws::String& value) { SetMD5OfMessageBody(value); return *this;}
172 
179  inline SendMessageBatchResultEntry& WithMD5OfMessageBody(Aws::String&& value) { SetMD5OfMessageBody(std::move(value)); return *this;}
180 
187  inline SendMessageBatchResultEntry& WithMD5OfMessageBody(const char* value) { SetMD5OfMessageBody(value); return *this;}
188 
189 
196  inline const Aws::String& GetMD5OfMessageAttributes() const{ return m_mD5OfMessageAttributes; }
197 
204  inline bool MD5OfMessageAttributesHasBeenSet() const { return m_mD5OfMessageAttributesHasBeenSet; }
205 
212  inline void SetMD5OfMessageAttributes(const Aws::String& value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes = value; }
213 
220  inline void SetMD5OfMessageAttributes(Aws::String&& value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes = std::move(value); }
221 
228  inline void SetMD5OfMessageAttributes(const char* value) { m_mD5OfMessageAttributesHasBeenSet = true; m_mD5OfMessageAttributes.assign(value); }
229 
236  inline SendMessageBatchResultEntry& WithMD5OfMessageAttributes(const Aws::String& value) { SetMD5OfMessageAttributes(value); return *this;}
237 
244  inline SendMessageBatchResultEntry& WithMD5OfMessageAttributes(Aws::String&& value) { SetMD5OfMessageAttributes(std::move(value)); return *this;}
245 
252  inline SendMessageBatchResultEntry& WithMD5OfMessageAttributes(const char* value) { SetMD5OfMessageAttributes(value); return *this;}
253 
254 
262  inline const Aws::String& GetMD5OfMessageSystemAttributes() const{ return m_mD5OfMessageSystemAttributes; }
263 
271  inline bool MD5OfMessageSystemAttributesHasBeenSet() const { return m_mD5OfMessageSystemAttributesHasBeenSet; }
272 
280  inline void SetMD5OfMessageSystemAttributes(const Aws::String& value) { m_mD5OfMessageSystemAttributesHasBeenSet = true; m_mD5OfMessageSystemAttributes = value; }
281 
289  inline void SetMD5OfMessageSystemAttributes(Aws::String&& value) { m_mD5OfMessageSystemAttributesHasBeenSet = true; m_mD5OfMessageSystemAttributes = std::move(value); }
290 
298  inline void SetMD5OfMessageSystemAttributes(const char* value) { m_mD5OfMessageSystemAttributesHasBeenSet = true; m_mD5OfMessageSystemAttributes.assign(value); }
299 
307  inline SendMessageBatchResultEntry& WithMD5OfMessageSystemAttributes(const Aws::String& value) { SetMD5OfMessageSystemAttributes(value); return *this;}
308 
316  inline SendMessageBatchResultEntry& WithMD5OfMessageSystemAttributes(Aws::String&& value) { SetMD5OfMessageSystemAttributes(std::move(value)); return *this;}
317 
325  inline SendMessageBatchResultEntry& WithMD5OfMessageSystemAttributes(const char* value) { SetMD5OfMessageSystemAttributes(value); return *this;}
326 
327 
335  inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
336 
344  inline bool SequenceNumberHasBeenSet() const { return m_sequenceNumberHasBeenSet; }
345 
353  inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = value; }
354 
362  inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = std::move(value); }
363 
371  inline void SetSequenceNumber(const char* value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber.assign(value); }
372 
380  inline SendMessageBatchResultEntry& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
381 
389  inline SendMessageBatchResultEntry& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
390 
398  inline SendMessageBatchResultEntry& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
399 
400  private:
401 
402  Aws::String m_id;
403  bool m_idHasBeenSet;
404 
405  Aws::String m_messageId;
406  bool m_messageIdHasBeenSet;
407 
408  Aws::String m_mD5OfMessageBody;
409  bool m_mD5OfMessageBodyHasBeenSet;
410 
411  Aws::String m_mD5OfMessageAttributes;
412  bool m_mD5OfMessageAttributesHasBeenSet;
413 
414  Aws::String m_mD5OfMessageSystemAttributes;
415  bool m_mD5OfMessageSystemAttributesHasBeenSet;
416 
417  Aws::String m_sequenceNumber;
418  bool m_sequenceNumberHasBeenSet;
419  };
420 
421 } // namespace Model
422 } // namespace SQS
423 } // namespace Aws
Aws::SQS::Model::SendMessageBatchResultEntry::WithId
SendMessageBatchResultEntry & WithId(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:76
Aws::SQS::Model::SendMessageBatchResultEntry::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:97
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageAttributes
SendMessageBatchResultEntry & WithMD5OfMessageAttributes(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:236
Aws::SQS::Model::SendMessageBatchResultEntry::WithMessageId
SendMessageBatchResultEntry & WithMessageId(const char *value)
Definition: SendMessageBatchResultEntry.h:122
Aws::SQS::Model::SendMessageBatchResultEntry::SendMessageBatchResultEntry
SendMessageBatchResultEntry()
Aws::SQS::Model::SendMessageBatchResultEntry::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:102
Aws::SQS::Model::SendMessageBatchResultEntry::MD5OfMessageBodyHasBeenSet
bool MD5OfMessageBodyHasBeenSet() const
Definition: SendMessageBatchResultEntry.h:139
Aws::SQS::Model::SendMessageBatchResultEntry::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SQS::Model::SendMessageBatchResultEntry::SendMessageBatchResultEntry
SendMessageBatchResultEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageSystemAttributes
void SetMD5OfMessageSystemAttributes(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:289
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageAttributes
void SetMD5OfMessageAttributes(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:220
Aws::SQS::Model::SendMessageBatchResultEntry::SetId
void SetId(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:61
AWSStreamFwd.h
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageAttributes
void SetMD5OfMessageAttributes(const char *value)
Definition: SendMessageBatchResultEntry.h:228
Aws::SQS::Model::SendMessageBatchResultEntry::SetId
void SetId(const char *value)
Definition: SendMessageBatchResultEntry.h:66
Aws::SQS::Model::SendMessageBatchResultEntry::operator=
SendMessageBatchResultEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SQS::Model::SendMessageBatchResultEntry::SetId
void SetId(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:56
Aws::SQS::Model::SendMessageBatchResultEntry::WithSequenceNumber
SendMessageBatchResultEntry & WithSequenceNumber(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:389
Aws::SQS::Model::SendMessageBatchResultEntry::WithId
SendMessageBatchResultEntry & WithId(const char *value)
Definition: SendMessageBatchResultEntry.h:81
Aws::SQS::Model::SendMessageBatchResultEntry::GetMessageId
const Aws::String & GetMessageId() const
Definition: SendMessageBatchResultEntry.h:87
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageBody
SendMessageBatchResultEntry & WithMD5OfMessageBody(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:179
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageSystemAttributes
SendMessageBatchResultEntry & WithMD5OfMessageSystemAttributes(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:307
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageSystemAttributes
SendMessageBatchResultEntry & WithMD5OfMessageSystemAttributes(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:316
Aws::SQS::Model::SendMessageBatchResultEntry::GetMD5OfMessageAttributes
const Aws::String & GetMD5OfMessageAttributes() const
Definition: SendMessageBatchResultEntry.h:196
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SQS::Model::SendMessageBatchResultEntry::MD5OfMessageAttributesHasBeenSet
bool MD5OfMessageAttributesHasBeenSet() const
Definition: SendMessageBatchResultEntry.h:204
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageAttributes
SendMessageBatchResultEntry & WithMD5OfMessageAttributes(const char *value)
Definition: SendMessageBatchResultEntry.h:252
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageSystemAttributes
void SetMD5OfMessageSystemAttributes(const char *value)
Definition: SendMessageBatchResultEntry.h:298
Aws::SQS::Model::SendMessageBatchResultEntry::WithSequenceNumber
SendMessageBatchResultEntry & WithSequenceNumber(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:380
Aws::SQS::Model::SendMessageBatchResultEntry::IdHasBeenSet
bool IdHasBeenSet() const
Definition: SendMessageBatchResultEntry.h:51
Aws::SQS::Model::SendMessageBatchResultEntry::MessageIdHasBeenSet
bool MessageIdHasBeenSet() const
Definition: SendMessageBatchResultEntry.h:92
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::SendMessageBatchResultEntry::GetSequenceNumber
const Aws::String & GetSequenceNumber() const
Definition: SendMessageBatchResultEntry.h:335
Aws::SQS::Model::SendMessageBatchResultEntry::GetMD5OfMessageSystemAttributes
const Aws::String & GetMD5OfMessageSystemAttributes() const
Definition: SendMessageBatchResultEntry.h:262
Aws::SQS::Model::SendMessageBatchResultEntry
Definition: SendMessageBatchResultEntry.h:33
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageAttributes
SendMessageBatchResultEntry & WithMD5OfMessageAttributes(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:244
Aws::SQS::Model::SendMessageBatchResultEntry::WithMessageId
SendMessageBatchResultEntry & WithMessageId(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:117
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageBody
void SetMD5OfMessageBody(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:155
SQS_EXPORTS.h
Aws::SQS::Model::SendMessageBatchResultEntry::SetSequenceNumber
void SetSequenceNumber(const char *value)
Definition: SendMessageBatchResultEntry.h:371
Aws::SQS::Model::SendMessageBatchResultEntry::SetSequenceNumber
void SetSequenceNumber(Aws::String &&value)
Definition: SendMessageBatchResultEntry.h:362
Aws::SQS::Model::SendMessageBatchResultEntry::SequenceNumberHasBeenSet
bool SequenceNumberHasBeenSet() const
Definition: SendMessageBatchResultEntry.h:344
Aws::SQS::Model::SendMessageBatchResultEntry::WithSequenceNumber
SendMessageBatchResultEntry & WithSequenceNumber(const char *value)
Definition: SendMessageBatchResultEntry.h:398
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageBody
void SetMD5OfMessageBody(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:147
Aws::SQS::Model::SendMessageBatchResultEntry::SetSequenceNumber
void SetSequenceNumber(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:353
Aws::SQS::Model::SendMessageBatchResultEntry::WithMessageId
SendMessageBatchResultEntry & WithMessageId(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SQS::Model::SendMessageBatchResultEntry::GetMD5OfMessageBody
const Aws::String & GetMD5OfMessageBody() const
Definition: SendMessageBatchResultEntry.h:131
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageBody
SendMessageBatchResultEntry & WithMD5OfMessageBody(const char *value)
Definition: SendMessageBatchResultEntry.h:187
Aws::SQS::Model::SendMessageBatchResultEntry::SetMessageId
void SetMessageId(const char *value)
Definition: SendMessageBatchResultEntry.h:107
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageBody
SendMessageBatchResultEntry & WithMD5OfMessageBody(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:171
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageSystemAttributes
void SetMD5OfMessageSystemAttributes(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:280
Aws::SQS::Model::SendMessageBatchResultEntry::WithId
SendMessageBatchResultEntry & WithId(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:71
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageBody
void SetMD5OfMessageBody(const char *value)
Definition: SendMessageBatchResultEntry.h:163
Aws::SQS::Model::SendMessageBatchResultEntry::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SQS::Model::SendMessageBatchResultEntry::GetId
const Aws::String & GetId() const
Definition: SendMessageBatchResultEntry.h:46
Aws::SQS::Model::SendMessageBatchResultEntry::MD5OfMessageSystemAttributesHasBeenSet
bool MD5OfMessageSystemAttributesHasBeenSet() const
Definition: SendMessageBatchResultEntry.h:271
Aws::SQS::Model::SendMessageBatchResultEntry::WithMD5OfMessageSystemAttributes
SendMessageBatchResultEntry & WithMD5OfMessageSystemAttributes(const char *value)
Definition: SendMessageBatchResultEntry.h:325
Aws::SQS::Model::SendMessageBatchResultEntry::SetMD5OfMessageAttributes
void SetMD5OfMessageAttributes(const Aws::String &value)
Definition: SendMessageBatchResultEntry.h:212