AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessPoliciesStatus.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AccessPoliciesStatus();
37 AWS_CLOUDSEARCH_API AccessPoliciesStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDSEARCH_API AccessPoliciesStatus& 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 Aws::String& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const Aws::String& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(Aws::String&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline void SetOptions(const char* value) { m_optionsHasBeenSet = true; m_options.assign(value); }
51 inline AccessPoliciesStatus& WithOptions(const Aws::String& value) { SetOptions(value); return *this;}
52 inline AccessPoliciesStatus& WithOptions(Aws::String&& value) { SetOptions(std::move(value)); return *this;}
53 inline AccessPoliciesStatus& WithOptions(const char* value) { SetOptions(value); return *this;}
55
57
58 inline const OptionStatus& GetStatus() const{ return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
61 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
62 inline AccessPoliciesStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
63 inline AccessPoliciesStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_options;
68 bool m_optionsHasBeenSet = false;
69
70 OptionStatus m_status;
71 bool m_statusHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudSearch
76} // namespace Aws
AccessPoliciesStatus & WithStatus(OptionStatus &&value)
AccessPoliciesStatus & WithStatus(const OptionStatus &value)
AccessPoliciesStatus & WithOptions(const char *value)
AccessPoliciesStatus & WithOptions(Aws::String &&value)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccessPoliciesStatus & WithOptions(const Aws::String &value)
AWS_CLOUDSEARCH_API AccessPoliciesStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDSEARCH_API AccessPoliciesStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream