7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/InsightField.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
44 template <
typename FieldsT = Aws::Vector<InsightField>>
46 m_fieldsHasBeenSet =
true;
47 m_fields = std::forward<FieldsT>(value);
49 template <
typename FieldsT = Aws::Vector<InsightField>>
54 template <
typename FieldsT = InsightField>
56 m_fieldsHasBeenSet =
true;
57 m_fields.emplace_back(std::forward<FieldsT>(value));
65 template <
typename RequestIdT = Aws::String>
67 m_requestIdHasBeenSet =
true;
68 m_requestId = std::forward<RequestIdT>(value);
70 template <
typename RequestIdT = Aws::String>
83 bool m_fieldsHasBeenSet =
false;
84 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
void SetFields(FieldsT &&value)
AWS_OPENSEARCHSERVICE_API DescribeInsightDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
DescribeInsightDetailsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeInsightDetailsResult & AddFields(FieldsT &&value)
const Aws::Vector< InsightField > & GetFields() const
DescribeInsightDetailsResult & WithFields(FieldsT &&value)
AWS_OPENSEARCHSERVICE_API DescribeInsightDetailsResult()=default
AWS_OPENSEARCHSERVICE_API DescribeInsightDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue