AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BuildSuggestersResult.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/core/utils/memory/stl/AWSString.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 BuildSuggestersResult();
41
42
44
45 inline const Aws::Vector<Aws::String>& GetFieldNames() const{ return m_fieldNames; }
46 inline void SetFieldNames(const Aws::Vector<Aws::String>& value) { m_fieldNames = value; }
47 inline void SetFieldNames(Aws::Vector<Aws::String>&& value) { m_fieldNames = std::move(value); }
48 inline BuildSuggestersResult& WithFieldNames(const Aws::Vector<Aws::String>& value) { SetFieldNames(value); return *this;}
49 inline BuildSuggestersResult& WithFieldNames(Aws::Vector<Aws::String>&& value) { SetFieldNames(std::move(value)); return *this;}
50 inline BuildSuggestersResult& AddFieldNames(const Aws::String& value) { m_fieldNames.push_back(value); return *this; }
51 inline BuildSuggestersResult& AddFieldNames(Aws::String&& value) { m_fieldNames.push_back(std::move(value)); return *this; }
52 inline BuildSuggestersResult& AddFieldNames(const char* value) { m_fieldNames.push_back(value); return *this; }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
61 inline BuildSuggestersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
63 private:
64
65 Aws::Vector<Aws::String> m_fieldNames;
66
67 ResponseMetadata m_responseMetadata;
68 };
69
70} // namespace Model
71} // namespace CloudSearch
72} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
void SetFieldNames(const Aws::Vector< Aws::String > &value)
void SetFieldNames(Aws::Vector< Aws::String > &&value)
BuildSuggestersResult & WithResponseMetadata(const ResponseMetadata &value)
BuildSuggestersResult & WithFieldNames(Aws::Vector< Aws::String > &&value)
BuildSuggestersResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Aws::String > & GetFieldNames() const
BuildSuggestersResult & AddFieldNames(const Aws::String &value)
BuildSuggestersResult & AddFieldNames(Aws::String &&value)
AWS_CLOUDSEARCH_API BuildSuggestersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDSEARCH_API BuildSuggestersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
BuildSuggestersResult & AddFieldNames(const char *value)
BuildSuggestersResult & WithFieldNames(const Aws::Vector< Aws::String > &value)
void SetResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument