AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
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
28 public:
29 AWS_BEDROCKAGENT_API FlowCondition() = default;
32 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetExpression() const { return m_expression; }
60 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
61 template <typename ExpressionT = Aws::String>
62 void SetExpression(ExpressionT&& value) {
63 m_expressionHasBeenSet = true;
64 m_expression = std::forward<ExpressionT>(value);
65 }
66 template <typename ExpressionT = Aws::String>
68 SetExpression(std::forward<ExpressionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_name;
74
75 Aws::String m_expression;
76 bool m_nameHasBeenSet = false;
77 bool m_expressionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BedrockAgent
82} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue