7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcases/model/FieldError.h>
11#include <aws/connectcases/model/GetFieldResponse.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
69 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
BatchGetFieldResult & AddFields(const GetFieldResponse &value)
BatchGetFieldResult & WithFields(const Aws::Vector< GetFieldResponse > &value)
BatchGetFieldResult & WithErrors(Aws::Vector< FieldError > &&value)
void SetRequestId(Aws::String &&value)
BatchGetFieldResult & AddErrors(FieldError &&value)
void SetFields(const Aws::Vector< GetFieldResponse > &value)
void SetErrors(Aws::Vector< FieldError > &&value)
BatchGetFieldResult & AddFields(GetFieldResponse &&value)
void SetRequestId(const char *value)
const Aws::Vector< FieldError > & GetErrors() const
BatchGetFieldResult & WithRequestId(const Aws::String &value)
AWS_CONNECTCASES_API BatchGetFieldResult()
void SetRequestId(const Aws::String &value)
BatchGetFieldResult & WithErrors(const Aws::Vector< FieldError > &value)
AWS_CONNECTCASES_API BatchGetFieldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFields(Aws::Vector< GetFieldResponse > &&value)
BatchGetFieldResult & WithFields(Aws::Vector< GetFieldResponse > &&value)
const Aws::String & GetRequestId() const
BatchGetFieldResult & WithRequestId(Aws::String &&value)
AWS_CONNECTCASES_API BatchGetFieldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetFieldResult & AddErrors(const FieldError &value)
void SetErrors(const Aws::Vector< FieldError > &value)
const Aws::Vector< GetFieldResponse > & GetFields() const
BatchGetFieldResult & WithRequestId(const char *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