AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IndexFieldStatus.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/IndexField.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 IndexFieldStatus();
37 AWS_CLOUDSEARCH_API IndexFieldStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDSEARCH_API IndexFieldStatus& 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 IndexField& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const IndexField& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(IndexField&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline IndexFieldStatus& WithOptions(const IndexField& value) { SetOptions(value); return *this;}
51 inline IndexFieldStatus& WithOptions(IndexField&& 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 IndexFieldStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
61 inline IndexFieldStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
63 private:
64
65 IndexField 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
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API IndexFieldStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOptions(const IndexField &value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IndexFieldStatus & WithStatus(const OptionStatus &value)
const OptionStatus & GetStatus() const
AWS_CLOUDSEARCH_API IndexFieldStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(const OptionStatus &value)
IndexFieldStatus & WithStatus(OptionStatus &&value)
IndexFieldStatus & WithOptions(const IndexField &value)
IndexFieldStatus & WithOptions(IndexField &&value)
std::basic_ostream< char, std::char_traits< char > > OStream