AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ConditionFlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent/model/FlowCondition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_BEDROCKAGENT_API ConditionFlowNodeConfiguration() = default;
42 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<FlowCondition>& GetConditions() const { return m_conditions; }
51 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
52 template<typename ConditionsT = Aws::Vector<FlowCondition>>
53 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet = true; m_conditions = std::forward<ConditionsT>(value); }
54 template<typename ConditionsT = Aws::Vector<FlowCondition>>
55 ConditionFlowNodeConfiguration& WithConditions(ConditionsT&& value) { SetConditions(std::forward<ConditionsT>(value)); return *this;}
56 template<typename ConditionsT = FlowCondition>
57 ConditionFlowNodeConfiguration& AddConditions(ConditionsT&& value) { m_conditionsHasBeenSet = true; m_conditions.emplace_back(std::forward<ConditionsT>(value)); return *this; }
59 private:
60
61 Aws::Vector<FlowCondition> m_conditions;
62 bool m_conditionsHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace BedrockAgent
67} // namespace Aws
ConditionFlowNodeConfiguration & WithConditions(ConditionsT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API ConditionFlowNodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionFlowNodeConfiguration & AddConditions(ConditionsT &&value)
AWS_BEDROCKAGENT_API ConditionFlowNodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API ConditionFlowNodeConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue