AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowConnection.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowConnectionConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/FlowConnectionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENT_API FlowConnection() = default;
38 AWS_BEDROCKAGENT_API FlowConnection(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API FlowConnection& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const FlowConnectionConfiguration& GetConfiguration() const { return m_configuration; }
48 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
49 template<typename ConfigurationT = FlowConnectionConfiguration>
50 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
51 template<typename ConfigurationT = FlowConnectionConfiguration>
52 FlowConnection& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(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 FlowConnection& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetSource() const { return m_source; }
72 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
73 template<typename SourceT = Aws::String>
74 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
75 template<typename SourceT = Aws::String>
76 FlowConnection& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
78
80
83 inline const Aws::String& GetTarget() const { return m_target; }
84 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
85 template<typename TargetT = Aws::String>
86 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
87 template<typename TargetT = Aws::String>
88 FlowConnection& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
90
92
96 inline FlowConnectionType GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
98 inline void SetType(FlowConnectionType value) { m_typeHasBeenSet = true; m_type = value; }
99 inline FlowConnection& WithType(FlowConnectionType value) { SetType(value); return *this;}
101 private:
102
103 FlowConnectionConfiguration m_configuration;
104 bool m_configurationHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_source;
110 bool m_sourceHasBeenSet = false;
111
112 Aws::String m_target;
113 bool m_targetHasBeenSet = false;
114
116 bool m_typeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace BedrockAgent
121} // namespace Aws
FlowConnection & WithConfiguration(ConfigurationT &&value)
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)
const FlowConnectionConfiguration & GetConfiguration() const
const Aws::String & GetTarget() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfiguration(ConfigurationT &&value)
void SetType(FlowConnectionType value)
FlowConnection & WithTarget(TargetT &&value)
FlowConnection & WithName(NameT &&value)
const Aws::String & GetSource() const
FlowConnection & WithSource(SourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue