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/LifecyclePolicyDetail.h>
11#include <aws/opensearchserverless/model/LifecyclePolicyErrorDetail.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace OpenSearchServerless
71 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
BatchGetLifecyclePolicyResult & AddLifecyclePolicyDetails(const LifecyclePolicyDetail &value)
BatchGetLifecyclePolicyResult & AddLifecyclePolicyErrorDetails(LifecyclePolicyErrorDetail &&value)
BatchGetLifecyclePolicyResult & WithRequestId(Aws::String &&value)
const Aws::Vector< LifecyclePolicyErrorDetail > & GetLifecyclePolicyErrorDetails() const
BatchGetLifecyclePolicyResult & WithLifecyclePolicyErrorDetails(Aws::Vector< LifecyclePolicyErrorDetail > &&value)
void SetRequestId(Aws::String &&value)
const Aws::Vector< LifecyclePolicyDetail > & GetLifecyclePolicyDetails() const
BatchGetLifecyclePolicyResult & AddLifecyclePolicyErrorDetails(const LifecyclePolicyErrorDetail &value)
const Aws::String & GetRequestId() const
AWS_OPENSEARCHSERVERLESS_API BatchGetLifecyclePolicyResult()
BatchGetLifecyclePolicyResult & WithLifecyclePolicyErrorDetails(const Aws::Vector< LifecyclePolicyErrorDetail > &value)
BatchGetLifecyclePolicyResult & AddLifecyclePolicyDetails(LifecyclePolicyDetail &&value)
void SetRequestId(const char *value)
AWS_OPENSEARCHSERVERLESS_API BatchGetLifecyclePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLifecyclePolicyErrorDetails(const Aws::Vector< LifecyclePolicyErrorDetail > &value)
void SetLifecyclePolicyErrorDetails(Aws::Vector< LifecyclePolicyErrorDetail > &&value)
void SetLifecyclePolicyDetails(const Aws::Vector< LifecyclePolicyDetail > &value)
BatchGetLifecyclePolicyResult & WithRequestId(const Aws::String &value)
void SetLifecyclePolicyDetails(Aws::Vector< LifecyclePolicyDetail > &&value)
void SetRequestId(const Aws::String &value)
BatchGetLifecyclePolicyResult & WithRequestId(const char *value)
AWS_OPENSEARCHSERVERLESS_API BatchGetLifecyclePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetLifecyclePolicyResult & WithLifecyclePolicyDetails(Aws::Vector< LifecyclePolicyDetail > &&value)
BatchGetLifecyclePolicyResult & WithLifecyclePolicyDetails(const Aws::Vector< LifecyclePolicyDetail > &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