AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
29 public:
30 AWS_BEDROCKAGENT_API FlowConnectionConfiguration() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const FlowDataConnectionConfiguration& GetData() const { return m_data; }
41 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
42 template <typename DataT = FlowDataConnectionConfiguration>
43 void SetData(DataT&& value) {
44 m_dataHasBeenSet = true;
45 m_data = std::forward<DataT>(value);
46 }
47 template <typename DataT = FlowDataConnectionConfiguration>
49 SetData(std::forward<DataT>(value));
50 return *this;
51 }
53
55
58 inline const FlowConditionalConnectionConfiguration& GetConditional() const { return m_conditional; }
59 inline bool ConditionalHasBeenSet() const { return m_conditionalHasBeenSet; }
60 template <typename ConditionalT = FlowConditionalConnectionConfiguration>
62 m_conditionalHasBeenSet = true;
63 m_conditional = std::forward<ConditionalT>(value);
64 }
65 template <typename ConditionalT = FlowConditionalConnectionConfiguration>
67 SetConditional(std::forward<ConditionalT>(value));
68 return *this;
69 }
71 private:
73
75 bool m_dataHasBeenSet = false;
76 bool m_conditionalHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
AWS_BEDROCKAGENT_API FlowConnectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API FlowConnectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API FlowConnectionConfiguration()=default
FlowConnectionConfiguration & WithConditional(ConditionalT &&value)
const FlowDataConnectionConfiguration & GetData() const
const FlowConditionalConnectionConfiguration & GetConditional() const
FlowConnectionConfiguration & WithData(DataT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue