AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LoopControllerFlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowCondition.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENT_API LoopControllerFlowNodeConfiguration() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const FlowCondition& GetContinueCondition() const { return m_continueCondition; }
41 inline bool ContinueConditionHasBeenSet() const { return m_continueConditionHasBeenSet; }
42 template <typename ContinueConditionT = FlowCondition>
44 m_continueConditionHasBeenSet = true;
45 m_continueCondition = std::forward<ContinueConditionT>(value);
46 }
47 template <typename ContinueConditionT = FlowCondition>
49 SetContinueCondition(std::forward<ContinueConditionT>(value));
50 return *this;
51 }
53
55
59 inline int GetMaxIterations() const { return m_maxIterations; }
60 inline bool MaxIterationsHasBeenSet() const { return m_maxIterationsHasBeenSet; }
61 inline void SetMaxIterations(int value) {
62 m_maxIterationsHasBeenSet = true;
63 m_maxIterations = value;
64 }
66 SetMaxIterations(value);
67 return *this;
68 }
70 private:
71 FlowCondition m_continueCondition;
72
73 int m_maxIterations{0};
74 bool m_continueConditionHasBeenSet = false;
75 bool m_maxIterationsHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgent
80} // namespace Aws
LoopControllerFlowNodeConfiguration & WithContinueCondition(ContinueConditionT &&value)
AWS_BEDROCKAGENT_API LoopControllerFlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API LoopControllerFlowNodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API LoopControllerFlowNodeConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue