AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteMessageBatchResult.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sqs/model/ResponseMetadata.h>
11#include <aws/sqs/model/DeleteMessageBatchResultEntry.h>
12#include <aws/sqs/model/BatchResultErrorEntry.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SQS
28{
29namespace Model
30{
40 {
41 public:
45
46
48
51 inline const Aws::Vector<DeleteMessageBatchResultEntry>& GetSuccessful() const{ return m_successful; }
52 inline void SetSuccessful(const Aws::Vector<DeleteMessageBatchResultEntry>& value) { m_successful = value; }
53 inline void SetSuccessful(Aws::Vector<DeleteMessageBatchResultEntry>&& value) { m_successful = std::move(value); }
56 inline DeleteMessageBatchResult& AddSuccessful(const DeleteMessageBatchResultEntry& value) { m_successful.push_back(value); return *this; }
57 inline DeleteMessageBatchResult& AddSuccessful(DeleteMessageBatchResultEntry&& value) { m_successful.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::Vector<BatchResultErrorEntry>& GetFailed() const{ return m_failed; }
65 inline void SetFailed(const Aws::Vector<BatchResultErrorEntry>& value) { m_failed = value; }
66 inline void SetFailed(Aws::Vector<BatchResultErrorEntry>&& value) { m_failed = std::move(value); }
68 inline DeleteMessageBatchResult& WithFailed(Aws::Vector<BatchResultErrorEntry>&& value) { SetFailed(std::move(value)); return *this;}
69 inline DeleteMessageBatchResult& AddFailed(const BatchResultErrorEntry& value) { m_failed.push_back(value); return *this; }
70 inline DeleteMessageBatchResult& AddFailed(BatchResultErrorEntry&& value) { m_failed.push_back(std::move(value)); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DeleteMessageBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DeleteMessageBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DeleteMessageBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83
85
86 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
87 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
88 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
90 inline DeleteMessageBatchResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 private:
93
95
97
98 Aws::String m_requestId;
99
100 ResponseMetadata m_responseMetadata;
101 };
102
103} // namespace Model
104} // namespace SQS
105} // namespace Aws
DeleteMessageBatchResult & WithRequestId(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
DeleteMessageBatchResult & AddSuccessful(DeleteMessageBatchResultEntry &&value)
const Aws::Vector< DeleteMessageBatchResultEntry > & GetSuccessful() const
void SetSuccessful(const Aws::Vector< DeleteMessageBatchResultEntry > &value)
DeleteMessageBatchResult & WithSuccessful(const Aws::Vector< DeleteMessageBatchResultEntry > &value)
void SetFailed(const Aws::Vector< BatchResultErrorEntry > &value)
DeleteMessageBatchResult & WithRequestId(const char *value)
AWS_SQS_API DeleteMessageBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteMessageBatchResult & AddFailed(const BatchResultErrorEntry &value)
const Aws::Vector< BatchResultErrorEntry > & GetFailed() const
AWS_SQS_API DeleteMessageBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteMessageBatchResult & WithFailed(const Aws::Vector< BatchResultErrorEntry > &value)
DeleteMessageBatchResult & WithSuccessful(Aws::Vector< DeleteMessageBatchResultEntry > &&value)
void SetSuccessful(Aws::Vector< DeleteMessageBatchResultEntry > &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadata &&value)
DeleteMessageBatchResult & WithResponseMetadata(const ResponseMetadata &value)
DeleteMessageBatchResult & WithRequestId(const Aws::String &value)
void SetFailed(Aws::Vector< BatchResultErrorEntry > &&value)
DeleteMessageBatchResult & AddFailed(BatchResultErrorEntry &&value)
DeleteMessageBatchResult & WithResponseMetadata(ResponseMetadata &&value)
DeleteMessageBatchResult & AddSuccessful(const DeleteMessageBatchResultEntry &value)
DeleteMessageBatchResult & WithFailed(Aws::Vector< BatchResultErrorEntry > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue