7#include <aws/core/utils/event/EventStreamDecoder.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgentRequest.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/SendMessageContext.h>
12#include <aws/devops-agent/model/SendMessageHandler.h>
17namespace DevOpsAgent {
70 template <
typename AgentSpaceIdT = Aws::String>
72 m_agentSpaceIdHasBeenSet =
true;
73 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
75 template <
typename AgentSpaceIdT = Aws::String>
88 template <
typename ExecutionIdT = Aws::String>
90 m_executionIdHasBeenSet =
true;
91 m_executionId = std::forward<ExecutionIdT>(value);
93 template <
typename ExecutionIdT = Aws::String>
106 template <
typename ContentT = Aws::String>
108 m_contentHasBeenSet =
true;
109 m_content = std::forward<ContentT>(value);
111 template <
typename ContentT = Aws::String>
124 template <
typename ContextT = SendMessageContext>
126 m_contextHasBeenSet =
true;
127 m_context = std::forward<ContextT>(value);
129 template <
typename ContextT = SendMessageContext>
142 template <
typename UserIdT = Aws::String>
144 m_userIdHasBeenSet =
true;
145 m_userId = std::forward<UserIdT>(value);
147 template <
typename UserIdT = Aws::String>
166 bool m_agentSpaceIdHasBeenSet =
false;
167 bool m_executionIdHasBeenSet =
false;
168 bool m_contentHasBeenSet =
false;
169 bool m_contextHasBeenSet =
false;
170 bool m_userIdHasBeenSet =
false;
bool ContentHasBeenSet() const
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
virtual bool HasEventStreamResponse() const override
void SetUserId(UserIdT &&value)
SendMessageRequest & WithEventStreamHandler(const SendMessageHandler &value)
const Aws::String & GetAgentSpaceId() const
const Aws::String & GetExecutionId() const
const SendMessageContext & GetContext() const
SendMessageRequest & WithUserId(UserIdT &&value)
void SetEventStreamHandler(const SendMessageHandler &value)
virtual const char * GetServiceRequestName() const override
void SetContext(ContextT &&value)
const Aws::String & GetUserId() const
bool ContextHasBeenSet() const
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
SendMessageRequest & WithExecutionId(ExecutionIdT &&value)
SendMessageRequest & WithContent(ContentT &&value)
bool AgentSpaceIdHasBeenSet() const
bool ExecutionIdHasBeenSet() const
AWS_DEVOPSAGENT_API SendMessageRequest()=default
SendMessageRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
bool UserIdHasBeenSet() const
void SetContent(ContentT &&value)
SendMessageHandler & GetEventStreamHandler()
const Aws::String & GetContent() const
SendMessageRequest & WithContext(ContextT &&value)
void SetExecutionId(ExecutionIdT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
void ResetEventStreamHandler(EventStreamHandler *handler)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String