AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
SendMessageResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/MessageConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QConnect {
23namespace Model {
25 public:
26 AWS_QCONNECT_API SendMessageResult() = default;
29
31
34 inline const Aws::String& GetRequestMessageId() const { return m_requestMessageId; }
35 template <typename RequestMessageIdT = Aws::String>
37 m_requestMessageIdHasBeenSet = true;
38 m_requestMessageId = std::forward<RequestMessageIdT>(value);
39 }
40 template <typename RequestMessageIdT = Aws::String>
42 SetRequestMessageId(std::forward<RequestMessageIdT>(value));
43 return *this;
44 }
46
48
53 inline const MessageConfiguration& GetConfiguration() const { return m_configuration; }
54 template <typename ConfigurationT = MessageConfiguration>
56 m_configurationHasBeenSet = true;
57 m_configuration = std::forward<ConfigurationT>(value);
58 }
59 template <typename ConfigurationT = MessageConfiguration>
61 SetConfiguration(std::forward<ConfigurationT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetNextMessageToken() const { return m_nextMessageToken; }
71 template <typename NextMessageTokenT = Aws::String>
73 m_nextMessageTokenHasBeenSet = true;
74 m_nextMessageToken = std::forward<NextMessageTokenT>(value);
75 }
76 template <typename NextMessageTokenT = Aws::String>
78 SetNextMessageToken(std::forward<NextMessageTokenT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_requestMessageId;
99
100 MessageConfiguration m_configuration;
101
102 Aws::String m_nextMessageToken;
103
104 Aws::String m_requestId;
105 bool m_requestMessageIdHasBeenSet = false;
106 bool m_configurationHasBeenSet = false;
107 bool m_nextMessageTokenHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace QConnect
113} // namespace Aws
AWS_QCONNECT_API SendMessageResult()=default
const MessageConfiguration & GetConfiguration() const
void SetConfiguration(ConfigurationT &&value)
void SetRequestMessageId(RequestMessageIdT &&value)
SendMessageResult & WithRequestId(RequestIdT &&value)
AWS_QCONNECT_API SendMessageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextMessageToken() const
SendMessageResult & WithConfiguration(ConfigurationT &&value)
AWS_QCONNECT_API SendMessageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextMessageToken(NextMessageTokenT &&value)
SendMessageResult & WithRequestMessageId(RequestMessageIdT &&value)
SendMessageResult & WithNextMessageToken(NextMessageTokenT &&value)
const Aws::String & GetRequestMessageId() const
const Aws::String & GetRequestId() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue