AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowValidation.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowValidationDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/FlowValidationSeverity.h>
11#include <aws/bedrock-agent/model/FlowValidationType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_BEDROCKAGENT_API FlowValidation() = default;
43 AWS_BEDROCKAGENT_API FlowValidation(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENT_API FlowValidation& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const FlowValidationDetails& GetDetails() const { return m_details; }
53 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
54 template<typename DetailsT = FlowValidationDetails>
55 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
56 template<typename DetailsT = FlowValidationDetails>
57 FlowValidation& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
59
61
64 inline const Aws::String& GetMessage() const { return m_message; }
65 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
66 template<typename MessageT = Aws::String>
67 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
68 template<typename MessageT = Aws::String>
69 FlowValidation& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
71
73
76 inline FlowValidationSeverity GetSeverity() const { return m_severity; }
77 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
78 inline void SetSeverity(FlowValidationSeverity value) { m_severityHasBeenSet = true; m_severity = value; }
79 inline FlowValidation& WithSeverity(FlowValidationSeverity value) { SetSeverity(value); return *this;}
81
83
86 inline FlowValidationType GetType() const { return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(FlowValidationType value) { m_typeHasBeenSet = true; m_type = value; }
89 inline FlowValidation& WithType(FlowValidationType value) { SetType(value); return *this;}
91 private:
92
93 FlowValidationDetails m_details;
94 bool m_detailsHasBeenSet = false;
95
96 Aws::String m_message;
97 bool m_messageHasBeenSet = false;
98
100 bool m_severityHasBeenSet = false;
101
103 bool m_typeHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace BedrockAgent
108} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(FlowValidationType value)
void SetSeverity(FlowValidationSeverity value)
FlowValidation & WithMessage(MessageT &&value)
FlowValidation & WithType(FlowValidationType value)
FlowValidation & WithDetails(DetailsT &&value)
AWS_BEDROCKAGENT_API FlowValidation & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowValidation & WithSeverity(FlowValidationSeverity value)
const Aws::String & GetMessage() const
AWS_BEDROCKAGENT_API FlowValidation(Aws::Utils::Json::JsonView jsonValue)
FlowValidationSeverity GetSeverity() const
AWS_BEDROCKAGENT_API FlowValidation()=default
const FlowValidationDetails & GetDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue