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/redshift/Redshift_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 Redshift
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_REDSHIFT_API RecurringCharge();
35 AWS_REDSHIFT_API RecurringCharge(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_REDSHIFT_API RecurringCharge& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
47 inline double GetRecurringChargeAmount() const{ return m_recurringChargeAmount; }
48 inline bool RecurringChargeAmountHasBeenSet() const { return m_recurringChargeAmountHasBeenSet; }
49 inline void SetRecurringChargeAmount(double value) { m_recurringChargeAmountHasBeenSet = true; m_recurringChargeAmount = value; }
50 inline RecurringCharge& WithRecurringChargeAmount(double value) { SetRecurringChargeAmount(value); return *this;}
52
54
57 inline const Aws::String& GetRecurringChargeFrequency() const{ return m_recurringChargeFrequency; }
58 inline bool RecurringChargeFrequencyHasBeenSet() const { return m_recurringChargeFrequencyHasBeenSet; }
59 inline void SetRecurringChargeFrequency(const Aws::String& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = value; }
60 inline void SetRecurringChargeFrequency(Aws::String&& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = std::move(value); }
61 inline void SetRecurringChargeFrequency(const char* value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency.assign(value); }
63 inline RecurringCharge& WithRecurringChargeFrequency(Aws::String&& value) { SetRecurringChargeFrequency(std::move(value)); return *this;}
64 inline RecurringCharge& WithRecurringChargeFrequency(const char* value) { SetRecurringChargeFrequency(value); return *this;}
66 private:
67
68 double m_recurringChargeAmount;
69 bool m_recurringChargeAmountHasBeenSet = false;
70
71 Aws::String m_recurringChargeFrequency;
72 bool m_recurringChargeFrequencyHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Redshift
77} // namespace Aws
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetRecurringChargeFrequency(Aws::String &&value)
RecurringCharge & WithRecurringChargeFrequency(const Aws::String &value)
AWS_REDSHIFT_API RecurringCharge(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRecurringChargeFrequency() const
RecurringCharge & WithRecurringChargeFrequency(const char *value)
void SetRecurringChargeFrequency(const Aws::String &value)
void SetRecurringChargeFrequency(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RecurringCharge & WithRecurringChargeFrequency(Aws::String &&value)
AWS_REDSHIFT_API RecurringCharge & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RecurringCharge & WithRecurringChargeAmount(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream