AWS SDK for C++  0.14.3
AWS SDK for C++
SendMessageResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/sqs/SQS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Xml
28 {
29  class XmlDocument;
30 } // namespace Xml
31 } // namespace Utils
32 namespace SQS
33 {
34 namespace Model
35 {
40  {
41  public:
45 
53  inline const Aws::String& GetMD5OfMessageBody() const{ return m_mD5OfMessageBody; }
54 
62  inline void SetMD5OfMessageBody(const Aws::String& value) { m_mD5OfMessageBody = value; }
63 
71  inline void SetMD5OfMessageBody(Aws::String&& value) { m_mD5OfMessageBody = value; }
72 
80  inline void SetMD5OfMessageBody(const char* value) { m_mD5OfMessageBody.assign(value); }
81 
89  inline SendMessageResult& WithMD5OfMessageBody(const Aws::String& value) { SetMD5OfMessageBody(value); return *this;}
90 
98  inline SendMessageResult& WithMD5OfMessageBody(Aws::String&& value) { SetMD5OfMessageBody(value); return *this;}
99 
107  inline SendMessageResult& WithMD5OfMessageBody(const char* value) { SetMD5OfMessageBody(value); return *this;}
108 
116  inline const Aws::String& GetMD5OfMessageAttributes() const{ return m_mD5OfMessageAttributes; }
117 
125  inline void SetMD5OfMessageAttributes(const Aws::String& value) { m_mD5OfMessageAttributes = value; }
126 
134  inline void SetMD5OfMessageAttributes(Aws::String&& value) { m_mD5OfMessageAttributes = value; }
135 
143  inline void SetMD5OfMessageAttributes(const char* value) { m_mD5OfMessageAttributes.assign(value); }
144 
152  inline SendMessageResult& WithMD5OfMessageAttributes(const Aws::String& value) { SetMD5OfMessageAttributes(value); return *this;}
153 
161  inline SendMessageResult& WithMD5OfMessageAttributes(Aws::String&& value) { SetMD5OfMessageAttributes(value); return *this;}
162 
170  inline SendMessageResult& WithMD5OfMessageAttributes(const char* value) { SetMD5OfMessageAttributes(value); return *this;}
171 
178  inline const Aws::String& GetMessageId() const{ return m_messageId; }
179 
186  inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
187 
194  inline void SetMessageId(Aws::String&& value) { m_messageId = value; }
195 
202  inline void SetMessageId(const char* value) { m_messageId.assign(value); }
203 
210  inline SendMessageResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
211 
218  inline SendMessageResult& WithMessageId(Aws::String&& value) { SetMessageId(value); return *this;}
219 
226  inline SendMessageResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
227 
228 
229  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
230 
231 
232  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
233 
234 
235  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
236 
237 
238  inline SendMessageResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
239 
240 
241  inline SendMessageResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
242 
243  private:
244  Aws::String m_mD5OfMessageBody;
245  Aws::String m_mD5OfMessageAttributes;
246  Aws::String m_messageId;
247  ResponseMetadata m_responseMetadata;
248  };
249 
250 } // namespace Model
251 } // namespace SQS
252 } // namespace Aws
SendMessageResult & WithResponseMetadata(const ResponseMetadata &value)
SendMessageResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetMD5OfMessageBody() const
void SetMD5OfMessageBody(Aws::String &&value)
void SetMD5OfMessageAttributes(const Aws::String &value)
SendMessageResult & WithMD5OfMessageBody(Aws::String &&value)
SendMessageResult & WithMD5OfMessageBody(const char *value)
void SetMessageId(const char *value)
SendMessageResult & WithMessageId(const Aws::String &value)
void SetMD5OfMessageBody(const Aws::String &value)
void SetMessageId(const Aws::String &value)
SendMessageResult & WithMD5OfMessageAttributes(const Aws::String &value)
void SetMessageId(Aws::String &&value)
SendMessageResult & WithMD5OfMessageAttributes(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
SendMessageResult & WithMessageId(const char *value)
void SetMD5OfMessageBody(const char *value)
const Aws::String & GetMD5OfMessageAttributes() const
const ResponseMetadata & GetResponseMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::String & GetMessageId() const
SendMessageResult & WithMD5OfMessageAttributes(const char *value)
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:37
SendMessageResult & WithMD5OfMessageBody(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetMD5OfMessageAttributes(Aws::String &&value)
SendMessageResult & WithMessageId(Aws::String &&value)
JSON (JavaScript Object Notation).
void SetMD5OfMessageAttributes(const char *value)