AWS SDK for C++  1.9.109
AWS SDK for C++
DoubleRange.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace RDS
20 {
21 namespace Model
22 {
23 
30  {
31  public:
35 
36  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37  void OutputToStream(Aws::OStream& oStream, const char* location) const;
38 
39 
43  inline double GetFrom() const{ return m_from; }
44 
48  inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
49 
53  inline void SetFrom(double value) { m_fromHasBeenSet = true; m_from = value; }
54 
58  inline DoubleRange& WithFrom(double value) { SetFrom(value); return *this;}
59 
60 
64  inline double GetTo() const{ return m_to; }
65 
69  inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
70 
74  inline void SetTo(double value) { m_toHasBeenSet = true; m_to = value; }
75 
79  inline DoubleRange& WithTo(double value) { SetTo(value); return *this;}
80 
81  private:
82 
83  double m_from;
84  bool m_fromHasBeenSet;
85 
86  double m_to;
87  bool m_toHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace RDS
92 } // namespace Aws
Aws::RDS::Model::DoubleRange::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DoubleRange::GetTo
double GetTo() const
Definition: DoubleRange.h:64
AWSStreamFwd.h
Aws::RDS::Model::DoubleRange::SetFrom
void SetFrom(double value)
Definition: DoubleRange.h:53
Aws::RDS::Model::DoubleRange::WithFrom
DoubleRange & WithFrom(double value)
Definition: DoubleRange.h:58
Aws::RDS::Model::DoubleRange::ToHasBeenSet
bool ToHasBeenSet() const
Definition: DoubleRange.h:69
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DoubleRange::operator=
DoubleRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DoubleRange::DoubleRange
DoubleRange()
Aws::RDS::Model::DoubleRange::SetTo
void SetTo(double value)
Definition: DoubleRange.h:74
Aws::RDS::Model::DoubleRange::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DoubleRange
Definition: DoubleRange.h:30
Aws::RDS::Model::DoubleRange::FromHasBeenSet
bool FromHasBeenSet() const
Definition: DoubleRange.h:48
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DoubleRange::DoubleRange
DoubleRange(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DoubleRange::WithTo
DoubleRange & WithTo(double value)
Definition: DoubleRange.h:79
Aws::RDS::Model::DoubleRange::GetFrom
double GetFrom() const
Definition: DoubleRange.h:43