AWS SDK for C++  1.9.14
AWS SDK for C++
FileValidationMessage.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& GetTitle() const{ return m_title; }
44 
48  inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
49 
53  inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
54 
58  inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
59 
63  inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
64 
68  inline FileValidationMessage& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
69 
73  inline FileValidationMessage& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
74 
78  inline FileValidationMessage& WithTitle(const char* value) { SetTitle(value); return *this;}
79 
80 
84  inline const Aws::String& GetContent() const{ return m_content; }
85 
89  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
90 
94  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
95 
99  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
100 
104  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
105 
109  inline FileValidationMessage& WithContent(const Aws::String& value) { SetContent(value); return *this;}
110 
114  inline FileValidationMessage& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
115 
119  inline FileValidationMessage& WithContent(const char* value) { SetContent(value); return *this;}
120 
121 
125  inline const Aws::String& GetType() const{ return m_type; }
126 
130  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
131 
135  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
136 
140  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
141 
145  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
146 
150  inline FileValidationMessage& WithType(const Aws::String& value) { SetType(value); return *this;}
151 
155  inline FileValidationMessage& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
156 
160  inline FileValidationMessage& WithType(const char* value) { SetType(value); return *this;}
161 
162  private:
163 
164  Aws::String m_title;
165  bool m_titleHasBeenSet;
166 
167  Aws::String m_content;
168  bool m_contentHasBeenSet;
169 
170  Aws::String m_type;
171  bool m_typeHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace FraudDetector
176 } // namespace Aws
Aws::FraudDetector::Model::FileValidationMessage::SetContent
void SetContent(const Aws::String &value)
Definition: FileValidationMessage.h:94
Aws::FraudDetector::Model::FileValidationMessage::WithContent
FileValidationMessage & WithContent(Aws::String &&value)
Definition: FileValidationMessage.h:114
Aws::FraudDetector::Model::FileValidationMessage::SetType
void SetType(const char *value)
Definition: FileValidationMessage.h:145
Aws::FraudDetector::Model::FileValidationMessage::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: FileValidationMessage.h:89
Aws::FraudDetector::Model::FileValidationMessage::WithContent
FileValidationMessage & WithContent(const char *value)
Definition: FileValidationMessage.h:119
Aws::FraudDetector::Model::FileValidationMessage::WithType
FileValidationMessage & WithType(const Aws::String &value)
Definition: FileValidationMessage.h:150
Aws::FraudDetector::Model::FileValidationMessage::WithTitle
FileValidationMessage & WithTitle(Aws::String &&value)
Definition: FileValidationMessage.h:73
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::FileValidationMessage::SetType
void SetType(Aws::String &&value)
Definition: FileValidationMessage.h:140
Aws::FraudDetector::Model::FileValidationMessage::WithTitle
FileValidationMessage & WithTitle(const char *value)
Definition: FileValidationMessage.h:78
Aws::FraudDetector::Model::FileValidationMessage::operator=
FileValidationMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::FileValidationMessage::WithType
FileValidationMessage & WithType(Aws::String &&value)
Definition: FileValidationMessage.h:155
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::FileValidationMessage
Definition: FileValidationMessage.h:32
Aws::FraudDetector::Model::FileValidationMessage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::FileValidationMessage::FileValidationMessage
FileValidationMessage()
Aws::FraudDetector::Model::FileValidationMessage::WithTitle
FileValidationMessage & WithTitle(const Aws::String &value)
Definition: FileValidationMessage.h:68
Aws::FraudDetector::Model::FileValidationMessage::SetTitle
void SetTitle(const char *value)
Definition: FileValidationMessage.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::FileValidationMessage::WithType
FileValidationMessage & WithType(const char *value)
Definition: FileValidationMessage.h:160
Aws::FraudDetector::Model::FileValidationMessage::SetContent
void SetContent(Aws::String &&value)
Definition: FileValidationMessage.h:99
Aws::FraudDetector::Model::FileValidationMessage::WithContent
FileValidationMessage & WithContent(const Aws::String &value)
Definition: FileValidationMessage.h:109
Aws::FraudDetector::Model::FileValidationMessage::SetType
void SetType(const Aws::String &value)
Definition: FileValidationMessage.h:135
Aws::FraudDetector::Model::FileValidationMessage::GetType
const Aws::String & GetType() const
Definition: FileValidationMessage.h:125
Aws::FraudDetector::Model::FileValidationMessage::SetContent
void SetContent(const char *value)
Definition: FileValidationMessage.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::FileValidationMessage::SetTitle
void SetTitle(Aws::String &&value)
Definition: FileValidationMessage.h:58
Aws::FraudDetector::Model::FileValidationMessage::TitleHasBeenSet
bool TitleHasBeenSet() const
Definition: FileValidationMessage.h:48
Aws::FraudDetector::Model::FileValidationMessage::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: FileValidationMessage.h:130
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::FileValidationMessage::GetContent
const Aws::String & GetContent() const
Definition: FileValidationMessage.h:84
Aws::FraudDetector::Model::FileValidationMessage::GetTitle
const Aws::String & GetTitle() const
Definition: FileValidationMessage.h:43
Aws::FraudDetector::Model::FileValidationMessage::FileValidationMessage
FileValidationMessage(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::FileValidationMessage::SetTitle
void SetTitle(const Aws::String &value)
Definition: FileValidationMessage.h:53