AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefineSuggesterResult.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/model/SuggesterStatus.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 DefineSuggesterResult();
40
41
43
44 inline const SuggesterStatus& GetSuggester() const{ return m_suggester; }
45 inline void SetSuggester(const SuggesterStatus& value) { m_suggester = value; }
46 inline void SetSuggester(SuggesterStatus&& value) { m_suggester = std::move(value); }
47 inline DefineSuggesterResult& WithSuggester(const SuggesterStatus& value) { SetSuggester(value); return *this;}
48 inline DefineSuggesterResult& WithSuggester(SuggesterStatus&& value) { SetSuggester(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 DefineSuggesterResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
59 private:
60
61 SuggesterStatus m_suggester;
62
63 ResponseMetadata m_responseMetadata;
64 };
65
66} // namespace Model
67} // namespace CloudSearch
68} // namespace Aws
AWS_CLOUDSEARCH_API DefineSuggesterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSuggester(const SuggesterStatus &value)
DefineSuggesterResult & WithResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
DefineSuggesterResult & WithSuggester(SuggesterStatus &&value)
const ResponseMetadata & GetResponseMetadata() const
DefineSuggesterResult & WithSuggester(const SuggesterStatus &value)
AWS_CLOUDSEARCH_API DefineSuggesterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DefineSuggesterResult & WithResponseMetadata(const ResponseMetadata &value)
Aws::Utils::Xml::XmlDocument XmlDocument