AWS SDK for C++  1.9.108
AWS SDK for C++
RecurringCharge.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline double GetRecurringChargeAmount() const{ return m_recurringChargeAmount; }
49 
53  inline bool RecurringChargeAmountHasBeenSet() const { return m_recurringChargeAmountHasBeenSet; }
54 
58  inline void SetRecurringChargeAmount(double value) { m_recurringChargeAmountHasBeenSet = true; m_recurringChargeAmount = value; }
59 
63  inline RecurringCharge& WithRecurringChargeAmount(double value) { SetRecurringChargeAmount(value); return *this;}
64 
65 
69  inline const Aws::String& GetRecurringChargeFrequency() const{ return m_recurringChargeFrequency; }
70 
74  inline bool RecurringChargeFrequencyHasBeenSet() const { return m_recurringChargeFrequencyHasBeenSet; }
75 
79  inline void SetRecurringChargeFrequency(const Aws::String& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = value; }
80 
84  inline void SetRecurringChargeFrequency(Aws::String&& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = std::move(value); }
85 
89  inline void SetRecurringChargeFrequency(const char* value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency.assign(value); }
90 
94  inline RecurringCharge& WithRecurringChargeFrequency(const Aws::String& value) { SetRecurringChargeFrequency(value); return *this;}
95 
99  inline RecurringCharge& WithRecurringChargeFrequency(Aws::String&& value) { SetRecurringChargeFrequency(std::move(value)); return *this;}
100 
104  inline RecurringCharge& WithRecurringChargeFrequency(const char* value) { SetRecurringChargeFrequency(value); return *this;}
105 
106  private:
107 
108  double m_recurringChargeAmount;
109  bool m_recurringChargeAmountHasBeenSet;
110 
111  Aws::String m_recurringChargeFrequency;
112  bool m_recurringChargeFrequencyHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace RDS
117 } // namespace Aws
Aws::RDS::Model::RecurringCharge::WithRecurringChargeFrequency
RecurringCharge & WithRecurringChargeFrequency(const char *value)
Definition: RecurringCharge.h:104
Aws::RDS::Model::RecurringCharge::SetRecurringChargeFrequency
void SetRecurringChargeFrequency(const char *value)
Definition: RecurringCharge.h:89
Aws::RDS::Model::RecurringCharge
Definition: RecurringCharge.h:35
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::RecurringCharge::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::RecurringCharge::SetRecurringChargeFrequency
void SetRecurringChargeFrequency(Aws::String &&value)
Definition: RecurringCharge.h:84
Aws::RDS::Model::RecurringCharge::GetRecurringChargeFrequency
const Aws::String & GetRecurringChargeFrequency() const
Definition: RecurringCharge.h:69
AWSStreamFwd.h
Aws::RDS::Model::RecurringCharge::GetRecurringChargeAmount
double GetRecurringChargeAmount() const
Definition: RecurringCharge.h:48
Aws::RDS::Model::RecurringCharge::RecurringChargeAmountHasBeenSet
bool RecurringChargeAmountHasBeenSet() const
Definition: RecurringCharge.h:53
Aws::RDS::Model::RecurringCharge::WithRecurringChargeFrequency
RecurringCharge & WithRecurringChargeFrequency(Aws::String &&value)
Definition: RecurringCharge.h:99
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::RecurringCharge::SetRecurringChargeAmount
void SetRecurringChargeAmount(double value)
Definition: RecurringCharge.h:58
Aws::RDS::Model::RecurringCharge::operator=
RecurringCharge & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::RecurringCharge::RecurringChargeFrequencyHasBeenSet
bool RecurringChargeFrequencyHasBeenSet() const
Definition: RecurringCharge.h:74
Aws::RDS::Model::RecurringCharge::SetRecurringChargeFrequency
void SetRecurringChargeFrequency(const Aws::String &value)
Definition: RecurringCharge.h:79
Aws::RDS::Model::RecurringCharge::WithRecurringChargeFrequency
RecurringCharge & WithRecurringChargeFrequency(const Aws::String &value)
Definition: RecurringCharge.h:94
Aws::RDS::Model::RecurringCharge::RecurringCharge
RecurringCharge()
AWSString.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::RecurringCharge::RecurringCharge
RecurringCharge(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::RecurringCharge::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::RecurringCharge::WithRecurringChargeAmount
RecurringCharge & WithRecurringChargeAmount(double value)
Definition: RecurringCharge.h:63