AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSuggestersResult.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/SuggesterStatus.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{
36 {
37 public:
38 AWS_CLOUDSEARCH_API DescribeSuggestersResult();
41
42
44
47 inline const Aws::Vector<SuggesterStatus>& GetSuggesters() const{ return m_suggesters; }
48 inline void SetSuggesters(const Aws::Vector<SuggesterStatus>& value) { m_suggesters = value; }
49 inline void SetSuggesters(Aws::Vector<SuggesterStatus>&& value) { m_suggesters = std::move(value); }
51 inline DescribeSuggestersResult& WithSuggesters(Aws::Vector<SuggesterStatus>&& value) { SetSuggesters(std::move(value)); return *this;}
52 inline DescribeSuggestersResult& AddSuggesters(const SuggesterStatus& value) { m_suggesters.push_back(value); return *this; }
53 inline DescribeSuggestersResult& AddSuggesters(SuggesterStatus&& value) { m_suggesters.push_back(std::move(value)); return *this; }
55
57
58 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
59 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
60 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
62 inline DescribeSuggestersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
64 private:
65
67
68 ResponseMetadata m_responseMetadata;
69 };
70
71} // namespace Model
72} // namespace CloudSearch
73} // namespace Aws
DescribeSuggestersResult & WithSuggesters(const Aws::Vector< SuggesterStatus > &value)
DescribeSuggestersResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeSuggestersResult & WithSuggesters(Aws::Vector< SuggesterStatus > &&value)
AWS_CLOUDSEARCH_API DescribeSuggestersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< SuggesterStatus > & GetSuggesters() const
void SetSuggesters(Aws::Vector< SuggesterStatus > &&value)
DescribeSuggestersResult & AddSuggesters(SuggesterStatus &&value)
DescribeSuggestersResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_CLOUDSEARCH_API DescribeSuggestersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeSuggestersResult & AddSuggesters(const SuggesterStatus &value)
void SetSuggesters(const Aws::Vector< SuggesterStatus > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument