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