AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AvailabilityOptionsStatus.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/OptionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudSearch
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDSEARCH_API AvailabilityOptionsStatus();
36 AWS_CLOUDSEARCH_API AvailabilityOptionsStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDSEARCH_API AvailabilityOptionsStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline bool GetOptions() const{ return m_options; }
48 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
49 inline void SetOptions(bool value) { m_optionsHasBeenSet = true; m_options = value; }
50 inline AvailabilityOptionsStatus& WithOptions(bool value) { SetOptions(value); return *this;}
52
54
55 inline const OptionStatus& GetStatus() const{ return m_status; }
56 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
57 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
58 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
59 inline AvailabilityOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
60 inline AvailabilityOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
62 private:
63
64 bool m_options;
65 bool m_optionsHasBeenSet = false;
66
67 OptionStatus m_status;
68 bool m_statusHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace CloudSearch
73} // namespace Aws
AWS_CLOUDSEARCH_API AvailabilityOptionsStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AvailabilityOptionsStatus & WithStatus(const OptionStatus &value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API AvailabilityOptionsStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AvailabilityOptionsStatus & WithOptions(bool value)
AvailabilityOptionsStatus & WithStatus(OptionStatus &&value)
std::basic_ostream< char, std::char_traits< char > > OStream