AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowConnectionConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowConditionalConnectionConfiguration.h>
9#include <aws/bedrock-agent/model/FlowDataConnectionConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKAGENT_API FlowConnectionConfiguration();
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FlowConditionalConnectionConfiguration& GetConditional() const{ return m_conditional; }
46 inline bool ConditionalHasBeenSet() const { return m_conditionalHasBeenSet; }
47 inline void SetConditional(const FlowConditionalConnectionConfiguration& value) { m_conditionalHasBeenSet = true; m_conditional = value; }
48 inline void SetConditional(FlowConditionalConnectionConfiguration&& value) { m_conditionalHasBeenSet = true; m_conditional = std::move(value); }
52
54
58 inline const FlowDataConnectionConfiguration& GetData() const{ return m_data; }
59 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
60 inline void SetData(const FlowDataConnectionConfiguration& value) { m_dataHasBeenSet = true; m_data = value; }
61 inline void SetData(FlowDataConnectionConfiguration&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
62 inline FlowConnectionConfiguration& WithData(const FlowDataConnectionConfiguration& value) { SetData(value); return *this;}
63 inline FlowConnectionConfiguration& WithData(FlowDataConnectionConfiguration&& value) { SetData(std::move(value)); return *this;}
65 private:
66
68 bool m_conditionalHasBeenSet = false;
69
71 bool m_dataHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgent
76} // namespace Aws
AWS_BEDROCKAGENT_API FlowConnectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConditional(FlowConditionalConnectionConfiguration &&value)
void SetData(FlowDataConnectionConfiguration &&value)
AWS_BEDROCKAGENT_API FlowConnectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetData(const FlowDataConnectionConfiguration &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConditional(const FlowConditionalConnectionConfiguration &value)
FlowConnectionConfiguration & WithConditional(FlowConditionalConnectionConfiguration &&value)
const FlowDataConnectionConfiguration & GetData() const
const FlowConditionalConnectionConfiguration & GetConditional() const
FlowConnectionConfiguration & WithData(FlowDataConnectionConfiguration &&value)
FlowConnectionConfiguration & WithConditional(const FlowConditionalConnectionConfiguration &value)
FlowConnectionConfiguration & WithData(const FlowDataConnectionConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue