/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a recurring charge.See Also:
AWS
* API Reference
The amount charged per the period of time specified by the recurring charge * frequency.
*/ inline double GetRecurringChargeAmount() const{ return m_recurringChargeAmount; } /** *The amount charged per the period of time specified by the recurring charge * frequency.
*/ inline bool RecurringChargeAmountHasBeenSet() const { return m_recurringChargeAmountHasBeenSet; } /** *The amount charged per the period of time specified by the recurring charge * frequency.
*/ inline void SetRecurringChargeAmount(double value) { m_recurringChargeAmountHasBeenSet = true; m_recurringChargeAmount = value; } /** *The amount charged per the period of time specified by the recurring charge * frequency.
*/ inline RecurringCharge& WithRecurringChargeAmount(double value) { SetRecurringChargeAmount(value); return *this;} /** *The frequency at which the recurring charge amount is applied.
*/ inline const Aws::String& GetRecurringChargeFrequency() const{ return m_recurringChargeFrequency; } /** *The frequency at which the recurring charge amount is applied.
*/ inline bool RecurringChargeFrequencyHasBeenSet() const { return m_recurringChargeFrequencyHasBeenSet; } /** *The frequency at which the recurring charge amount is applied.
*/ inline void SetRecurringChargeFrequency(const Aws::String& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = value; } /** *The frequency at which the recurring charge amount is applied.
*/ inline void SetRecurringChargeFrequency(Aws::String&& value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency = std::move(value); } /** *The frequency at which the recurring charge amount is applied.
*/ inline void SetRecurringChargeFrequency(const char* value) { m_recurringChargeFrequencyHasBeenSet = true; m_recurringChargeFrequency.assign(value); } /** *The frequency at which the recurring charge amount is applied.
*/ inline RecurringCharge& WithRecurringChargeFrequency(const Aws::String& value) { SetRecurringChargeFrequency(value); return *this;} /** *The frequency at which the recurring charge amount is applied.
*/ inline RecurringCharge& WithRecurringChargeFrequency(Aws::String&& value) { SetRecurringChargeFrequency(std::move(value)); return *this;} /** *The frequency at which the recurring charge amount is applied.
*/ inline RecurringCharge& WithRecurringChargeFrequency(const char* value) { SetRecurringChargeFrequency(value); return *this;} private: double m_recurringChargeAmount; bool m_recurringChargeAmountHasBeenSet = false; Aws::String m_recurringChargeFrequency; bool m_recurringChargeFrequencyHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws