AWS SDK for C++  1.9.108
AWS SDK for C++
RecurringCharge.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ElasticsearchService
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline double GetRecurringChargeAmount() const{ return m_recurringChargeAmount; }
46 
50  inline bool RecurringChargeAmountHasBeenSet() const { return m_recurringChargeAmountHasBeenSet; }
51 
55  inline void SetRecurringChargeAmount(double value) { m_recurringChargeAmountHasBeenSet = true; m_recurringChargeAmount = value; }
56 
60  inline RecurringCharge& WithRecurringChargeAmount(double value) { SetRecurringChargeAmount(value); return *this;}
61 
62 
66  inline const Aws::String& GetRecurringChargeFrequency() const{ return m_recurringChargeFrequency; }
67 
71  inline bool RecurringChargeFrequencyHasBeenSet() const { return m_recurringChargeFrequencyHasBeenSet; }
72 
76  inline void SetRecurringChargeFrequency(const Aws::String& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = value; }
77 
81  inline void SetRecurringChargeFrequency(Aws::String&& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = std::move(value); }
82 
86  inline void SetRecurringChargeFrequency(const char* value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency.assign(value); }
87 
91  inline RecurringCharge& WithRecurringChargeFrequency(const Aws::String& value) { SetRecurringChargeFrequency(value); return *this;}
92 
96  inline RecurringCharge& WithRecurringChargeFrequency(Aws::String&& value) { SetRecurringChargeFrequency(std::move(value)); return *this;}
97 
101  inline RecurringCharge& WithRecurringChargeFrequency(const char* value) { SetRecurringChargeFrequency(value); return *this;}
102 
103  private:
104 
105  double m_recurringChargeAmount;
106  bool m_recurringChargeAmountHasBeenSet;
107 
108  Aws::String m_recurringChargeFrequency;
109  bool m_recurringChargeFrequencyHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace ElasticsearchService
114 } // namespace Aws
Aws::ElasticsearchService::Model::RecurringCharge::RecurringCharge
RecurringCharge()
Aws::ElasticsearchService::Model::RecurringCharge::SetRecurringChargeAmount
void SetRecurringChargeAmount(double value)
Definition: RecurringCharge.h:55
Aws::ElasticsearchService::Model::RecurringCharge::SetRecurringChargeFrequency
void SetRecurringChargeFrequency(Aws::String &&value)
Definition: RecurringCharge.h:81
Aws::ElasticsearchService::Model::RecurringCharge::WithRecurringChargeAmount
RecurringCharge & WithRecurringChargeAmount(double value)
Definition: RecurringCharge.h:60
Aws::ElasticsearchService::Model::RecurringCharge::GetRecurringChargeAmount
double GetRecurringChargeAmount() const
Definition: RecurringCharge.h:45
Aws::ElasticsearchService::Model::RecurringCharge::SetRecurringChargeFrequency
void SetRecurringChargeFrequency(const char *value)
Definition: RecurringCharge.h:86
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::RecurringCharge::WithRecurringChargeFrequency
RecurringCharge & WithRecurringChargeFrequency(Aws::String &&value)
Definition: RecurringCharge.h:96
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::RecurringCharge::operator=
RecurringCharge & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ElasticsearchService::Model::RecurringCharge::SetRecurringChargeFrequency
void SetRecurringChargeFrequency(const Aws::String &value)
Definition: RecurringCharge.h:76
Aws::ElasticsearchService::Model::RecurringCharge::WithRecurringChargeFrequency
RecurringCharge & WithRecurringChargeFrequency(const Aws::String &value)
Definition: RecurringCharge.h:91
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::RecurringCharge::RecurringChargeFrequencyHasBeenSet
bool RecurringChargeFrequencyHasBeenSet() const
Definition: RecurringCharge.h:71
Aws::ElasticsearchService::Model::RecurringCharge::GetRecurringChargeFrequency
const Aws::String & GetRecurringChargeFrequency() const
Definition: RecurringCharge.h:66
Aws::ElasticsearchService::Model::RecurringCharge::WithRecurringChargeFrequency
RecurringCharge & WithRecurringChargeFrequency(const char *value)
Definition: RecurringCharge.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::RecurringCharge::RecurringChargeAmountHasBeenSet
bool RecurringChargeAmountHasBeenSet() const
Definition: RecurringCharge.h:50
Aws::ElasticsearchService::Model::RecurringCharge::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::RecurringCharge
Definition: RecurringCharge.h:34
Aws::ElasticsearchService::Model::RecurringCharge::RecurringCharge
RecurringCharge(Aws::Utils::Json::JsonView jsonValue)