AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
UpdateProfileWithAgentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/healthlake/HealthLakeRequest.h>
9#include <aws/healthlake/HealthLake_EXPORTS.h>
10#include <aws/healthlake/model/AgentInputMessage.h>
11#include <aws/healthlake/model/SourceFormat.h>
12
13#include <utility>
14
15namespace Aws {
16namespace HealthLake {
17namespace Model {
18
26 public:
27 AWS_HEALTHLAKE_API UpdateProfileWithAgentRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfileWithAgent"; }
34
35 AWS_HEALTHLAKE_API Aws::String SerializePayload() const override;
36
38
40
43 inline const Aws::String& GetProfileId() const { return m_profileId; }
44 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
45 template <typename ProfileIdT = Aws::String>
46 void SetProfileId(ProfileIdT&& value) {
47 m_profileIdHasBeenSet = true;
48 m_profileId = std::forward<ProfileIdT>(value);
49 }
50 template <typename ProfileIdT = Aws::String>
52 SetProfileId(std::forward<ProfileIdT>(value));
53 return *this;
54 }
56
58
61 inline SourceFormat GetSourceFormat() const { return m_sourceFormat; }
62 inline bool SourceFormatHasBeenSet() const { return m_sourceFormatHasBeenSet; }
63 inline void SetSourceFormat(SourceFormat value) {
64 m_sourceFormatHasBeenSet = true;
65 m_sourceFormat = value;
66 }
68 SetSourceFormat(value);
69 return *this;
70 }
72
74
77 inline const AgentInputMessage& GetInputMessage() const { return m_inputMessage; }
78 inline bool InputMessageHasBeenSet() const { return m_inputMessageHasBeenSet; }
79 template <typename InputMessageT = AgentInputMessage>
80 void SetInputMessage(InputMessageT&& value) {
81 m_inputMessageHasBeenSet = true;
82 m_inputMessage = std::forward<InputMessageT>(value);
83 }
84 template <typename InputMessageT = AgentInputMessage>
86 SetInputMessage(std::forward<InputMessageT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetConversationId() const { return m_conversationId; }
97 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
98 template <typename ConversationIdT = Aws::String>
99 void SetConversationId(ConversationIdT&& value) {
100 m_conversationIdHasBeenSet = true;
101 m_conversationId = std::forward<ConversationIdT>(value);
102 }
103 template <typename ConversationIdT = Aws::String>
105 SetConversationId(std::forward<ConversationIdT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_profileId;
111
112 SourceFormat m_sourceFormat{SourceFormat::NOT_SET};
113
114 AgentInputMessage m_inputMessage;
115
116 Aws::String m_conversationId;
117 bool m_profileIdHasBeenSet = false;
118 bool m_sourceFormatHasBeenSet = false;
119 bool m_inputMessageHasBeenSet = false;
120 bool m_conversationIdHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace HealthLake
125} // namespace Aws
AWS_HEALTHLAKE_API UpdateProfileWithAgentRequest()=default
UpdateProfileWithAgentRequest & WithInputMessage(InputMessageT &&value)
UpdateProfileWithAgentRequest & WithProfileId(ProfileIdT &&value)
AWS_HEALTHLAKE_API Aws::String SerializePayload() const override
UpdateProfileWithAgentRequest & WithSourceFormat(SourceFormat value)
AWS_HEALTHLAKE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProfileWithAgentRequest & WithConversationId(ConversationIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String