AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChangeMessageVisibilityBatchResult.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/ChangeMessageVisibilityBatchResultEntry.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
52 inline const Aws::Vector<ChangeMessageVisibilityBatchResultEntry>& GetSuccessful() const{ return m_successful; }
53 inline void SetSuccessful(const Aws::Vector<ChangeMessageVisibilityBatchResultEntry>& value) { m_successful = value; }
54 inline void SetSuccessful(Aws::Vector<ChangeMessageVisibilityBatchResultEntry>&& value) { m_successful = std::move(value); }
57 inline ChangeMessageVisibilityBatchResult& AddSuccessful(const ChangeMessageVisibilityBatchResultEntry& value) { m_successful.push_back(value); return *this; }
58 inline ChangeMessageVisibilityBatchResult& AddSuccessful(ChangeMessageVisibilityBatchResultEntry&& value) { m_successful.push_back(std::move(value)); return *this; }
60
62
65 inline const Aws::Vector<BatchResultErrorEntry>& GetFailed() const{ return m_failed; }
66 inline void SetFailed(const Aws::Vector<BatchResultErrorEntry>& value) { m_failed = value; }
67 inline void SetFailed(Aws::Vector<BatchResultErrorEntry>&& value) { m_failed = std::move(value); }
70 inline ChangeMessageVisibilityBatchResult& AddFailed(const BatchResultErrorEntry& value) { m_failed.push_back(value); return *this; }
71 inline ChangeMessageVisibilityBatchResult& AddFailed(BatchResultErrorEntry&& value) { m_failed.push_back(std::move(value)); return *this; }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline ChangeMessageVisibilityBatchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline ChangeMessageVisibilityBatchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline ChangeMessageVisibilityBatchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84
86
87 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
88 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
89 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
93 private:
94
96
98
99 Aws::String m_requestId;
100
101 ResponseMetadata m_responseMetadata;
102 };
103
104} // namespace Model
105} // namespace SQS
106} // namespace Aws
ChangeMessageVisibilityBatchResult & WithSuccessful(Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &&value)
ChangeMessageVisibilityBatchResult & WithRequestId(const Aws::String &value)
const Aws::Vector< BatchResultErrorEntry > & GetFailed() const
ChangeMessageVisibilityBatchResult & WithRequestId(const char *value)
void SetSuccessful(Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &&value)
ChangeMessageVisibilityBatchResult & AddFailed(BatchResultErrorEntry &&value)
void SetFailed(const Aws::Vector< BatchResultErrorEntry > &value)
void SetFailed(Aws::Vector< BatchResultErrorEntry > &&value)
AWS_SQS_API ChangeMessageVisibilityBatchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SQS_API ChangeMessageVisibilityBatchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ChangeMessageVisibilityBatchResult & WithSuccessful(const Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &value)
ChangeMessageVisibilityBatchResult & WithResponseMetadata(ResponseMetadata &&value)
ChangeMessageVisibilityBatchResult & WithFailed(Aws::Vector< BatchResultErrorEntry > &&value)
ChangeMessageVisibilityBatchResult & AddFailed(const BatchResultErrorEntry &value)
ChangeMessageVisibilityBatchResult & WithResponseMetadata(const ResponseMetadata &value)
ChangeMessageVisibilityBatchResult & WithRequestId(Aws::String &&value)
ChangeMessageVisibilityBatchResult & AddSuccessful(const ChangeMessageVisibilityBatchResultEntry &value)
void SetSuccessful(const Aws::Vector< ChangeMessageVisibilityBatchResultEntry > &value)
ChangeMessageVisibilityBatchResult & AddSuccessful(ChangeMessageVisibilityBatchResultEntry &&value)
const Aws::Vector< ChangeMessageVisibilityBatchResultEntry > & GetSuccessful() const
ChangeMessageVisibilityBatchResult & WithFailed(const 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