7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/CollectionDetail.h>
11#include <aws/opensearchserverless/model/CollectionErrorDetail.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace OpenSearchServerless
69 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
BatchGetCollectionResult & AddCollectionErrorDetails(CollectionErrorDetail &&value)
BatchGetCollectionResult & WithRequestId(Aws::String &&value)
void SetCollectionDetails(const Aws::Vector< CollectionDetail > &value)
BatchGetCollectionResult & WithCollectionErrorDetails(const Aws::Vector< CollectionErrorDetail > &value)
void SetRequestId(const char *value)
AWS_OPENSEARCHSERVERLESS_API BatchGetCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetCollectionResult & WithRequestId(const Aws::String &value)
BatchGetCollectionResult & WithCollectionDetails(const Aws::Vector< CollectionDetail > &value)
void SetCollectionErrorDetails(const Aws::Vector< CollectionErrorDetail > &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
AWS_OPENSEARCHSERVERLESS_API BatchGetCollectionResult()
BatchGetCollectionResult & AddCollectionDetails(CollectionDetail &&value)
BatchGetCollectionResult & WithCollectionErrorDetails(Aws::Vector< CollectionErrorDetail > &&value)
void SetRequestId(Aws::String &&value)
void SetCollectionErrorDetails(Aws::Vector< CollectionErrorDetail > &&value)
BatchGetCollectionResult & WithCollectionDetails(Aws::Vector< CollectionDetail > &&value)
AWS_OPENSEARCHSERVERLESS_API BatchGetCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetCollectionResult & WithRequestId(const char *value)
const Aws::Vector< CollectionErrorDetail > & GetCollectionErrorDetails() const
BatchGetCollectionResult & AddCollectionDetails(const CollectionDetail &value)
BatchGetCollectionResult & AddCollectionErrorDetails(const CollectionErrorDetail &value)
void SetCollectionDetails(Aws::Vector< CollectionDetail > &&value)
const Aws::Vector< CollectionDetail > & GetCollectionDetails() 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