AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowValidation.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/FlowValidationSeverity.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_BEDROCKAGENT_API FlowValidation();
41 AWS_BEDROCKAGENT_API FlowValidation(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API FlowValidation& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetMessage() const{ return m_message; }
51 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
52 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
53 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
54 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
55 inline FlowValidation& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
56 inline FlowValidation& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
57 inline FlowValidation& WithMessage(const char* value) { SetMessage(value); return *this;}
59
61
64 inline const FlowValidationSeverity& GetSeverity() const{ return m_severity; }
65 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
66 inline void SetSeverity(const FlowValidationSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
67 inline void SetSeverity(FlowValidationSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
68 inline FlowValidation& WithSeverity(const FlowValidationSeverity& value) { SetSeverity(value); return *this;}
69 inline FlowValidation& WithSeverity(FlowValidationSeverity&& value) { SetSeverity(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_message;
74 bool m_messageHasBeenSet = false;
75
76 FlowValidationSeverity m_severity;
77 bool m_severityHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace BedrockAgent
82} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
FlowValidation & WithSeverity(const FlowValidationSeverity &value)
void SetSeverity(const FlowValidationSeverity &value)
AWS_BEDROCKAGENT_API FlowValidation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeverity(FlowValidationSeverity &&value)
const Aws::String & GetMessage() const
AWS_BEDROCKAGENT_API FlowValidation(Aws::Utils::Json::JsonView jsonValue)
FlowValidation & WithMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
const FlowValidationSeverity & GetSeverity() const
FlowValidation & WithMessage(const char *value)
FlowValidation & WithMessage(const Aws::String &value)
FlowValidation & WithSeverity(FlowValidationSeverity &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue