AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfiguration(const FlowConnectionConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
50 inline void SetConfiguration(FlowConnectionConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
52 inline FlowConnection& WithConfiguration(FlowConnectionConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline FlowConnection& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline FlowConnection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline FlowConnection& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetSource() const{ return m_source; }
74 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
75 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
76 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
77 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
78 inline FlowConnection& WithSource(const Aws::String& value) { SetSource(value); return *this;}
79 inline FlowConnection& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
80 inline FlowConnection& WithSource(const char* value) { SetSource(value); return *this;}
82
84
87 inline const Aws::String& GetTarget() const{ return m_target; }
88 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
89 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
90 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
91 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
92 inline FlowConnection& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
93 inline FlowConnection& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
94 inline FlowConnection& WithTarget(const char* value) { SetTarget(value); return *this;}
96
98
102 inline const FlowConnectionType& GetType() const{ return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(const FlowConnectionType& value) { m_typeHasBeenSet = true; m_type = value; }
105 inline void SetType(FlowConnectionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
106 inline FlowConnection& WithType(const FlowConnectionType& value) { SetType(value); return *this;}
107 inline FlowConnection& WithType(FlowConnectionType&& value) { SetType(std::move(value)); return *this;}
109 private:
110
111 FlowConnectionConfiguration m_configuration;
112 bool m_configurationHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_source;
118 bool m_sourceHasBeenSet = false;
119
120 Aws::String m_target;
121 bool m_targetHasBeenSet = false;
122
123 FlowConnectionType m_type;
124 bool m_typeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace BedrockAgent
129} // namespace Aws
FlowConnection & WithName(const char *value)
FlowConnection & WithType(const FlowConnectionType &value)
void SetType(const FlowConnectionType &value)
void SetName(const Aws::String &value)
void SetType(FlowConnectionType &&value)
void SetSource(const Aws::String &value)
FlowConnection & WithSource(Aws::String &&value)
FlowConnection & WithSource(const char *value)
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API FlowConnection(Aws::Utils::Json::JsonView jsonValue)
FlowConnection & WithSource(const Aws::String &value)
AWS_BEDROCKAGENT_API FlowConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowConnection & WithType(FlowConnectionType &&value)
FlowConnection & WithConfiguration(FlowConnectionConfiguration &&value)
void SetConfiguration(const FlowConnectionConfiguration &value)
FlowConnection & WithTarget(Aws::String &&value)
void SetTarget(const Aws::String &value)
const FlowConnectionConfiguration & GetConfiguration() const
const Aws::String & GetTarget() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowConnection & WithName(const Aws::String &value)
void SetConfiguration(FlowConnectionConfiguration &&value)
FlowConnection & WithTarget(const Aws::String &value)
FlowConnection & WithTarget(const char *value)
const FlowConnectionType & GetType() const
const Aws::String & GetSource() const
FlowConnection & WithName(Aws::String &&value)
FlowConnection & WithConfiguration(const FlowConnectionConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue