AWS SDK for C++  1.9.1
AWS SDK for C++
SendMessageResult.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 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace SQS
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
48  inline const Aws::String& GetMD5OfMessageBody() const{ return m_mD5OfMessageBody; }
49 
56  inline void SetMD5OfMessageBody(const Aws::String& value) { m_mD5OfMessageBody = value; }
57 
64  inline void SetMD5OfMessageBody(Aws::String&& value) { m_mD5OfMessageBody = std::move(value); }
65 
72  inline void SetMD5OfMessageBody(const char* value) { m_mD5OfMessageBody.assign(value); }
73 
80  inline SendMessageResult& WithMD5OfMessageBody(const Aws::String& value) { SetMD5OfMessageBody(value); return *this;}
81 
88  inline SendMessageResult& WithMD5OfMessageBody(Aws::String&& value) { SetMD5OfMessageBody(std::move(value)); return *this;}
89 
96  inline SendMessageResult& WithMD5OfMessageBody(const char* value) { SetMD5OfMessageBody(value); return *this;}
97 
98 
105  inline const Aws::String& GetMD5OfMessageAttributes() const{ return m_mD5OfMessageAttributes; }
106 
113  inline void SetMD5OfMessageAttributes(const Aws::String& value) { m_mD5OfMessageAttributes = value; }
114 
121  inline void SetMD5OfMessageAttributes(Aws::String&& value) { m_mD5OfMessageAttributes = std::move(value); }
122 
129  inline void SetMD5OfMessageAttributes(const char* value) { m_mD5OfMessageAttributes.assign(value); }
130 
137  inline SendMessageResult& WithMD5OfMessageAttributes(const Aws::String& value) { SetMD5OfMessageAttributes(value); return *this;}
138 
145  inline SendMessageResult& WithMD5OfMessageAttributes(Aws::String&& value) { SetMD5OfMessageAttributes(std::move(value)); return *this;}
146 
153  inline SendMessageResult& WithMD5OfMessageAttributes(const char* value) { SetMD5OfMessageAttributes(value); return *this;}
154 
155 
161  inline const Aws::String& GetMD5OfMessageSystemAttributes() const{ return m_mD5OfMessageSystemAttributes; }
162 
168  inline void SetMD5OfMessageSystemAttributes(const Aws::String& value) { m_mD5OfMessageSystemAttributes = value; }
169 
175  inline void SetMD5OfMessageSystemAttributes(Aws::String&& value) { m_mD5OfMessageSystemAttributes = std::move(value); }
176 
182  inline void SetMD5OfMessageSystemAttributes(const char* value) { m_mD5OfMessageSystemAttributes.assign(value); }
183 
189  inline SendMessageResult& WithMD5OfMessageSystemAttributes(const Aws::String& value) { SetMD5OfMessageSystemAttributes(value); return *this;}
190 
196  inline SendMessageResult& WithMD5OfMessageSystemAttributes(Aws::String&& value) { SetMD5OfMessageSystemAttributes(std::move(value)); return *this;}
197 
203  inline SendMessageResult& WithMD5OfMessageSystemAttributes(const char* value) { SetMD5OfMessageSystemAttributes(value); return *this;}
204 
205 
213  inline const Aws::String& GetMessageId() const{ return m_messageId; }
214 
222  inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
223 
231  inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
232 
240  inline void SetMessageId(const char* value) { m_messageId.assign(value); }
241 
249  inline SendMessageResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
250 
258  inline SendMessageResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
259 
267  inline SendMessageResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
268 
269 
277  inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
278 
286  inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumber = value; }
287 
295  inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumber = std::move(value); }
296 
304  inline void SetSequenceNumber(const char* value) { m_sequenceNumber.assign(value); }
305 
313  inline SendMessageResult& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
314 
322  inline SendMessageResult& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
323 
331  inline SendMessageResult& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
332 
333 
334 
335  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
336 
337 
338  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
339 
340 
341  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
342 
343 
344  inline SendMessageResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
345 
346 
347  inline SendMessageResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
348 
349  private:
350 
351  Aws::String m_mD5OfMessageBody;
352 
353  Aws::String m_mD5OfMessageAttributes;
354 
355  Aws::String m_mD5OfMessageSystemAttributes;
356 
357  Aws::String m_messageId;
358 
359  Aws::String m_sequenceNumber;
360 
361  ResponseMetadata m_responseMetadata;
362  };
363 
364 } // namespace Model
365 } // namespace SQS
366 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageAttributes
SendMessageResult & WithMD5OfMessageAttributes(const char *value)
Definition: SendMessageResult.h:153
Aws::SQS::Model::SendMessageResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: SendMessageResult.h:338
Aws::SQS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageBody
SendMessageResult & WithMD5OfMessageBody(const char *value)
Definition: SendMessageResult.h:96
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageAttributes
SendMessageResult & WithMD5OfMessageAttributes(Aws::String &&value)
Definition: SendMessageResult.h:145
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageBody
void SetMD5OfMessageBody(Aws::String &&value)
Definition: SendMessageResult.h:64
Aws::SQS::Model::SendMessageResult::WithResponseMetadata
SendMessageResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: SendMessageResult.h:344
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageAttributes
SendMessageResult & WithMD5OfMessageAttributes(const Aws::String &value)
Definition: SendMessageResult.h:137
Aws::SQS::Model::SendMessageResult::WithMessageId
SendMessageResult & WithMessageId(const char *value)
Definition: SendMessageResult.h:267
Aws::SQS::Model::SendMessageResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: SendMessageResult.h:341
Aws::SQS::Model::SendMessageResult::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: SendMessageResult.h:222
Aws::SQS::Model::SendMessageResult::SendMessageResult
SendMessageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SQS::Model::SendMessageResult::WithSequenceNumber
SendMessageResult & WithSequenceNumber(const char *value)
Definition: SendMessageResult.h:331
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageAttributes
void SetMD5OfMessageAttributes(const Aws::String &value)
Definition: SendMessageResult.h:113
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageSystemAttributes
void SetMD5OfMessageSystemAttributes(const Aws::String &value)
Definition: SendMessageResult.h:168
Aws::SQS::Model::SendMessageResult::SendMessageResult
SendMessageResult()
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageBody
void SetMD5OfMessageBody(const Aws::String &value)
Definition: SendMessageResult.h:56
Aws::SQS::Model::SendMessageResult::WithMessageId
SendMessageResult & WithMessageId(Aws::String &&value)
Definition: SendMessageResult.h:258
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageAttributes
void SetMD5OfMessageAttributes(const char *value)
Definition: SendMessageResult.h:129
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageBody
SendMessageResult & WithMD5OfMessageBody(const Aws::String &value)
Definition: SendMessageResult.h:80
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageBody
SendMessageResult & WithMD5OfMessageBody(Aws::String &&value)
Definition: SendMessageResult.h:88
Aws::SQS::Model::SendMessageResult::WithSequenceNumber
SendMessageResult & WithSequenceNumber(const Aws::String &value)
Definition: SendMessageResult.h:313
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::SendMessageResult::WithResponseMetadata
SendMessageResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: SendMessageResult.h:347
Aws::SQS::Model::SendMessageResult::GetMD5OfMessageAttributes
const Aws::String & GetMD5OfMessageAttributes() const
Definition: SendMessageResult.h:105
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageSystemAttributes
SendMessageResult & WithMD5OfMessageSystemAttributes(Aws::String &&value)
Definition: SendMessageResult.h:196
Aws::SQS::Model::SendMessageResult::GetMD5OfMessageBody
const Aws::String & GetMD5OfMessageBody() const
Definition: SendMessageResult.h:48
SQS_EXPORTS.h
Aws::SQS::Model::SendMessageResult::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: SendMessageResult.h:231
Aws::SQS::Model::SendMessageResult::operator=
SendMessageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::SendMessageResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: SendMessageResult.h:335
Aws::SQS::Model::SendMessageResult::SetSequenceNumber
void SetSequenceNumber(const Aws::String &value)
Definition: SendMessageResult.h:286
Aws::SQS::Model::SendMessageResult
Definition: SendMessageResult.h:35
Aws::SQS::Model::SendMessageResult::GetSequenceNumber
const Aws::String & GetSequenceNumber() const
Definition: SendMessageResult.h:277
Aws::SQS::Model::SendMessageResult::SetSequenceNumber
void SetSequenceNumber(const char *value)
Definition: SendMessageResult.h:304
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageAttributes
void SetMD5OfMessageAttributes(Aws::String &&value)
Definition: SendMessageResult.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageSystemAttributes
SendMessageResult & WithMD5OfMessageSystemAttributes(const char *value)
Definition: SendMessageResult.h:203
Aws::SQS::Model::SendMessageResult::WithMessageId
SendMessageResult & WithMessageId(const Aws::String &value)
Definition: SendMessageResult.h:249
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageBody
void SetMD5OfMessageBody(const char *value)
Definition: SendMessageResult.h:72
ResponseMetadata.h
Aws::SQS::Model::SendMessageResult::WithSequenceNumber
SendMessageResult & WithSequenceNumber(Aws::String &&value)
Definition: SendMessageResult.h:322
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageSystemAttributes
void SetMD5OfMessageSystemAttributes(Aws::String &&value)
Definition: SendMessageResult.h:175
Aws::SQS::Model::SendMessageResult::SetMD5OfMessageSystemAttributes
void SetMD5OfMessageSystemAttributes(const char *value)
Definition: SendMessageResult.h:182
Aws::SQS::Model::SendMessageResult::WithMD5OfMessageSystemAttributes
SendMessageResult & WithMD5OfMessageSystemAttributes(const Aws::String &value)
Definition: SendMessageResult.h:189
Aws::SQS::Model::SendMessageResult::SetSequenceNumber
void SetSequenceNumber(Aws::String &&value)
Definition: SendMessageResult.h:295
Aws::SQS::Model::SendMessageResult::GetMessageId
const Aws::String & GetMessageId() const
Definition: SendMessageResult.h:213
Aws::SQS::Model::SendMessageResult::GetMD5OfMessageSystemAttributes
const Aws::String & GetMD5OfMessageSystemAttributes() const
Definition: SendMessageResult.h:161
Aws::SQS::Model::SendMessageResult::SetMessageId
void SetMessageId(const char *value)
Definition: SendMessageResult.h:240