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/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ConnectCases {
38 template <
typename CaseRulesT = Aws::Vector<GetCaseRuleResponse>>
40 m_caseRulesHasBeenSet =
true;
41 m_caseRules = std::forward<CaseRulesT>(value);
43 template <
typename CaseRulesT = Aws::Vector<GetCaseRuleResponse>>
48 template <
typename CaseRulesT = GetCaseRuleResponse>
50 m_caseRulesHasBeenSet =
true;
51 m_caseRules.emplace_back(std::forward<CaseRulesT>(value));
61 template <
typename ErrorsT = Aws::Vector<CaseRuleError>>
63 m_errorsHasBeenSet =
true;
64 m_errors = std::forward<ErrorsT>(value);
66 template <
typename ErrorsT = Aws::Vector<CaseRuleError>>
71 template <
typename ErrorsT = CaseRuleError>
73 m_errorsHasBeenSet =
true;
74 m_errors.emplace_back(std::forward<ErrorsT>(value));
84 template <
typename UnprocessedCaseRulesT = Aws::Vector<Aws::String>>
86 m_unprocessedCaseRulesHasBeenSet =
true;
87 m_unprocessedCaseRules = std::forward<UnprocessedCaseRulesT>(value);
89 template <
typename UnprocessedCaseRulesT = Aws::Vector<Aws::String>>
94 template <
typename UnprocessedCaseRulesT = Aws::String>
96 m_unprocessedCaseRulesHasBeenSet =
true;
97 m_unprocessedCaseRules.emplace_back(std::forward<UnprocessedCaseRulesT>(value));
105 template <
typename RequestIdT = Aws::String>
107 m_requestIdHasBeenSet =
true;
108 m_requestId = std::forward<RequestIdT>(value);
110 template <
typename RequestIdT = Aws::String>
127 bool m_caseRulesHasBeenSet =
false;
128 bool m_errorsHasBeenSet =
false;
129 bool m_unprocessedCaseRulesHasBeenSet =
false;
130 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue