7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowConnectionConfiguration.h>
9#include <aws/bedrock-agent/model/FlowConnectionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgent {
45 m_typeHasBeenSet =
true;
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename SourceT = Aws::String>
80 m_sourceHasBeenSet =
true;
81 m_source = std::forward<SourceT>(value);
83 template <
typename SourceT = Aws::String>
96 template <
typename TargetT = Aws::String>
98 m_targetHasBeenSet =
true;
99 m_target = std::forward<TargetT>(value);
101 template <
typename TargetT = Aws::String>
114 template <
typename ConfigurationT = FlowConnectionConfiguration>
116 m_configurationHasBeenSet =
true;
117 m_configuration = std::forward<ConfigurationT>(value);
119 template <
typename ConfigurationT = FlowConnectionConfiguration>
134 FlowConnectionConfiguration m_configuration;
135 bool m_typeHasBeenSet =
false;
136 bool m_nameHasBeenSet =
false;
137 bool m_sourceHasBeenSet =
false;
138 bool m_targetHasBeenSet =
false;
139 bool m_configurationHasBeenSet =
false;
void SetTarget(TargetT &&value)
FlowConnection & WithConfiguration(ConfigurationT &&value)
bool SourceHasBeenSet() const
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API FlowConnection()=default
FlowConnection & WithType(FlowConnectionType value)
AWS_BEDROCKAGENT_API FlowConnection(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API FlowConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
bool TargetHasBeenSet() const
void SetSource(SourceT &&value)
const FlowConnectionConfiguration & GetConfiguration() const
const Aws::String & GetTarget() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfiguration(ConfigurationT &&value)
bool TypeHasBeenSet() const
void SetType(FlowConnectionType value)
void SetName(NameT &&value)
FlowConnection & WithTarget(TargetT &&value)
FlowConnection & WithName(NameT &&value)
bool ConfigurationHasBeenSet() const
const Aws::String & GetSource() const
FlowConnectionType GetType() const
FlowConnection & WithSource(SourceT &&value)
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