AWS SDK for C++  1.9.19
AWS SDK for C++
ChangeMessageVisibilityBatchResult.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 
50  inline const Aws::Vector<ChangeMessageVisibilityBatchResultEntry>& GetSuccessful() const{ return m_successful; }
51 
56  inline void SetSuccessful(const Aws::Vector<ChangeMessageVisibilityBatchResultEntry>& value) { m_successful = value; }
57 
62  inline void SetSuccessful(Aws::Vector<ChangeMessageVisibilityBatchResultEntry>&& value) { m_successful = std::move(value); }
63 
69 
74  inline ChangeMessageVisibilityBatchResult& WithSuccessful(Aws::Vector<ChangeMessageVisibilityBatchResultEntry>&& value) { SetSuccessful(std::move(value)); return *this;}
75 
80  inline ChangeMessageVisibilityBatchResult& AddSuccessful(const ChangeMessageVisibilityBatchResultEntry& value) { m_successful.push_back(value); return *this; }
81 
86  inline ChangeMessageVisibilityBatchResult& AddSuccessful(ChangeMessageVisibilityBatchResultEntry&& value) { m_successful.push_back(std::move(value)); return *this; }
87 
88 
92  inline const Aws::Vector<BatchResultErrorEntry>& GetFailed() const{ return m_failed; }
93 
97  inline void SetFailed(const Aws::Vector<BatchResultErrorEntry>& value) { m_failed = value; }
98 
102  inline void SetFailed(Aws::Vector<BatchResultErrorEntry>&& value) { m_failed = std::move(value); }
103 
107  inline ChangeMessageVisibilityBatchResult& WithFailed(const Aws::Vector<BatchResultErrorEntry>& value) { SetFailed(value); return *this;}
108 
112  inline ChangeMessageVisibilityBatchResult& WithFailed(Aws::Vector<BatchResultErrorEntry>&& value) { SetFailed(std::move(value)); return *this;}
113 
117  inline ChangeMessageVisibilityBatchResult& AddFailed(const BatchResultErrorEntry& value) { m_failed.push_back(value); return *this; }
118 
122  inline ChangeMessageVisibilityBatchResult& AddFailed(BatchResultErrorEntry&& value) { m_failed.push_back(std::move(value)); return *this; }
123 
124 
125 
126  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
127 
128 
129  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
130 
131 
132  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
133 
134 
135  inline ChangeMessageVisibilityBatchResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
136 
137 
138  inline ChangeMessageVisibilityBatchResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
139 
140  private:
141 
143 
145 
146  ResponseMetadata m_responseMetadata;
147  };
148 
149 } // namespace Model
150 } // namespace SQS
151 } // namespace Aws
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::SetFailed
void SetFailed(const Aws::Vector< BatchResultErrorEntry > &value)
Definition: ChangeMessageVisibilityBatchResult.h:97
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::SetSuccessful
void SetSuccessful(const Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &value)
Definition: ChangeMessageVisibilityBatchResult.h:56
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::AddFailed
ChangeMessageVisibilityBatchResult & AddFailed(BatchResultErrorEntry &&value)
Definition: ChangeMessageVisibilityBatchResult.h:122
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::AddFailed
ChangeMessageVisibilityBatchResult & AddFailed(const BatchResultErrorEntry &value)
Definition: ChangeMessageVisibilityBatchResult.h:117
Aws::SQS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::WithSuccessful
ChangeMessageVisibilityBatchResult & WithSuccessful(Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &&value)
Definition: ChangeMessageVisibilityBatchResult.h:74
Aws::SQS::Model::BatchResultErrorEntry
Definition: BatchResultErrorEntry.h:33
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::WithFailed
ChangeMessageVisibilityBatchResult & WithFailed(const Aws::Vector< BatchResultErrorEntry > &value)
Definition: ChangeMessageVisibilityBatchResult.h:107
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ChangeMessageVisibilityBatchResult.h:129
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::AddSuccessful
ChangeMessageVisibilityBatchResult & AddSuccessful(const ChangeMessageVisibilityBatchResultEntry &value)
Definition: ChangeMessageVisibilityBatchResult.h:80
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::GetSuccessful
const Aws::Vector< ChangeMessageVisibilityBatchResultEntry > & GetSuccessful() const
Definition: ChangeMessageVisibilityBatchResult.h:50
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ChangeMessageVisibilityBatchResult.h:126
ChangeMessageVisibilityBatchResultEntry.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::operator=
ChangeMessageVisibilityBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::WithFailed
ChangeMessageVisibilityBatchResult & WithFailed(Aws::Vector< BatchResultErrorEntry > &&value)
Definition: ChangeMessageVisibilityBatchResult.h:112
AWSVector.h
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::AddSuccessful
ChangeMessageVisibilityBatchResult & AddSuccessful(ChangeMessageVisibilityBatchResultEntry &&value)
Definition: ChangeMessageVisibilityBatchResult.h:86
Aws::SQS::Model::ChangeMessageVisibilityBatchResult
Definition: ChangeMessageVisibilityBatchResult.h:39
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::WithResponseMetadata
ChangeMessageVisibilityBatchResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ChangeMessageVisibilityBatchResult.h:135
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::SetFailed
void SetFailed(Aws::Vector< BatchResultErrorEntry > &&value)
Definition: ChangeMessageVisibilityBatchResult.h:102
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::GetFailed
const Aws::Vector< BatchResultErrorEntry > & GetFailed() const
Definition: ChangeMessageVisibilityBatchResult.h:92
BatchResultErrorEntry.h
SQS_EXPORTS.h
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::SetSuccessful
void SetSuccessful(Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &&value)
Definition: ChangeMessageVisibilityBatchResult.h:62
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ChangeMessageVisibilityBatchResult.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::WithSuccessful
ChangeMessageVisibilityBatchResult & WithSuccessful(const Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &value)
Definition: ChangeMessageVisibilityBatchResult.h:68
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::ChangeMessageVisibilityBatchResult
ChangeMessageVisibilityBatchResult()
ResponseMetadata.h
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::WithResponseMetadata
ChangeMessageVisibilityBatchResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ChangeMessageVisibilityBatchResult.h:138
Aws::SQS::Model::ChangeMessageVisibilityBatchResult::ChangeMessageVisibilityBatchResult
ChangeMessageVisibilityBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry
Definition: ChangeMessageVisibilityBatchResultEntry.h:33