AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowConditionalConnectionConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 BedrockAgent
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENT_API FlowConditionalConnectionConfiguration() = default;
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetCondition() const { return m_condition; }
49 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
50 template<typename ConditionT = Aws::String>
51 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet = true; m_condition = std::forward<ConditionT>(value); }
52 template<typename ConditionT = Aws::String>
53 FlowConditionalConnectionConfiguration& WithCondition(ConditionT&& value) { SetCondition(std::forward<ConditionT>(value)); return *this;}
55 private:
56
57 Aws::String m_condition;
58 bool m_conditionHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace BedrockAgent
63} // namespace Aws
FlowConditionalConnectionConfiguration & WithCondition(ConditionT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API FlowConditionalConnectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API FlowConditionalConnectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue