AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DoubleRange.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace RDS
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_RDS_API DoubleRange();
33 AWS_RDS_API DoubleRange(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_RDS_API DoubleRange& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
39
41
44 inline double GetFrom() const{ return m_from; }
45 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
46 inline void SetFrom(double value) { m_fromHasBeenSet = true; m_from = value; }
47 inline DoubleRange& WithFrom(double value) { SetFrom(value); return *this;}
49
51
54 inline double GetTo() const{ return m_to; }
55 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
56 inline void SetTo(double value) { m_toHasBeenSet = true; m_to = value; }
57 inline DoubleRange& WithTo(double value) { SetTo(value); return *this;}
59 private:
60
61 double m_from;
62 bool m_fromHasBeenSet = false;
63
64 double m_to;
65 bool m_toHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace RDS
70} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTo(double value)
Definition DoubleRange.h:56
DoubleRange & WithTo(double value)
Definition DoubleRange.h:57
void SetFrom(double value)
Definition DoubleRange.h:46
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DoubleRange & WithFrom(double value)
Definition DoubleRange.h:47
AWS_RDS_API DoubleRange(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API DoubleRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream