7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
44 m_retryAttemptsHasBeenSet =
true;
45 m_retryAttempts = value;
60 m_retryWindowDaysHasBeenSet =
true;
61 m_retryWindowDays = value;
75 template <
typename DowngradeToPlanIdT = Aws::String>
77 m_downgradeToPlanIdHasBeenSet =
true;
78 m_downgradeToPlanId = std::forward<DowngradeToPlanIdT>(value);
80 template <
typename DowngradeToPlanIdT = Aws::String>
87 int m_retryAttempts{0};
89 int m_retryWindowDays{0};
92 bool m_retryAttemptsHasBeenSet =
false;
93 bool m_retryWindowDaysHasBeenSet =
false;
94 bool m_downgradeToPlanIdHasBeenSet =
false;
PaymentFailurePolicy & WithRetryWindowDays(int value)
void SetDowngradeToPlanId(DowngradeToPlanIdT &&value)
PaymentFailurePolicy & WithDowngradeToPlanId(DowngradeToPlanIdT &&value)
bool DowngradeToPlanIdHasBeenSet() const
AWS_APPMONETIZATION_API PaymentFailurePolicy()=default
AWS_APPMONETIZATION_API PaymentFailurePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RetryWindowDaysHasBeenSet() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDowngradeToPlanId() const
bool RetryAttemptsHasBeenSet() const
AWS_APPMONETIZATION_API PaymentFailurePolicy(Aws::Utils::Json::JsonView jsonValue)
void SetRetryWindowDays(int value)
int GetRetryAttempts() const
int GetRetryWindowDays() const
void SetRetryAttempts(int value)
PaymentFailurePolicy & WithRetryAttempts(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue