AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FlowCondition.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
32 {
33 public:
34 AWS_BEDROCKAGENT_API FlowCondition() = default;
35 AWS_BEDROCKAGENT_API FlowCondition(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENT_API FlowCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetExpression() const { return m_expression; }
48 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
49 template<typename ExpressionT = Aws::String>
50 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
51 template<typename ExpressionT = Aws::String>
52 FlowCondition& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 FlowCondition& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66 private:
67
68 Aws::String m_expression;
69 bool m_expressionHasBeenSet = false;
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BedrockAgent
77} // namespace Aws
AWS_BEDROCKAGENT_API FlowCondition(Aws::Utils::Json::JsonView jsonValue)
FlowCondition & WithName(NameT &&value)
void SetExpression(ExpressionT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowCondition & WithExpression(ExpressionT &&value)
const Aws::String & GetExpression() const
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API FlowCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API FlowCondition()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue