AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendMessageResult.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sqs/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SQS
25{
26namespace Model
27{
35 {
36 public:
37 AWS_SQS_API SendMessageResult();
40
41
43
49 inline const Aws::String& GetMD5OfMessageBody() const{ return m_mD5OfMessageBody; }
50 inline void SetMD5OfMessageBody(const Aws::String& value) { m_mD5OfMessageBody = value; }
51 inline void SetMD5OfMessageBody(Aws::String&& value) { m_mD5OfMessageBody = std::move(value); }
52 inline void SetMD5OfMessageBody(const char* value) { m_mD5OfMessageBody.assign(value); }
53 inline SendMessageResult& WithMD5OfMessageBody(const Aws::String& value) { SetMD5OfMessageBody(value); return *this;}
54 inline SendMessageResult& WithMD5OfMessageBody(Aws::String&& value) { SetMD5OfMessageBody(std::move(value)); return *this;}
55 inline SendMessageResult& WithMD5OfMessageBody(const char* value) { SetMD5OfMessageBody(value); return *this;}
57
59
65 inline const Aws::String& GetMD5OfMessageAttributes() const{ return m_mD5OfMessageAttributes; }
66 inline void SetMD5OfMessageAttributes(const Aws::String& value) { m_mD5OfMessageAttributes = value; }
67 inline void SetMD5OfMessageAttributes(Aws::String&& value) { m_mD5OfMessageAttributes = std::move(value); }
68 inline void SetMD5OfMessageAttributes(const char* value) { m_mD5OfMessageAttributes.assign(value); }
70 inline SendMessageResult& WithMD5OfMessageAttributes(Aws::String&& value) { SetMD5OfMessageAttributes(std::move(value)); return *this;}
71 inline SendMessageResult& WithMD5OfMessageAttributes(const char* value) { SetMD5OfMessageAttributes(value); return *this;}
73
75
80 inline const Aws::String& GetMD5OfMessageSystemAttributes() const{ return m_mD5OfMessageSystemAttributes; }
81 inline void SetMD5OfMessageSystemAttributes(const Aws::String& value) { m_mD5OfMessageSystemAttributes = value; }
82 inline void SetMD5OfMessageSystemAttributes(Aws::String&& value) { m_mD5OfMessageSystemAttributes = std::move(value); }
83 inline void SetMD5OfMessageSystemAttributes(const char* value) { m_mD5OfMessageSystemAttributes.assign(value); }
88
90
96 inline const Aws::String& GetMessageId() const{ return m_messageId; }
97 inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
98 inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
99 inline void SetMessageId(const char* value) { m_messageId.assign(value); }
100 inline SendMessageResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
101 inline SendMessageResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
102 inline SendMessageResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
104
106
113 inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
114 inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumber = value; }
115 inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumber = std::move(value); }
116 inline void SetSequenceNumber(const char* value) { m_sequenceNumber.assign(value); }
117 inline SendMessageResult& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
118 inline SendMessageResult& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
119 inline SendMessageResult& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const{ return m_requestId; }
125 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
126 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
127 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 inline SendMessageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 inline SendMessageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
130 inline SendMessageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
132
134
135 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
136 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
137 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
138 inline SendMessageResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
139 inline SendMessageResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
141 private:
142
143 Aws::String m_mD5OfMessageBody;
144
145 Aws::String m_mD5OfMessageAttributes;
146
147 Aws::String m_mD5OfMessageSystemAttributes;
148
149 Aws::String m_messageId;
150
151 Aws::String m_sequenceNumber;
152
153 Aws::String m_requestId;
154
155 ResponseMetadata m_responseMetadata;
156 };
157
158} // namespace Model
159} // namespace SQS
160} // namespace Aws
SendMessageResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetRequestId() const
void SetMD5OfMessageSystemAttributes(const Aws::String &value)
void SetMessageId(const Aws::String &value)
const Aws::String & GetSequenceNumber() const
SendMessageResult & WithMD5OfMessageAttributes(const Aws::String &value)
SendMessageResult & WithRequestId(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
SendMessageResult & WithMD5OfMessageBody(const char *value)
SendMessageResult & WithMD5OfMessageBody(Aws::String &&value)
void SetMD5OfMessageSystemAttributes(Aws::String &&value)
void SetSequenceNumber(const Aws::String &value)
SendMessageResult & WithMessageId(const Aws::String &value)
SendMessageResult & WithMessageId(Aws::String &&value)
void SetMD5OfMessageSystemAttributes(const char *value)
void SetSequenceNumber(const char *value)
void SetMD5OfMessageAttributes(Aws::String &&value)
const Aws::String & GetMD5OfMessageBody() const
SendMessageResult & WithRequestId(const char *value)
void SetMD5OfMessageAttributes(const Aws::String &value)
SendMessageResult & WithSequenceNumber(const Aws::String &value)
void SetSequenceNumber(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
SendMessageResult & WithMD5OfMessageAttributes(Aws::String &&value)
void SetRequestId(const Aws::String &value)
SendMessageResult & WithSequenceNumber(Aws::String &&value)
SendMessageResult & WithResponseMetadata(const ResponseMetadata &value)
void SetMD5OfMessageAttributes(const char *value)
AWS_SQS_API SendMessageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMD5OfMessageBody(Aws::String &&value)
void SetMessageId(const char *value)
SendMessageResult & WithMD5OfMessageSystemAttributes(Aws::String &&value)
SendMessageResult & WithRequestId(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
SendMessageResult & WithMD5OfMessageBody(const Aws::String &value)
void SetMD5OfMessageBody(const Aws::String &value)
SendMessageResult & WithMD5OfMessageAttributes(const char *value)
const Aws::String & GetMD5OfMessageAttributes() const
const Aws::String & GetMD5OfMessageSystemAttributes() const
void SetMD5OfMessageBody(const char *value)
SendMessageResult & WithMD5OfMessageSystemAttributes(const Aws::String &value)
SendMessageResult & WithSequenceNumber(const char *value)
void SetRequestId(Aws::String &&value)
SendMessageResult & WithMessageId(const char *value)
void SetMessageId(Aws::String &&value)
const Aws::String & GetMessageId() const
AWS_SQS_API SendMessageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SendMessageResult & WithMD5OfMessageSystemAttributes(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue