7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/CaseRuleError.h>
9#include <aws/connectcases/model/GetCaseRuleResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ConnectCases {
37 template <
typename CaseRulesT = Aws::Vector<GetCaseRuleResponse>>
39 m_caseRulesHasBeenSet =
true;
40 m_caseRules = std::forward<CaseRulesT>(value);
42 template <
typename CaseRulesT = Aws::Vector<GetCaseRuleResponse>>
47 template <
typename CaseRulesT = GetCaseRuleResponse>
49 m_caseRulesHasBeenSet =
true;
50 m_caseRules.emplace_back(std::forward<CaseRulesT>(value));
60 template <
typename ErrorsT = Aws::Vector<CaseRuleError>>
62 m_errorsHasBeenSet =
true;
63 m_errors = std::forward<ErrorsT>(value);
65 template <
typename ErrorsT = Aws::Vector<CaseRuleError>>
70 template <
typename ErrorsT = CaseRuleError>
72 m_errorsHasBeenSet =
true;
73 m_errors.emplace_back(std::forward<ErrorsT>(value));
83 template <
typename UnprocessedCaseRulesT = Aws::Vector<Aws::String>>
85 m_unprocessedCaseRulesHasBeenSet =
true;
86 m_unprocessedCaseRules = std::forward<UnprocessedCaseRulesT>(value);
88 template <
typename UnprocessedCaseRulesT = Aws::Vector<Aws::String>>
93 template <
typename UnprocessedCaseRulesT = Aws::String>
95 m_unprocessedCaseRulesHasBeenSet =
true;
96 m_unprocessedCaseRules.emplace_back(std::forward<UnprocessedCaseRulesT>(value));
104 template <
typename RequestIdT = Aws::String>
106 m_requestIdHasBeenSet =
true;
107 m_requestId = std::forward<RequestIdT>(value);
109 template <
typename RequestIdT = Aws::String>
123 bool m_caseRulesHasBeenSet =
false;
124 bool m_errorsHasBeenSet =
false;
125 bool m_unprocessedCaseRulesHasBeenSet =
false;
126 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< CaseRuleError > & GetErrors() const
BatchGetCaseRuleResult & WithUnprocessedCaseRules(UnprocessedCaseRulesT &&value)
BatchGetCaseRuleResult & WithErrors(ErrorsT &&value)
BatchGetCaseRuleResult & WithCaseRules(CaseRulesT &&value)
BatchGetCaseRuleResult & AddUnprocessedCaseRules(UnprocessedCaseRulesT &&value)
void SetErrors(ErrorsT &&value)
BatchGetCaseRuleResult & WithRequestId(RequestIdT &&value)
void SetCaseRules(CaseRulesT &&value)
const Aws::Vector< Aws::String > & GetUnprocessedCaseRules() const
void SetRequestId(RequestIdT &&value)
BatchGetCaseRuleResult & AddCaseRules(CaseRulesT &&value)
BatchGetCaseRuleResult & AddErrors(ErrorsT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< GetCaseRuleResponse > & GetCaseRules() const
AWS_CONNECTCASES_API BatchGetCaseRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECTCASES_API BatchGetCaseRuleResult()=default
AWS_CONNECTCASES_API BatchGetCaseRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnprocessedCaseRules(UnprocessedCaseRulesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue