AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
UpdateChatRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.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/ChatArchiveStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DevOpsAgent {
17namespace Model {
18
22 public:
23 AWS_DEVOPSAGENT_API UpdateChatRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateChat"; }
30
31 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
39 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
40 template <typename AgentSpaceIdT = Aws::String>
41 void SetAgentSpaceId(AgentSpaceIdT&& value) {
42 m_agentSpaceIdHasBeenSet = true;
43 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
44 }
45 template <typename AgentSpaceIdT = Aws::String>
46 UpdateChatRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
47 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetExecutionId() const { return m_executionId; }
57 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
58 template <typename ExecutionIdT = Aws::String>
59 void SetExecutionId(ExecutionIdT&& value) {
60 m_executionIdHasBeenSet = true;
61 m_executionId = std::forward<ExecutionIdT>(value);
62 }
63 template <typename ExecutionIdT = Aws::String>
64 UpdateChatRequest& WithExecutionId(ExecutionIdT&& value) {
65 SetExecutionId(std::forward<ExecutionIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetSummary() const { return m_summary; }
75 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
76 template <typename SummaryT = Aws::String>
77 void SetSummary(SummaryT&& value) {
78 m_summaryHasBeenSet = true;
79 m_summary = std::forward<SummaryT>(value);
80 }
81 template <typename SummaryT = Aws::String>
82 UpdateChatRequest& WithSummary(SummaryT&& value) {
83 SetSummary(std::forward<SummaryT>(value));
84 return *this;
85 }
87
89
94 inline ChatArchiveStatus GetArchiveStatus() const { return m_archiveStatus; }
95 inline bool ArchiveStatusHasBeenSet() const { return m_archiveStatusHasBeenSet; }
97 m_archiveStatusHasBeenSet = true;
98 m_archiveStatus = value;
99 }
101 SetArchiveStatus(value);
102 return *this;
103 }
105
107
112 inline const Aws::String& GetClientToken() const { return m_clientToken; }
113 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
114 template <typename ClientTokenT = Aws::String>
115 void SetClientToken(ClientTokenT&& value) {
116 m_clientTokenHasBeenSet = true;
117 m_clientToken = std::forward<ClientTokenT>(value);
118 }
119 template <typename ClientTokenT = Aws::String>
120 UpdateChatRequest& WithClientToken(ClientTokenT&& value) {
121 SetClientToken(std::forward<ClientTokenT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_agentSpaceId;
127
128 Aws::String m_executionId;
129
130 Aws::String m_summary;
131
133
135 bool m_agentSpaceIdHasBeenSet = false;
136 bool m_executionIdHasBeenSet = false;
137 bool m_summaryHasBeenSet = false;
138 bool m_archiveStatusHasBeenSet = false;
139 bool m_clientTokenHasBeenSet = true;
140};
141
142} // namespace Model
143} // namespace DevOpsAgent
144} // namespace Aws
UpdateChatRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
UpdateChatRequest & WithClientToken(ClientTokenT &&value)
UpdateChatRequest & WithExecutionId(ExecutionIdT &&value)
AWS_DEVOPSAGENT_API UpdateChatRequest()=default
void SetArchiveStatus(ChatArchiveStatus value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAgentSpaceId() const
UpdateChatRequest & WithSummary(SummaryT &&value)
UpdateChatRequest & WithArchiveStatus(ChatArchiveStatus value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String