AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DuplicateConnectionsFlowValidationDetails.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENT_API DuplicateConnectionsFlowValidationDetails() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSource() const { return m_source; }
40 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
41 template <typename SourceT = Aws::String>
42 void SetSource(SourceT&& value) {
43 m_sourceHasBeenSet = true;
44 m_source = std::forward<SourceT>(value);
45 }
46 template <typename SourceT = Aws::String>
48 SetSource(std::forward<SourceT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTarget() const { return m_target; }
58 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
59 template <typename TargetT = Aws::String>
60 void SetTarget(TargetT&& value) {
61 m_targetHasBeenSet = true;
62 m_target = std::forward<TargetT>(value);
63 }
64 template <typename TargetT = Aws::String>
66 SetTarget(std::forward<TargetT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_source;
72
73 Aws::String m_target;
74 bool m_sourceHasBeenSet = false;
75 bool m_targetHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgent
80} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API DuplicateConnectionsFlowValidationDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API DuplicateConnectionsFlowValidationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
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