AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetVariableResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/frauddetector/model/Variable.h>
11#include <aws/frauddetector/model/BatchGetVariableError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace FraudDetector
27{
28namespace Model
29{
31 {
32 public:
33 AWS_FRAUDDETECTOR_API BatchGetVariableResult() = default;
36
37
39
42 inline const Aws::Vector<Variable>& GetVariables() const { return m_variables; }
43 template<typename VariablesT = Aws::Vector<Variable>>
44 void SetVariables(VariablesT&& value) { m_variablesHasBeenSet = true; m_variables = std::forward<VariablesT>(value); }
45 template<typename VariablesT = Aws::Vector<Variable>>
46 BatchGetVariableResult& WithVariables(VariablesT&& value) { SetVariables(std::forward<VariablesT>(value)); return *this;}
47 template<typename VariablesT = Variable>
48 BatchGetVariableResult& AddVariables(VariablesT&& value) { m_variablesHasBeenSet = true; m_variables.emplace_back(std::forward<VariablesT>(value)); return *this; }
50
52
55 inline const Aws::Vector<BatchGetVariableError>& GetErrors() const { return m_errors; }
56 template<typename ErrorsT = Aws::Vector<BatchGetVariableError>>
57 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
58 template<typename ErrorsT = Aws::Vector<BatchGetVariableError>>
59 BatchGetVariableResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
60 template<typename ErrorsT = BatchGetVariableError>
61 BatchGetVariableResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 BatchGetVariableResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::Vector<Variable> m_variables;
75 bool m_variablesHasBeenSet = false;
76
78 bool m_errorsHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace FraudDetector
86} // namespace Aws
BatchGetVariableResult & AddErrors(ErrorsT &&value)
const Aws::Vector< BatchGetVariableError > & GetErrors() const
AWS_FRAUDDETECTOR_API BatchGetVariableResult()=default
BatchGetVariableResult & WithErrors(ErrorsT &&value)
BatchGetVariableResult & WithVariables(VariablesT &&value)
AWS_FRAUDDETECTOR_API BatchGetVariableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetVariableResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Variable > & GetVariables() const
BatchGetVariableResult & AddVariables(VariablesT &&value)
AWS_FRAUDDETECTOR_API BatchGetVariableResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue