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/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchService
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API RecurringCharge();
37 AWS_OPENSEARCHSERVICE_API RecurringCharge(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API RecurringCharge& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline double GetRecurringChargeAmount() const{ return m_recurringChargeAmount; }
47 inline bool RecurringChargeAmountHasBeenSet() const { return m_recurringChargeAmountHasBeenSet; }
48 inline void SetRecurringChargeAmount(double value) { m_recurringChargeAmountHasBeenSet = true; m_recurringChargeAmount = value; }
49 inline RecurringCharge& WithRecurringChargeAmount(double value) { SetRecurringChargeAmount(value); return *this;}
51
53
56 inline const Aws::String& GetRecurringChargeFrequency() const{ return m_recurringChargeFrequency; }
57 inline bool RecurringChargeFrequencyHasBeenSet() const { return m_recurringChargeFrequencyHasBeenSet; }
58 inline void SetRecurringChargeFrequency(const Aws::String& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = value; }
59 inline void SetRecurringChargeFrequency(Aws::String&& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = std::move(value); }
60 inline void SetRecurringChargeFrequency(const char* value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency.assign(value); }
62 inline RecurringCharge& WithRecurringChargeFrequency(Aws::String&& value) { SetRecurringChargeFrequency(std::move(value)); return *this;}
63 inline RecurringCharge& WithRecurringChargeFrequency(const char* value) { SetRecurringChargeFrequency(value); return *this;}
65 private:
66
67 double m_recurringChargeAmount;
68 bool m_recurringChargeAmountHasBeenSet = false;
69
70 Aws::String m_recurringChargeFrequency;
71 bool m_recurringChargeFrequencyHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace OpenSearchService
76} // namespace Aws
void SetRecurringChargeFrequency(Aws::String &&value)
RecurringCharge & WithRecurringChargeAmount(double value)
AWS_OPENSEARCHSERVICE_API RecurringCharge & operator=(Aws::Utils::Json::JsonView jsonValue)
RecurringCharge & WithRecurringChargeFrequency(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API RecurringCharge()
void SetRecurringChargeFrequency(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API RecurringCharge(Aws::Utils::Json::JsonView jsonValue)
RecurringCharge & WithRecurringChargeFrequency(const char *value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RecurringCharge & WithRecurringChargeFrequency(Aws::String &&value)
const Aws::String & GetRecurringChargeFrequency() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue