AWS SDK for C++  1.9.20
AWS SDK for C++
BatchGetVariableResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace FraudDetector
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Variable>& GetVariables() const{ return m_variables; }
41 
45  inline void SetVariables(const Aws::Vector<Variable>& value) { m_variables = value; }
46 
50  inline void SetVariables(Aws::Vector<Variable>&& value) { m_variables = std::move(value); }
51 
55  inline BatchGetVariableResult& WithVariables(const Aws::Vector<Variable>& value) { SetVariables(value); return *this;}
56 
60  inline BatchGetVariableResult& WithVariables(Aws::Vector<Variable>&& value) { SetVariables(std::move(value)); return *this;}
61 
65  inline BatchGetVariableResult& AddVariables(const Variable& value) { m_variables.push_back(value); return *this; }
66 
70  inline BatchGetVariableResult& AddVariables(Variable&& value) { m_variables.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::Vector<BatchGetVariableError>& GetErrors() const{ return m_errors; }
77 
81  inline void SetErrors(const Aws::Vector<BatchGetVariableError>& value) { m_errors = value; }
82 
86  inline void SetErrors(Aws::Vector<BatchGetVariableError>&& value) { m_errors = std::move(value); }
87 
91  inline BatchGetVariableResult& WithErrors(const Aws::Vector<BatchGetVariableError>& value) { SetErrors(value); return *this;}
92 
96  inline BatchGetVariableResult& WithErrors(Aws::Vector<BatchGetVariableError>&& value) { SetErrors(std::move(value)); return *this;}
97 
101  inline BatchGetVariableResult& AddErrors(const BatchGetVariableError& value) { m_errors.push_back(value); return *this; }
102 
106  inline BatchGetVariableResult& AddErrors(BatchGetVariableError&& value) { m_errors.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::Vector<Variable> m_variables;
111 
113  };
114 
115 } // namespace Model
116 } // namespace FraudDetector
117 } // namespace Aws
Variable.h
Aws::FraudDetector::Model::BatchGetVariableResult::SetVariables
void SetVariables(Aws::Vector< Variable > &&value)
Definition: BatchGetVariableResult.h:50
Aws::FraudDetector::Model::BatchGetVariableResult::WithVariables
BatchGetVariableResult & WithVariables(const Aws::Vector< Variable > &value)
Definition: BatchGetVariableResult.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::BatchGetVariableResult::GetVariables
const Aws::Vector< Variable > & GetVariables() const
Definition: BatchGetVariableResult.h:40
Aws::FraudDetector::Model::BatchGetVariableResult::AddVariables
BatchGetVariableResult & AddVariables(Variable &&value)
Definition: BatchGetVariableResult.h:70
Aws::FraudDetector::Model::BatchGetVariableResult::BatchGetVariableResult
BatchGetVariableResult()
Aws::FraudDetector::Model::BatchGetVariableResult::AddVariables
BatchGetVariableResult & AddVariables(const Variable &value)
Definition: BatchGetVariableResult.h:65
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::BatchGetVariableResult::operator=
BatchGetVariableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetVariableError.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::FraudDetector::Model::BatchGetVariableResult::AddErrors
BatchGetVariableResult & AddErrors(const BatchGetVariableError &value)
Definition: BatchGetVariableResult.h:101
Aws::FraudDetector::Model::BatchGetVariableResult::GetErrors
const Aws::Vector< BatchGetVariableError > & GetErrors() const
Definition: BatchGetVariableResult.h:76
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::BatchGetVariableResult::WithErrors
BatchGetVariableResult & WithErrors(Aws::Vector< BatchGetVariableError > &&value)
Definition: BatchGetVariableResult.h:96
Aws::FraudDetector::Model::Variable
Definition: Variable.h:34
Aws::FraudDetector::Model::BatchGetVariableError
Definition: BatchGetVariableError.h:33
Aws::FraudDetector::Model::BatchGetVariableResult::AddErrors
BatchGetVariableResult & AddErrors(BatchGetVariableError &&value)
Definition: BatchGetVariableResult.h:106
Aws::FraudDetector::Model::BatchGetVariableResult::SetVariables
void SetVariables(const Aws::Vector< Variable > &value)
Definition: BatchGetVariableResult.h:45
Aws::FraudDetector::Model::BatchGetVariableResult::WithErrors
BatchGetVariableResult & WithErrors(const Aws::Vector< BatchGetVariableError > &value)
Definition: BatchGetVariableResult.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::BatchGetVariableResult::BatchGetVariableResult
BatchGetVariableResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::BatchGetVariableResult::SetErrors
void SetErrors(Aws::Vector< BatchGetVariableError > &&value)
Definition: BatchGetVariableResult.h:86
Aws::FraudDetector::Model::BatchGetVariableResult::SetErrors
void SetErrors(const Aws::Vector< BatchGetVariableError > &value)
Definition: BatchGetVariableResult.h:81
Aws::FraudDetector::Model::BatchGetVariableResult::WithVariables
BatchGetVariableResult & WithVariables(Aws::Vector< Variable > &&value)
Definition: BatchGetVariableResult.h:60
Aws::FraudDetector::Model::BatchGetVariableResult
Definition: BatchGetVariableResult.h:30