AWS SDK for C++  1.9.16
AWS SDK for C++
DataValidationMetrics.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace FraudDetector
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<FileValidationMessage>& GetFileLevelMessages() const{ return m_fileLevelMessages; }
46 
50  inline bool FileLevelMessagesHasBeenSet() const { return m_fileLevelMessagesHasBeenSet; }
51 
55  inline void SetFileLevelMessages(const Aws::Vector<FileValidationMessage>& value) { m_fileLevelMessagesHasBeenSet = true; m_fileLevelMessages = value; }
56 
60  inline void SetFileLevelMessages(Aws::Vector<FileValidationMessage>&& value) { m_fileLevelMessagesHasBeenSet = true; m_fileLevelMessages = std::move(value); }
61 
65  inline DataValidationMetrics& WithFileLevelMessages(const Aws::Vector<FileValidationMessage>& value) { SetFileLevelMessages(value); return *this;}
66 
70  inline DataValidationMetrics& WithFileLevelMessages(Aws::Vector<FileValidationMessage>&& value) { SetFileLevelMessages(std::move(value)); return *this;}
71 
75  inline DataValidationMetrics& AddFileLevelMessages(const FileValidationMessage& value) { m_fileLevelMessagesHasBeenSet = true; m_fileLevelMessages.push_back(value); return *this; }
76 
80  inline DataValidationMetrics& AddFileLevelMessages(FileValidationMessage&& value) { m_fileLevelMessagesHasBeenSet = true; m_fileLevelMessages.push_back(std::move(value)); return *this; }
81 
82 
86  inline const Aws::Vector<FieldValidationMessage>& GetFieldLevelMessages() const{ return m_fieldLevelMessages; }
87 
91  inline bool FieldLevelMessagesHasBeenSet() const { return m_fieldLevelMessagesHasBeenSet; }
92 
96  inline void SetFieldLevelMessages(const Aws::Vector<FieldValidationMessage>& value) { m_fieldLevelMessagesHasBeenSet = true; m_fieldLevelMessages = value; }
97 
101  inline void SetFieldLevelMessages(Aws::Vector<FieldValidationMessage>&& value) { m_fieldLevelMessagesHasBeenSet = true; m_fieldLevelMessages = std::move(value); }
102 
106  inline DataValidationMetrics& WithFieldLevelMessages(const Aws::Vector<FieldValidationMessage>& value) { SetFieldLevelMessages(value); return *this;}
107 
111  inline DataValidationMetrics& WithFieldLevelMessages(Aws::Vector<FieldValidationMessage>&& value) { SetFieldLevelMessages(std::move(value)); return *this;}
112 
116  inline DataValidationMetrics& AddFieldLevelMessages(const FieldValidationMessage& value) { m_fieldLevelMessagesHasBeenSet = true; m_fieldLevelMessages.push_back(value); return *this; }
117 
121  inline DataValidationMetrics& AddFieldLevelMessages(FieldValidationMessage&& value) { m_fieldLevelMessagesHasBeenSet = true; m_fieldLevelMessages.push_back(std::move(value)); return *this; }
122 
123  private:
124 
125  Aws::Vector<FileValidationMessage> m_fileLevelMessages;
126  bool m_fileLevelMessagesHasBeenSet;
127 
128  Aws::Vector<FieldValidationMessage> m_fieldLevelMessages;
129  bool m_fieldLevelMessagesHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace FraudDetector
134 } // namespace Aws
Aws::FraudDetector::Model::DataValidationMetrics::WithFieldLevelMessages
DataValidationMetrics & WithFieldLevelMessages(const Aws::Vector< FieldValidationMessage > &value)
Definition: DataValidationMetrics.h:106
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DataValidationMetrics::FieldLevelMessagesHasBeenSet
bool FieldLevelMessagesHasBeenSet() const
Definition: DataValidationMetrics.h:91
Aws::FraudDetector::Model::DataValidationMetrics::GetFieldLevelMessages
const Aws::Vector< FieldValidationMessage > & GetFieldLevelMessages() const
Definition: DataValidationMetrics.h:86
Aws::FraudDetector::Model::DataValidationMetrics::DataValidationMetrics
DataValidationMetrics(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::DataValidationMetrics::WithFileLevelMessages
DataValidationMetrics & WithFileLevelMessages(const Aws::Vector< FileValidationMessage > &value)
Definition: DataValidationMetrics.h:65
FieldValidationMessage.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::FraudDetector::Model::DataValidationMetrics::FileLevelMessagesHasBeenSet
bool FileLevelMessagesHasBeenSet() const
Definition: DataValidationMetrics.h:50
Aws::FraudDetector::Model::DataValidationMetrics::WithFieldLevelMessages
DataValidationMetrics & WithFieldLevelMessages(Aws::Vector< FieldValidationMessage > &&value)
Definition: DataValidationMetrics.h:111
Aws::FraudDetector::Model::DataValidationMetrics::AddFieldLevelMessages
DataValidationMetrics & AddFieldLevelMessages(FieldValidationMessage &&value)
Definition: DataValidationMetrics.h:121
Aws::FraudDetector::Model::DataValidationMetrics::WithFileLevelMessages
DataValidationMetrics & WithFileLevelMessages(Aws::Vector< FileValidationMessage > &&value)
Definition: DataValidationMetrics.h:70
Aws::FraudDetector::Model::DataValidationMetrics
Definition: DataValidationMetrics.h:34
Aws::FraudDetector::Model::DataValidationMetrics::GetFileLevelMessages
const Aws::Vector< FileValidationMessage > & GetFileLevelMessages() const
Definition: DataValidationMetrics.h:45
Aws::FraudDetector::Model::DataValidationMetrics::SetFieldLevelMessages
void SetFieldLevelMessages(const Aws::Vector< FieldValidationMessage > &value)
Definition: DataValidationMetrics.h:96
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::FileValidationMessage
Definition: FileValidationMessage.h:32
Aws::FraudDetector::Model::DataValidationMetrics::operator=
DataValidationMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
FileValidationMessage.h
Aws::FraudDetector::Model::FieldValidationMessage
Definition: FieldValidationMessage.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::DataValidationMetrics::DataValidationMetrics
DataValidationMetrics()
Aws::FraudDetector::Model::DataValidationMetrics::AddFileLevelMessages
DataValidationMetrics & AddFileLevelMessages(FileValidationMessage &&value)
Definition: DataValidationMetrics.h:80
Aws::FraudDetector::Model::DataValidationMetrics::SetFieldLevelMessages
void SetFieldLevelMessages(Aws::Vector< FieldValidationMessage > &&value)
Definition: DataValidationMetrics.h:101
Aws::FraudDetector::Model::DataValidationMetrics::SetFileLevelMessages
void SetFileLevelMessages(const Aws::Vector< FileValidationMessage > &value)
Definition: DataValidationMetrics.h:55
Aws::FraudDetector::Model::DataValidationMetrics::AddFileLevelMessages
DataValidationMetrics & AddFileLevelMessages(const FileValidationMessage &value)
Definition: DataValidationMetrics.h:75
Aws::FraudDetector::Model::DataValidationMetrics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::DataValidationMetrics::AddFieldLevelMessages
DataValidationMetrics & AddFieldLevelMessages(const FieldValidationMessage &value)
Definition: DataValidationMetrics.h:116
Aws::FraudDetector::Model::DataValidationMetrics::SetFileLevelMessages
void SetFileLevelMessages(Aws::Vector< FileValidationMessage > &&value)
Definition: DataValidationMetrics.h:60