AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeIndexFieldsResult.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudsearch/model/ResponseMetadata.h>
10#include <aws/cloudsearch/model/IndexFieldStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace CloudSearch
26{
27namespace Model
28{
37 {
38 public:
39 AWS_CLOUDSEARCH_API DescribeIndexFieldsResult();
42
43
45
48 inline const Aws::Vector<IndexFieldStatus>& GetIndexFields() const{ return m_indexFields; }
49 inline void SetIndexFields(const Aws::Vector<IndexFieldStatus>& value) { m_indexFields = value; }
50 inline void SetIndexFields(Aws::Vector<IndexFieldStatus>&& value) { m_indexFields = std::move(value); }
53 inline DescribeIndexFieldsResult& AddIndexFields(const IndexFieldStatus& value) { m_indexFields.push_back(value); return *this; }
54 inline DescribeIndexFieldsResult& AddIndexFields(IndexFieldStatus&& value) { m_indexFields.push_back(std::move(value)); return *this; }
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
63 inline DescribeIndexFieldsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 private:
66
68
69 ResponseMetadata m_responseMetadata;
70 };
71
72} // namespace Model
73} // namespace CloudSearch
74} // namespace Aws
DescribeIndexFieldsResult & AddIndexFields(IndexFieldStatus &&value)
DescribeIndexFieldsResult & WithIndexFields(Aws::Vector< IndexFieldStatus > &&value)
void SetIndexFields(Aws::Vector< IndexFieldStatus > &&value)
AWS_CLOUDSEARCH_API DescribeIndexFieldsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetIndexFields(const Aws::Vector< IndexFieldStatus > &value)
DescribeIndexFieldsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeIndexFieldsResult & WithIndexFields(const Aws::Vector< IndexFieldStatus > &value)
const Aws::Vector< IndexFieldStatus > & GetIndexFields() const
DescribeIndexFieldsResult & AddIndexFields(const IndexFieldStatus &value)
DescribeIndexFieldsResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_CLOUDSEARCH_API DescribeIndexFieldsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument