7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/model/IndexFieldStatus.h>
9#include <aws/cloudsearch/model/ResponseMetadata.h>
10#include <aws/core/http/HttpResponse.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudSearch {
40 template <
typename IndexFieldT = IndexFieldStatus>
42 m_indexFieldHasBeenSet =
true;
43 m_indexField = std::forward<IndexFieldT>(value);
45 template <
typename IndexFieldT = IndexFieldStatus>
55 template <
typename ResponseMetadataT = ResponseMetadata>
57 m_responseMetadataHasBeenSet =
true;
58 m_responseMetadata = std::forward<ResponseMetadataT>(value);
60 template <
typename ResponseMetadataT = ResponseMetadata>
73 bool m_indexFieldHasBeenSet =
false;
74 bool m_responseMetadataHasBeenSet =
false;
void SetIndexField(IndexFieldT &&value)
DefineIndexFieldResult & WithIndexField(IndexFieldT &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_CLOUDSEARCH_API DefineIndexFieldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_CLOUDSEARCH_API DefineIndexFieldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DefineIndexFieldResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_CLOUDSEARCH_API DefineIndexFieldResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const IndexFieldStatus & GetIndexField() const
Aws::Utils::Xml::XmlDocument XmlDocument