AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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