AWS SDK for C++  1.9.20
AWS SDK for C++
FieldValidationMessage.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace FraudDetector
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetFieldName() const{ return m_fieldName; }
44 
48  inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
49 
53  inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
54 
58  inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
59 
63  inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
64 
68  inline FieldValidationMessage& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
69 
73  inline FieldValidationMessage& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
74 
78  inline FieldValidationMessage& WithFieldName(const char* value) { SetFieldName(value); return *this;}
79 
80 
84  inline const Aws::String& GetIdentifier() const{ return m_identifier; }
85 
89  inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
90 
94  inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
95 
99  inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
100 
104  inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
105 
109  inline FieldValidationMessage& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
110 
114  inline FieldValidationMessage& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
115 
119  inline FieldValidationMessage& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
120 
121 
125  inline const Aws::String& GetTitle() const{ return m_title; }
126 
130  inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
131 
135  inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
136 
140  inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
141 
145  inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
146 
150  inline FieldValidationMessage& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
151 
155  inline FieldValidationMessage& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
156 
160  inline FieldValidationMessage& WithTitle(const char* value) { SetTitle(value); return *this;}
161 
162 
166  inline const Aws::String& GetContent() const{ return m_content; }
167 
171  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
172 
176  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
177 
181  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
182 
186  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
187 
191  inline FieldValidationMessage& WithContent(const Aws::String& value) { SetContent(value); return *this;}
192 
196  inline FieldValidationMessage& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
197 
201  inline FieldValidationMessage& WithContent(const char* value) { SetContent(value); return *this;}
202 
203 
207  inline const Aws::String& GetType() const{ return m_type; }
208 
212  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
213 
217  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
218 
222  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
223 
227  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
228 
232  inline FieldValidationMessage& WithType(const Aws::String& value) { SetType(value); return *this;}
233 
237  inline FieldValidationMessage& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
238 
242  inline FieldValidationMessage& WithType(const char* value) { SetType(value); return *this;}
243 
244  private:
245 
246  Aws::String m_fieldName;
247  bool m_fieldNameHasBeenSet;
248 
249  Aws::String m_identifier;
250  bool m_identifierHasBeenSet;
251 
252  Aws::String m_title;
253  bool m_titleHasBeenSet;
254 
255  Aws::String m_content;
256  bool m_contentHasBeenSet;
257 
258  Aws::String m_type;
259  bool m_typeHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace FraudDetector
264 } // namespace Aws
Aws::FraudDetector::Model::FieldValidationMessage::WithContent
FieldValidationMessage & WithContent(const Aws::String &value)
Definition: FieldValidationMessage.h:191
Aws::FraudDetector::Model::FieldValidationMessage::WithIdentifier
FieldValidationMessage & WithIdentifier(const char *value)
Definition: FieldValidationMessage.h:119
Aws::FraudDetector::Model::FieldValidationMessage::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: FieldValidationMessage.h:212
Aws::FraudDetector::Model::FieldValidationMessage::WithType
FieldValidationMessage & WithType(const Aws::String &value)
Definition: FieldValidationMessage.h:232
Aws::FraudDetector::Model::FieldValidationMessage::SetIdentifier
void SetIdentifier(Aws::String &&value)
Definition: FieldValidationMessage.h:99
Aws::FraudDetector::Model::FieldValidationMessage::GetContent
const Aws::String & GetContent() const
Definition: FieldValidationMessage.h:166
Aws::FraudDetector::Model::FieldValidationMessage::SetFieldName
void SetFieldName(const Aws::String &value)
Definition: FieldValidationMessage.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::FieldValidationMessage::WithTitle
FieldValidationMessage & WithTitle(Aws::String &&value)
Definition: FieldValidationMessage.h:155
Aws::FraudDetector::Model::FieldValidationMessage::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: FieldValidationMessage.h:171
Aws::FraudDetector::Model::FieldValidationMessage::SetType
void SetType(Aws::String &&value)
Definition: FieldValidationMessage.h:222
Aws::FraudDetector::Model::FieldValidationMessage::WithTitle
FieldValidationMessage & WithTitle(const char *value)
Definition: FieldValidationMessage.h:160
Aws::FraudDetector::Model::FieldValidationMessage::FieldValidationMessage
FieldValidationMessage()
Aws::FraudDetector::Model::FieldValidationMessage::WithFieldName
FieldValidationMessage & WithFieldName(const Aws::String &value)
Definition: FieldValidationMessage.h:68
Aws::FraudDetector::Model::FieldValidationMessage::SetIdentifier
void SetIdentifier(const Aws::String &value)
Definition: FieldValidationMessage.h:94
Aws::FraudDetector::Model::FieldValidationMessage::WithFieldName
FieldValidationMessage & WithFieldName(Aws::String &&value)
Definition: FieldValidationMessage.h:73
Aws::FraudDetector::Model::FieldValidationMessage::SetContent
void SetContent(Aws::String &&value)
Definition: FieldValidationMessage.h:181
Aws::FraudDetector::Model::FieldValidationMessage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::FieldValidationMessage::IdentifierHasBeenSet
bool IdentifierHasBeenSet() const
Definition: FieldValidationMessage.h:89
Aws::FraudDetector::Model::FieldValidationMessage::GetType
const Aws::String & GetType() const
Definition: FieldValidationMessage.h:207
Aws::FraudDetector::Model::FieldValidationMessage::FieldValidationMessage
FieldValidationMessage(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::FieldValidationMessage::SetTitle
void SetTitle(const char *value)
Definition: FieldValidationMessage.h:145
Aws::FraudDetector::Model::FieldValidationMessage::TitleHasBeenSet
bool TitleHasBeenSet() const
Definition: FieldValidationMessage.h:130
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::FieldValidationMessage::WithContent
FieldValidationMessage & WithContent(Aws::String &&value)
Definition: FieldValidationMessage.h:196
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::FieldValidationMessage::SetTitle
void SetTitle(const Aws::String &value)
Definition: FieldValidationMessage.h:135
Aws::FraudDetector::Model::FieldValidationMessage::WithTitle
FieldValidationMessage & WithTitle(const Aws::String &value)
Definition: FieldValidationMessage.h:150
Aws::FraudDetector::Model::FieldValidationMessage::operator=
FieldValidationMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::FieldValidationMessage::SetContent
void SetContent(const Aws::String &value)
Definition: FieldValidationMessage.h:176
Aws::FraudDetector::Model::FieldValidationMessage::GetIdentifier
const Aws::String & GetIdentifier() const
Definition: FieldValidationMessage.h:84
Aws::FraudDetector::Model::FieldValidationMessage
Definition: FieldValidationMessage.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::FieldValidationMessage::WithIdentifier
FieldValidationMessage & WithIdentifier(const Aws::String &value)
Definition: FieldValidationMessage.h:109
Aws::FraudDetector::Model::FieldValidationMessage::SetIdentifier
void SetIdentifier(const char *value)
Definition: FieldValidationMessage.h:104
Aws::FraudDetector::Model::FieldValidationMessage::SetContent
void SetContent(const char *value)
Definition: FieldValidationMessage.h:186
Aws::FraudDetector::Model::FieldValidationMessage::GetTitle
const Aws::String & GetTitle() const
Definition: FieldValidationMessage.h:125
Aws::FraudDetector::Model::FieldValidationMessage::SetFieldName
void SetFieldName(Aws::String &&value)
Definition: FieldValidationMessage.h:58
Aws::FraudDetector::Model::FieldValidationMessage::SetType
void SetType(const Aws::String &value)
Definition: FieldValidationMessage.h:217
Aws::FraudDetector::Model::FieldValidationMessage::WithFieldName
FieldValidationMessage & WithFieldName(const char *value)
Definition: FieldValidationMessage.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::FieldValidationMessage::SetFieldName
void SetFieldName(const char *value)
Definition: FieldValidationMessage.h:63
Aws::FraudDetector::Model::FieldValidationMessage::SetType
void SetType(const char *value)
Definition: FieldValidationMessage.h:227
Aws::FraudDetector::Model::FieldValidationMessage::WithIdentifier
FieldValidationMessage & WithIdentifier(Aws::String &&value)
Definition: FieldValidationMessage.h:114
Aws::FraudDetector::Model::FieldValidationMessage::GetFieldName
const Aws::String & GetFieldName() const
Definition: FieldValidationMessage.h:43
Aws::FraudDetector::Model::FieldValidationMessage::WithContent
FieldValidationMessage & WithContent(const char *value)
Definition: FieldValidationMessage.h:201
Aws::FraudDetector::Model::FieldValidationMessage::WithType
FieldValidationMessage & WithType(const char *value)
Definition: FieldValidationMessage.h:242
Aws::FraudDetector::Model::FieldValidationMessage::FieldNameHasBeenSet
bool FieldNameHasBeenSet() const
Definition: FieldValidationMessage.h:48
Aws::FraudDetector::Model::FieldValidationMessage::SetTitle
void SetTitle(Aws::String &&value)
Definition: FieldValidationMessage.h:140
Aws::FraudDetector::Model::FieldValidationMessage::WithType
FieldValidationMessage & WithType(Aws::String &&value)
Definition: FieldValidationMessage.h:237