Map<String, dynamic> toJson() { final encrypted = this.encrypted; final cmkArn = this.cmkArn; return { 'Encrypted': encrypted, if (cmkArn != null) 'CmkArn': cmkArn, }; }