AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace CloudSearch
25{
26namespace Model
27{
35 {
36 public:
37 AWS_CLOUDSEARCH_API DeleteIndexFieldResult() = default;
40
41
43
46 inline const IndexFieldStatus& GetIndexField() const { return m_indexField; }
47 template<typename IndexFieldT = IndexFieldStatus>
48 void SetIndexField(IndexFieldT&& value) { m_indexFieldHasBeenSet = true; m_indexField = std::forward<IndexFieldT>(value); }
49 template<typename IndexFieldT = IndexFieldStatus>
50 DeleteIndexFieldResult& WithIndexField(IndexFieldT&& value) { SetIndexField(std::forward<IndexFieldT>(value)); return *this;}
52
54
55 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
56 template<typename ResponseMetadataT = ResponseMetadata>
57 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
58 template<typename ResponseMetadataT = ResponseMetadata>
59 DeleteIndexFieldResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
61 private:
62
63 IndexFieldStatus m_indexField;
64 bool m_indexFieldHasBeenSet = false;
65
66 ResponseMetadata m_responseMetadata;
67 bool m_responseMetadataHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace CloudSearch
72} // 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)
DeleteIndexFieldResult & WithIndexField(IndexFieldT &&value)
AWS_CLOUDSEARCH_API DeleteIndexFieldResult()=default
Aws::Utils::Xml::XmlDocument XmlDocument