AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
50 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
51 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
52 inline FlowCondition& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
53 inline FlowCondition& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
54 inline FlowCondition& WithExpression(const char* value) { SetExpression(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline FlowCondition& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline FlowCondition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline FlowCondition& WithName(const char* value) { SetName(value); return *this;}
70 private:
71
72 Aws::String m_expression;
73 bool m_expressionHasBeenSet = false;
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
void SetExpression(Aws::String &&value)
AWS_BEDROCKAGENT_API FlowCondition(Aws::Utils::Json::JsonView jsonValue)
FlowCondition & WithExpression(const char *value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
AWS_BEDROCKAGENT_API FlowCondition()
FlowCondition & WithName(Aws::String &&value)
void SetExpression(const char *value)
const Aws::String & GetExpression() const
FlowCondition & WithName(const char *value)
void SetExpression(const Aws::String &value)
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API FlowCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
FlowCondition & WithExpression(const Aws::String &value)
FlowCondition & WithExpression(Aws::String &&value)
FlowCondition & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue