AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuggesterStatus.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/cloudsearch/model/Suggester.h>
10#include <aws/cloudsearch/model/OptionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudSearch
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDSEARCH_API SuggesterStatus();
37 AWS_CLOUDSEARCH_API SuggesterStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDSEARCH_API SuggesterStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
46 inline const Suggester& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const Suggester& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(Suggester&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline SuggesterStatus& WithOptions(const Suggester& value) { SetOptions(value); return *this;}
51 inline SuggesterStatus& WithOptions(Suggester&& value) { SetOptions(std::move(value)); return *this;}
53
55
56 inline const OptionStatus& GetStatus() const{ return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
59 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
60 inline SuggesterStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
61 inline SuggesterStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
63 private:
64
65 Suggester m_options;
66 bool m_optionsHasBeenSet = false;
67
68 OptionStatus m_status;
69 bool m_statusHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudSearch
74} // namespace Aws
const OptionStatus & GetStatus() const
SuggesterStatus & WithStatus(OptionStatus &&value)
AWS_CLOUDSEARCH_API SuggesterStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
SuggesterStatus & WithOptions(const Suggester &value)
void SetStatus(const OptionStatus &value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SuggesterStatus & WithStatus(const OptionStatus &value)
void SetOptions(const Suggester &value)
AWS_CLOUDSEARCH_API SuggesterStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SuggesterStatus & WithOptions(Suggester &&value)
std::basic_ostream< char, std::char_traits< char > > OStream