AWS SDK for C++  1.9.14
AWS SDK for C++
BatchCreateVariableResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace FraudDetector
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<BatchCreateVariableError>& GetErrors() const{ return m_errors; }
40 
44  inline void SetErrors(const Aws::Vector<BatchCreateVariableError>& value) { m_errors = value; }
45 
49  inline void SetErrors(Aws::Vector<BatchCreateVariableError>&& value) { m_errors = std::move(value); }
50 
54  inline BatchCreateVariableResult& WithErrors(const Aws::Vector<BatchCreateVariableError>& value) { SetErrors(value); return *this;}
55 
59  inline BatchCreateVariableResult& WithErrors(Aws::Vector<BatchCreateVariableError>&& value) { SetErrors(std::move(value)); return *this;}
60 
64  inline BatchCreateVariableResult& AddErrors(const BatchCreateVariableError& value) { m_errors.push_back(value); return *this; }
65 
69  inline BatchCreateVariableResult& AddErrors(BatchCreateVariableError&& value) { m_errors.push_back(std::move(value)); return *this; }
70 
71  private:
72 
74  };
75 
76 } // namespace Model
77 } // namespace FraudDetector
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::BatchCreateVariableResult::AddErrors
BatchCreateVariableResult & AddErrors(BatchCreateVariableError &&value)
Definition: BatchCreateVariableResult.h:69
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::BatchCreateVariableResult
Definition: BatchCreateVariableResult.h:29
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::BatchCreateVariableResult::operator=
BatchCreateVariableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::FraudDetector::Model::BatchCreateVariableResult::AddErrors
BatchCreateVariableResult & AddErrors(const BatchCreateVariableError &value)
Definition: BatchCreateVariableResult.h:64
Aws::FraudDetector::Model::BatchCreateVariableError
Definition: BatchCreateVariableError.h:33
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::BatchCreateVariableResult::BatchCreateVariableResult
BatchCreateVariableResult()
Aws::FraudDetector::Model::BatchCreateVariableResult::SetErrors
void SetErrors(const Aws::Vector< BatchCreateVariableError > &value)
Definition: BatchCreateVariableResult.h:44
BatchCreateVariableError.h
Aws::FraudDetector::Model::BatchCreateVariableResult::BatchCreateVariableResult
BatchCreateVariableResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::BatchCreateVariableResult::SetErrors
void SetErrors(Aws::Vector< BatchCreateVariableError > &&value)
Definition: BatchCreateVariableResult.h:49
Aws::FraudDetector::Model::BatchCreateVariableResult::WithErrors
BatchCreateVariableResult & WithErrors(Aws::Vector< BatchCreateVariableError > &&value)
Definition: BatchCreateVariableResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::BatchCreateVariableResult::WithErrors
BatchCreateVariableResult & WithErrors(const Aws::Vector< BatchCreateVariableError > &value)
Definition: BatchCreateVariableResult.h:54
Aws::FraudDetector::Model::BatchCreateVariableResult::GetErrors
const Aws::Vector< BatchCreateVariableError > & GetErrors() const
Definition: BatchCreateVariableResult.h:39