AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelMessageMoveTaskResult.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{
29 {
30 public:
34
35
37
41 inline long long GetApproximateNumberOfMessagesMoved() const{ return m_approximateNumberOfMessagesMoved; }
42 inline void SetApproximateNumberOfMessagesMoved(long long value) { m_approximateNumberOfMessagesMoved = value; }
45
47
48 inline const Aws::String& GetRequestId() const{ return m_requestId; }
49 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
50 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
51 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
52 inline CancelMessageMoveTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
53 inline CancelMessageMoveTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
54 inline CancelMessageMoveTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
63 inline CancelMessageMoveTaskResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 private:
66
67 long long m_approximateNumberOfMessagesMoved;
68
69 Aws::String m_requestId;
70
71 ResponseMetadata m_responseMetadata;
72 };
73
74} // namespace Model
75} // namespace SQS
76} // namespace Aws
AWS_SQS_API CancelMessageMoveTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelMessageMoveTaskResult & WithResponseMetadata(ResponseMetadata &&value)
CancelMessageMoveTaskResult & WithRequestId(const Aws::String &value)
CancelMessageMoveTaskResult & WithRequestId(Aws::String &&value)
AWS_SQS_API CancelMessageMoveTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelMessageMoveTaskResult & WithApproximateNumberOfMessagesMoved(long long value)
CancelMessageMoveTaskResult & WithResponseMetadata(const ResponseMetadata &value)
CancelMessageMoveTaskResult & WithRequestId(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue