AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ConditionFlowNodeConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowCondition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
33 public:
34 AWS_BEDROCKAGENT_API ConditionFlowNodeConfiguration() = default;
37 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Vector<FlowCondition>& GetConditions() const { return m_conditions; }
45 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
46 template <typename ConditionsT = Aws::Vector<FlowCondition>>
47 void SetConditions(ConditionsT&& value) {
48 m_conditionsHasBeenSet = true;
49 m_conditions = std::forward<ConditionsT>(value);
50 }
51 template <typename ConditionsT = Aws::Vector<FlowCondition>>
53 SetConditions(std::forward<ConditionsT>(value));
54 return *this;
55 }
56 template <typename ConditionsT = FlowCondition>
58 m_conditionsHasBeenSet = true;
59 m_conditions.emplace_back(std::forward<ConditionsT>(value));
60 return *this;
61 }
63 private:
64 Aws::Vector<FlowCondition> m_conditions;
65 bool m_conditionsHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace BedrockAgent
70} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue