AWS SDK for C++

AWS SDK for C++ Version 1.11.770

Loading...
Searching...
No Matches
DeleteIndexFieldResult.h
1
6#pragma once
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>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace CloudSearch {
24namespace Model {
32 public:
33 AWS_CLOUDSEARCH_API DeleteIndexFieldResult() = default;
36
38
41 inline const IndexFieldStatus& GetIndexField() const { return m_indexField; }
42 template <typename IndexFieldT = IndexFieldStatus>
43 void SetIndexField(IndexFieldT&& value) {
44 m_indexFieldHasBeenSet = true;
45 m_indexField = std::forward<IndexFieldT>(value);
46 }
47 template <typename IndexFieldT = IndexFieldStatus>
48 DeleteIndexFieldResult& WithIndexField(IndexFieldT&& value) {
49 SetIndexField(std::forward<IndexFieldT>(value));
50 return *this;
51 }
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template <typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) {
59 m_responseMetadataHasBeenSet = true;
60 m_responseMetadata = std::forward<ResponseMetadataT>(value);
61 }
62 template <typename ResponseMetadataT = ResponseMetadata>
63 DeleteIndexFieldResult& WithResponseMetadata(ResponseMetadataT&& value) {
64 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
65 return *this;
66 }
68 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
69
70 private:
71 IndexFieldStatus m_indexField;
72
73 ResponseMetadata m_responseMetadata;
74 Aws::Http::HttpResponseCode m_HttpResponseCode;
75 bool m_indexFieldHasBeenSet = false;
76 bool m_responseMetadataHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CloudSearch
81} // namespace Aws
AWS_CLOUDSEARCH_API DeleteIndexFieldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteIndexFieldResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_CLOUDSEARCH_API DeleteIndexFieldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteIndexFieldResult & WithIndexField(IndexFieldT &&value)
AWS_CLOUDSEARCH_API DeleteIndexFieldResult()=default
Aws::Utils::Xml::XmlDocument XmlDocument