AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowCompletionEvent.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowCompletionReason.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENTRUNTIME_API FlowCompletionEvent() = default;
36 AWS_BEDROCKAGENTRUNTIME_API FlowCompletionEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTRUNTIME_API FlowCompletionEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline FlowCompletionReason GetCompletionReason() const { return m_completionReason; }
46 inline bool CompletionReasonHasBeenSet() const { return m_completionReasonHasBeenSet; }
47 inline void SetCompletionReason(FlowCompletionReason value) { m_completionReasonHasBeenSet = true; m_completionReason = value; }
50 private:
51
53 bool m_completionReasonHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace BedrockAgentRuntime
58} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API FlowCompletionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowCompletionEvent & WithCompletionReason(FlowCompletionReason value)
AWS_BEDROCKAGENTRUNTIME_API FlowCompletionEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API FlowCompletionEvent()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue