7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/model/CommitmentLength.h>
21namespace PrivateNetworks
61 inline void SetAutomaticRenewal(
bool value) { m_automaticRenewalHasBeenSet =
true; m_automaticRenewal = value; }
79 bool m_automaticRenewal;
80 bool m_automaticRenewalHasBeenSet =
false;
83 bool m_commitmentLengthHasBeenSet =
false;
AWS_PRIVATENETWORKS_API CommitmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AutomaticRenewalHasBeenSet() const
void SetCommitmentLength(const CommitmentLength &value)
void SetAutomaticRenewal(bool value)
AWS_PRIVATENETWORKS_API CommitmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
CommitmentConfiguration & WithCommitmentLength(const CommitmentLength &value)
bool GetAutomaticRenewal() const
AWS_PRIVATENETWORKS_API CommitmentConfiguration()
bool CommitmentLengthHasBeenSet() const
CommitmentConfiguration & WithAutomaticRenewal(bool value)
CommitmentConfiguration & WithCommitmentLength(CommitmentLength &&value)
void SetCommitmentLength(CommitmentLength &&value)
const CommitmentLength & GetCommitmentLength() const
Aws::Utils::Json::JsonValue JsonValue