AWS SDK for C++  1.8.126
AWS SDK for C++
DeleteMessageBatchResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sqs/SQS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace SQS
27 {
28 namespace Model
29 {
39  {
40  public:
44 
45 
49  inline const Aws::Vector<DeleteMessageBatchResultEntry>& GetSuccessful() const{ return m_successful; }
50 
54  inline void SetSuccessful(const Aws::Vector<DeleteMessageBatchResultEntry>& value) { m_successful = value; }
55 
59  inline void SetSuccessful(Aws::Vector<DeleteMessageBatchResultEntry>&& value) { m_successful = std::move(value); }
60 
64  inline DeleteMessageBatchResult& WithSuccessful(const Aws::Vector<DeleteMessageBatchResultEntry>& value) { SetSuccessful(value); return *this;}
65 
69  inline DeleteMessageBatchResult& WithSuccessful(Aws::Vector<DeleteMessageBatchResultEntry>&& value) { SetSuccessful(std::move(value)); return *this;}
70 
74  inline DeleteMessageBatchResult& AddSuccessful(const DeleteMessageBatchResultEntry& value) { m_successful.push_back(value); return *this; }
75 
79  inline DeleteMessageBatchResult& AddSuccessful(DeleteMessageBatchResultEntry&& value) { m_successful.push_back(std::move(value)); return *this; }
80 
81 
85  inline const Aws::Vector<BatchResultErrorEntry>& GetFailed() const{ return m_failed; }
86 
90  inline void SetFailed(const Aws::Vector<BatchResultErrorEntry>& value) { m_failed = value; }
91 
95  inline void SetFailed(Aws::Vector<BatchResultErrorEntry>&& value) { m_failed = std::move(value); }
96 
100  inline DeleteMessageBatchResult& WithFailed(const Aws::Vector<BatchResultErrorEntry>& value) { SetFailed(value); return *this;}
101 
105  inline DeleteMessageBatchResult& WithFailed(Aws::Vector<BatchResultErrorEntry>&& value) { SetFailed(std::move(value)); return *this;}
106 
110  inline DeleteMessageBatchResult& AddFailed(const BatchResultErrorEntry& value) { m_failed.push_back(value); return *this; }
111 
115  inline DeleteMessageBatchResult& AddFailed(BatchResultErrorEntry&& value) { m_failed.push_back(std::move(value)); return *this; }
116 
117 
118 
119  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
120 
121 
122  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
123 
124 
125  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
126 
127 
128  inline DeleteMessageBatchResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
129 
130 
131  inline DeleteMessageBatchResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
132 
133  private:
134 
136 
138 
139  ResponseMetadata m_responseMetadata;
140  };
141 
142 } // namespace Model
143 } // namespace SQS
144 } // namespace Aws
Aws::SQS::Model::DeleteMessageBatchResult::WithResponseMetadata
DeleteMessageBatchResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteMessageBatchResult.h:131
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SQS::Model::DeleteMessageBatchResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteMessageBatchResult.h:125
Aws::SQS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SQS::Model::DeleteMessageBatchResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteMessageBatchResult.h:119
Aws::SQS::Model::BatchResultErrorEntry
Definition: BatchResultErrorEntry.h:33
Aws::SQS::Model::DeleteMessageBatchResult::WithSuccessful
DeleteMessageBatchResult & WithSuccessful(const Aws::Vector< DeleteMessageBatchResultEntry > &value)
Definition: DeleteMessageBatchResult.h:64
Aws::SQS::Model::DeleteMessageBatchResult::DeleteMessageBatchResult
DeleteMessageBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SQS::Model::DeleteMessageBatchResult::GetFailed
const Aws::Vector< BatchResultErrorEntry > & GetFailed() const
Definition: DeleteMessageBatchResult.h:85
Aws::SQS::Model::DeleteMessageBatchResult::SetFailed
void SetFailed(const Aws::Vector< BatchResultErrorEntry > &value)
Definition: DeleteMessageBatchResult.h:90
AWSVector.h
Aws::SQS::Model::DeleteMessageBatchResultEntry
Definition: DeleteMessageBatchResultEntry.h:33
Aws::SQS::Model::DeleteMessageBatchResult::DeleteMessageBatchResult
DeleteMessageBatchResult()
Aws::SQS::Model::DeleteMessageBatchResult::WithFailed
DeleteMessageBatchResult & WithFailed(const Aws::Vector< BatchResultErrorEntry > &value)
Definition: DeleteMessageBatchResult.h:100
Aws::SQS::Model::DeleteMessageBatchResult::AddSuccessful
DeleteMessageBatchResult & AddSuccessful(DeleteMessageBatchResultEntry &&value)
Definition: DeleteMessageBatchResult.h:79
Aws::SQS::Model::DeleteMessageBatchResult::SetSuccessful
void SetSuccessful(Aws::Vector< DeleteMessageBatchResultEntry > &&value)
Definition: DeleteMessageBatchResult.h:59
Aws::SQS::Model::DeleteMessageBatchResult
Definition: DeleteMessageBatchResult.h:39
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
BatchResultErrorEntry.h
SQS_EXPORTS.h
Aws::SQS::Model::DeleteMessageBatchResult::GetSuccessful
const Aws::Vector< DeleteMessageBatchResultEntry > & GetSuccessful() const
Definition: DeleteMessageBatchResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::DeleteMessageBatchResult::WithResponseMetadata
DeleteMessageBatchResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteMessageBatchResult.h:128
Aws::SQS::Model::DeleteMessageBatchResult::SetFailed
void SetFailed(Aws::Vector< BatchResultErrorEntry > &&value)
Definition: DeleteMessageBatchResult.h:95
Aws::SQS::Model::DeleteMessageBatchResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteMessageBatchResult.h:122
Aws::SQS::Model::DeleteMessageBatchResult::AddFailed
DeleteMessageBatchResult & AddFailed(BatchResultErrorEntry &&value)
Definition: DeleteMessageBatchResult.h:115
Aws::SQS::Model::DeleteMessageBatchResult::operator=
DeleteMessageBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SQS::Model::DeleteMessageBatchResult::WithFailed
DeleteMessageBatchResult & WithFailed(Aws::Vector< BatchResultErrorEntry > &&value)
Definition: DeleteMessageBatchResult.h:105
Aws::SQS::Model::DeleteMessageBatchResult::AddSuccessful
DeleteMessageBatchResult & AddSuccessful(const DeleteMessageBatchResultEntry &value)
Definition: DeleteMessageBatchResult.h:74
ResponseMetadata.h
Aws::SQS::Model::DeleteMessageBatchResult::AddFailed
DeleteMessageBatchResult & AddFailed(const BatchResultErrorEntry &value)
Definition: DeleteMessageBatchResult.h:110
Aws::SQS::Model::DeleteMessageBatchResult::SetSuccessful
void SetSuccessful(const Aws::Vector< DeleteMessageBatchResultEntry > &value)
Definition: DeleteMessageBatchResult.h:54
DeleteMessageBatchResultEntry.h
Aws::SQS::Model::DeleteMessageBatchResult::WithSuccessful
DeleteMessageBatchResult & WithSuccessful(Aws::Vector< DeleteMessageBatchResultEntry > &&value)
Definition: DeleteMessageBatchResult.h:69