AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
AvailabilityOptionsStatus.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/model/OptionStatus.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudSearch {
20namespace Model {
21
29 public:
30 AWS_CLOUDSEARCH_API AvailabilityOptionsStatus() = default;
31 AWS_CLOUDSEARCH_API AvailabilityOptionsStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_CLOUDSEARCH_API AvailabilityOptionsStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline bool GetOptions() const { return m_options; }
42 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
43 inline void SetOptions(bool value) {
44 m_optionsHasBeenSet = true;
45 m_options = value;
46 }
48 SetOptions(value);
49 return *this;
50 }
52
54
55 inline const OptionStatus& GetStatus() const { return m_status; }
56 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
57 template <typename StatusT = OptionStatus>
58 void SetStatus(StatusT&& value) {
59 m_statusHasBeenSet = true;
60 m_status = std::forward<StatusT>(value);
61 }
62 template <typename StatusT = OptionStatus>
64 SetStatus(std::forward<StatusT>(value));
65 return *this;
66 }
68 private:
69 bool m_options{false};
70
71 OptionStatus m_status;
72 bool m_optionsHasBeenSet = false;
73 bool m_statusHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace CloudSearch
78} // namespace Aws
AWS_CLOUDSEARCH_API AvailabilityOptionsStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API AvailabilityOptionsStatus()=default
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API AvailabilityOptionsStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AvailabilityOptionsStatus & WithStatus(StatusT &&value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AvailabilityOptionsStatus & WithOptions(bool value)
std::basic_ostream< char, std::char_traits< char > > OStream