AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GetChatRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgentRequest.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DevOpsAgent {
15namespace Model {
16
20 public:
21 AWS_DEVOPSAGENT_API GetChatRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetChat"; }
28
29 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
37 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
38 template <typename AgentSpaceIdT = Aws::String>
39 void SetAgentSpaceId(AgentSpaceIdT&& value) {
40 m_agentSpaceIdHasBeenSet = true;
41 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
42 }
43 template <typename AgentSpaceIdT = Aws::String>
44 GetChatRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
45 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetExecutionId() const { return m_executionId; }
55 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
56 template <typename ExecutionIdT = Aws::String>
57 void SetExecutionId(ExecutionIdT&& value) {
58 m_executionIdHasBeenSet = true;
59 m_executionId = std::forward<ExecutionIdT>(value);
60 }
61 template <typename ExecutionIdT = Aws::String>
62 GetChatRequest& WithExecutionId(ExecutionIdT&& value) {
63 SetExecutionId(std::forward<ExecutionIdT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_agentSpaceId;
69
70 Aws::String m_executionId;
71 bool m_agentSpaceIdHasBeenSet = false;
72 bool m_executionIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace DevOpsAgent
77} // namespace Aws
AWS_DEVOPSAGENT_API GetChatRequest()=default
void SetExecutionId(ExecutionIdT &&value)
const Aws::String & GetAgentSpaceId() const
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
GetChatRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetExecutionId() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
GetChatRequest & WithExecutionId(ExecutionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String