AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartMessageMoveTaskResult.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
42 inline const Aws::String& GetTaskHandle() const{ return m_taskHandle; }
43 inline void SetTaskHandle(const Aws::String& value) { m_taskHandle = value; }
44 inline void SetTaskHandle(Aws::String&& value) { m_taskHandle = std::move(value); }
45 inline void SetTaskHandle(const char* value) { m_taskHandle.assign(value); }
46 inline StartMessageMoveTaskResult& WithTaskHandle(const Aws::String& value) { SetTaskHandle(value); return *this;}
47 inline StartMessageMoveTaskResult& WithTaskHandle(Aws::String&& value) { SetTaskHandle(std::move(value)); return *this;}
48 inline StartMessageMoveTaskResult& WithTaskHandle(const char* value) { SetTaskHandle(value); return *this;}
50
52
53 inline const Aws::String& GetRequestId() const{ return m_requestId; }
54 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
55 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
56 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline StartMessageMoveTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
58 inline StartMessageMoveTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
59 inline StartMessageMoveTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
65 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
66 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
68 inline StartMessageMoveTaskResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_taskHandle;
73
74 Aws::String m_requestId;
75
76 ResponseMetadata m_responseMetadata;
77 };
78
79} // namespace Model
80} // namespace SQS
81} // namespace Aws
StartMessageMoveTaskResult & WithRequestId(const Aws::String &value)
StartMessageMoveTaskResult & WithTaskHandle(const Aws::String &value)
StartMessageMoveTaskResult & WithTaskHandle(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
StartMessageMoveTaskResult & WithResponseMetadata(ResponseMetadata &&value)
StartMessageMoveTaskResult & WithRequestId(Aws::String &&value)
StartMessageMoveTaskResult & WithTaskHandle(Aws::String &&value)
AWS_SQS_API StartMessageMoveTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartMessageMoveTaskResult & WithRequestId(const char *value)
AWS_SQS_API StartMessageMoveTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartMessageMoveTaskResult & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue