AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API FlowCompletionEvent() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline FlowCompletionReason GetCompletionReason() const { return m_completionReason; }
40 inline bool CompletionReasonHasBeenSet() const { return m_completionReasonHasBeenSet; }
42 m_completionReasonHasBeenSet = true;
43 m_completionReason = value;
44 }
47 return *this;
48 }
50 private:
52 bool m_completionReasonHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace BedrockAgentRuntime
57} // 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue