AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ValidationExceptionField.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_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 BedrockDataAutomation {
20namespace Model {
21
29 public:
30 AWS_BEDROCKDATAAUTOMATION_API ValidationExceptionField() = default;
31 AWS_BEDROCKDATAAUTOMATION_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKDATAAUTOMATION_API ValidationExceptionField& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetMessage() const { return m_message; }
54 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
55 template <typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) {
57 m_messageHasBeenSet = true;
58 m_message = std::forward<MessageT>(value);
59 }
60 template <typename MessageT = Aws::String>
62 SetMessage(std::forward<MessageT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_name;
68
69 Aws::String m_message;
70 bool m_nameHasBeenSet = false;
71 bool m_messageHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace BedrockDataAutomation
76} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API ValidationExceptionField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API ValidationExceptionField()=default
AWS_BEDROCKDATAAUTOMATION_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue