AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecurringCharge.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_RDS_API RecurringCharge();
38 AWS_RDS_API RecurringCharge(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline double GetRecurringChargeAmount() const{ return m_recurringChargeAmount; }
50 inline bool RecurringChargeAmountHasBeenSet() const { return m_recurringChargeAmountHasBeenSet; }
51 inline void SetRecurringChargeAmount(double value) { m_recurringChargeAmountHasBeenSet = true; m_recurringChargeAmount = value; }
52 inline RecurringCharge& WithRecurringChargeAmount(double value) { SetRecurringChargeAmount(value); return *this;}
54
56
59 inline const Aws::String& GetRecurringChargeFrequency() const{ return m_recurringChargeFrequency; }
60 inline bool RecurringChargeFrequencyHasBeenSet() const { return m_recurringChargeFrequencyHasBeenSet; }
61 inline void SetRecurringChargeFrequency(const Aws::String& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = value; }
62 inline void SetRecurringChargeFrequency(Aws::String&& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = std::move(value); }
63 inline void SetRecurringChargeFrequency(const char* value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency.assign(value); }
65 inline RecurringCharge& WithRecurringChargeFrequency(Aws::String&& value) { SetRecurringChargeFrequency(std::move(value)); return *this;}
66 inline RecurringCharge& WithRecurringChargeFrequency(const char* value) { SetRecurringChargeFrequency(value); return *this;}
68 private:
69
70 double m_recurringChargeAmount;
71 bool m_recurringChargeAmountHasBeenSet = false;
72
73 Aws::String m_recurringChargeFrequency;
74 bool m_recurringChargeFrequencyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace RDS
79} // namespace Aws
void SetRecurringChargeFrequency(const Aws::String &value)
RecurringCharge & WithRecurringChargeFrequency(const char *value)
void SetRecurringChargeAmount(double value)
AWS_RDS_API RecurringCharge & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRecurringChargeFrequency(const char *value)
RecurringCharge & WithRecurringChargeAmount(double value)
AWS_RDS_API RecurringCharge(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RecurringCharge & WithRecurringChargeFrequency(const Aws::String &value)
const Aws::String & GetRecurringChargeFrequency() const
RecurringCharge & WithRecurringChargeFrequency(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRecurringChargeFrequency(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream