AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FieldValidationMessage.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FraudDetector
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_FRAUDDETECTOR_API FieldValidationMessage() = default;
35 AWS_FRAUDDETECTOR_API FieldValidationMessage(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFieldName() const { return m_fieldName; }
45 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
46 template<typename FieldNameT = Aws::String>
47 void SetFieldName(FieldNameT&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::forward<FieldNameT>(value); }
48 template<typename FieldNameT = Aws::String>
49 FieldValidationMessage& WithFieldName(FieldNameT&& value) { SetFieldName(std::forward<FieldNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetIdentifier() const { return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 template<typename IdentifierT = Aws::String>
59 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
60 template<typename IdentifierT = Aws::String>
61 FieldValidationMessage& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
63
65
68 inline const Aws::String& GetTitle() const { return m_title; }
69 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
70 template<typename TitleT = Aws::String>
71 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
72 template<typename TitleT = Aws::String>
73 FieldValidationMessage& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
75
77
80 inline const Aws::String& GetContent() const { return m_content; }
81 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
82 template<typename ContentT = Aws::String>
83 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
84 template<typename ContentT = Aws::String>
85 FieldValidationMessage& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
87
89
92 inline const Aws::String& GetType() const { return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 template<typename TypeT = Aws::String>
95 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
96 template<typename TypeT = Aws::String>
97 FieldValidationMessage& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
99 private:
100
101 Aws::String m_fieldName;
102 bool m_fieldNameHasBeenSet = false;
103
104 Aws::String m_identifier;
105 bool m_identifierHasBeenSet = false;
106
107 Aws::String m_title;
108 bool m_titleHasBeenSet = false;
109
110 Aws::String m_content;
111 bool m_contentHasBeenSet = false;
112
113 Aws::String m_type;
114 bool m_typeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace FraudDetector
119} // namespace Aws
FieldValidationMessage & WithContent(ContentT &&value)
AWS_FRAUDDETECTOR_API FieldValidationMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
FieldValidationMessage & WithIdentifier(IdentifierT &&value)
FieldValidationMessage & WithTitle(TitleT &&value)
AWS_FRAUDDETECTOR_API FieldValidationMessage()=default
FieldValidationMessage & WithFieldName(FieldNameT &&value)
AWS_FRAUDDETECTOR_API FieldValidationMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldValidationMessage & WithType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue