AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExpressionStatus.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/Expression.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 ExpressionStatus();
37 AWS_CLOUDSEARCH_API ExpressionStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDSEARCH_API ExpressionStatus& 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
49 inline const Expression& GetOptions() const{ return m_options; }
50 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
51 inline void SetOptions(const Expression& value) { m_optionsHasBeenSet = true; m_options = value; }
52 inline void SetOptions(Expression&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
53 inline ExpressionStatus& WithOptions(const Expression& value) { SetOptions(value); return *this;}
54 inline ExpressionStatus& WithOptions(Expression&& value) { SetOptions(std::move(value)); return *this;}
56
58
59 inline const OptionStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline ExpressionStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
64 inline ExpressionStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
66 private:
67
68 Expression m_options;
69 bool m_optionsHasBeenSet = false;
70
71 OptionStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CloudSearch
77} // namespace Aws
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ExpressionStatus & WithStatus(OptionStatus &&value)
ExpressionStatus & WithOptions(const Expression &value)
void SetStatus(const OptionStatus &value)
ExpressionStatus & WithStatus(const OptionStatus &value)
void SetOptions(const Expression &value)
ExpressionStatus & WithOptions(Expression &&value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API ExpressionStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API ExpressionStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
const OptionStatus & GetStatus() const
std::basic_ostream< char, std::char_traits< char > > OStream