AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
UpdateProfileWithAgentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/HealthLake_EXPORTS.h>
10#include <aws/healthlake/model/AgentOutputMessage.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace HealthLake {
24namespace Model {
32 public:
33 AWS_HEALTHLAKE_API UpdateProfileWithAgentResult() = default;
36
38
41 inline const AgentOutputMessage& GetAgentResponse() const { return m_agentResponse; }
42 template <typename AgentResponseT = AgentOutputMessage>
43 void SetAgentResponse(AgentResponseT&& value) {
44 m_agentResponseHasBeenSet = true;
45 m_agentResponse = std::forward<AgentResponseT>(value);
46 }
47 template <typename AgentResponseT = AgentOutputMessage>
49 SetAgentResponse(std::forward<AgentResponseT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetConversationId() const { return m_conversationId; }
60 template <typename ConversationIdT = Aws::String>
61 void SetConversationId(ConversationIdT&& value) {
62 m_conversationIdHasBeenSet = true;
63 m_conversationId = std::forward<ConversationIdT>(value);
64 }
65 template <typename ConversationIdT = Aws::String>
67 SetConversationId(std::forward<ConversationIdT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 AgentOutputMessage m_agentResponse;
90
91 Aws::String m_conversationId;
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_agentResponseHasBeenSet = false;
96 bool m_conversationIdHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace HealthLake
102} // namespace Aws
UpdateProfileWithAgentResult & WithRequestId(RequestIdT &&value)
AWS_HEALTHLAKE_API UpdateProfileWithAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProfileWithAgentResult & WithConversationId(ConversationIdT &&value)
UpdateProfileWithAgentResult & WithAgentResponse(AgentResponseT &&value)
AWS_HEALTHLAKE_API UpdateProfileWithAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_HEALTHLAKE_API UpdateProfileWithAgentResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue