AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
47 inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
48 inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
49 inline FieldValidationMessage& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
50 inline FieldValidationMessage& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
51 inline FieldValidationMessage& WithFieldName(const char* value) { SetFieldName(value); return *this;}
53
55
58 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
59 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
60 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
61 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
62 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
63 inline FieldValidationMessage& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
64 inline FieldValidationMessage& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
65 inline FieldValidationMessage& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
67
69
72 inline const Aws::String& GetTitle() const{ return m_title; }
73 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
74 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
75 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
76 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
77 inline FieldValidationMessage& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
78 inline FieldValidationMessage& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
79 inline FieldValidationMessage& WithTitle(const char* value) { SetTitle(value); return *this;}
81
83
86 inline const Aws::String& GetContent() const{ return m_content; }
87 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
88 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
89 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
90 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
91 inline FieldValidationMessage& WithContent(const Aws::String& value) { SetContent(value); return *this;}
92 inline FieldValidationMessage& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
93 inline FieldValidationMessage& WithContent(const char* value) { SetContent(value); return *this;}
95
97
100 inline const Aws::String& GetType() const{ return m_type; }
101 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
102 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
103 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
104 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
105 inline FieldValidationMessage& WithType(const Aws::String& value) { SetType(value); return *this;}
106 inline FieldValidationMessage& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
107 inline FieldValidationMessage& WithType(const char* value) { SetType(value); return *this;}
109 private:
110
111 Aws::String m_fieldName;
112 bool m_fieldNameHasBeenSet = false;
113
114 Aws::String m_identifier;
115 bool m_identifierHasBeenSet = false;
116
117 Aws::String m_title;
118 bool m_titleHasBeenSet = false;
119
120 Aws::String m_content;
121 bool m_contentHasBeenSet = false;
122
123 Aws::String m_type;
124 bool m_typeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace FraudDetector
129} // namespace Aws
FieldValidationMessage & WithTitle(const Aws::String &value)
FieldValidationMessage & WithContent(Aws::String &&value)
FieldValidationMessage & WithContent(const char *value)
FieldValidationMessage & WithIdentifier(Aws::String &&value)
FieldValidationMessage & WithType(const char *value)
AWS_FRAUDDETECTOR_API FieldValidationMessage(Aws::Utils::Json::JsonView jsonValue)
FieldValidationMessage & WithIdentifier(const char *value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
FieldValidationMessage & WithType(Aws::String &&value)
FieldValidationMessage & WithTitle(Aws::String &&value)
FieldValidationMessage & WithFieldName(const char *value)
FieldValidationMessage & WithType(const Aws::String &value)
FieldValidationMessage & WithTitle(const char *value)
FieldValidationMessage & WithFieldName(const Aws::String &value)
AWS_FRAUDDETECTOR_API FieldValidationMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldValidationMessage & WithFieldName(Aws::String &&value)
FieldValidationMessage & WithIdentifier(const Aws::String &value)
FieldValidationMessage & WithContent(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue