7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/model/EksAnywhereSubscriptionTermUnit.h>
50 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
66 bool m_durationHasBeenSet =
false;
69 bool m_unitHasBeenSet =
false;
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UnitHasBeenSet() const
EksAnywhereSubscriptionTermUnit GetUnit() const
EksAnywhereSubscriptionTerm & WithUnit(EksAnywhereSubscriptionTermUnit value)
AWS_EKS_API EksAnywhereSubscriptionTerm()=default
void SetDuration(int value)
AWS_EKS_API EksAnywhereSubscriptionTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API EksAnywhereSubscriptionTerm(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(EksAnywhereSubscriptionTermUnit value)
bool DurationHasBeenSet() const
EksAnywhereSubscriptionTerm & WithDuration(int value)
EksAnywhereSubscriptionTermUnit
Aws::Utils::Json::JsonValue JsonValue