AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefineIndexFieldResult.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 DefineIndexFieldResult();
40
41
43
44 inline const IndexFieldStatus& GetIndexField() const{ return m_indexField; }
45 inline void SetIndexField(const IndexFieldStatus& value) { m_indexField = value; }
46 inline void SetIndexField(IndexFieldStatus&& value) { m_indexField = std::move(value); }
47 inline DefineIndexFieldResult& WithIndexField(const IndexFieldStatus& value) { SetIndexField(value); return *this;}
48 inline DefineIndexFieldResult& WithIndexField(IndexFieldStatus&& value) { SetIndexField(std::move(value)); return *this;}
50
52
53 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
55 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
57 inline DefineIndexFieldResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
59 private:
60
61 IndexFieldStatus m_indexField;
62
63 ResponseMetadata m_responseMetadata;
64 };
65
66} // namespace Model
67} // namespace CloudSearch
68} // namespace Aws
DefineIndexFieldResult & WithIndexField(const IndexFieldStatus &value)
DefineIndexFieldResult & WithIndexField(IndexFieldStatus &&value)
void SetIndexField(const IndexFieldStatus &value)
DefineIndexFieldResult & WithResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_CLOUDSEARCH_API DefineIndexFieldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDSEARCH_API DefineIndexFieldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DefineIndexFieldResult & WithResponseMetadata(const ResponseMetadata &value)
Aws::Utils::Xml::XmlDocument XmlDocument