AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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